mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-dm-tree: Update to 0.1.9.
* gnu/packages/python-xyz.scm (python-dm-tree): Update to 0.1.9. [propagated-inputs]: Remove python-wheel. [native-inputs]: Add python-setuptools. Change-Id: Id9250c9bfa963f0275b62da75817f555b50bf544
This commit is contained in:
parent
3785994edf
commit
1580aa5ae2
1 changed files with 23 additions and 15 deletions
|
@ -8515,25 +8515,19 @@ browser.")
|
||||||
(define-public python-dm-tree
|
(define-public python-dm-tree
|
||||||
(package
|
(package
|
||||||
(name "python-dm-tree")
|
(name "python-dm-tree")
|
||||||
(version "0.1.8")
|
(version "0.1.9")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "dm-tree" version))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (pypi-uri "dm_tree" version))
|
||||||
(base32 "0c4l9gpaqd7j34qwnpjibv53j9sm0nyl0wcy8dvh76772jxspjhg"))))
|
(sha256
|
||||||
|
(base32 "0arlspn0122igcz5sq6lqrw6zkdhqqkgr0xkwkas599m74yxpix4"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
;; We link the static abseil libraries here to avoid problems in
|
|
||||||
;; downstream libraries using potentially different variants of
|
|
||||||
;; abseil-cpp. This is also what's done in the upstream CMake build.
|
|
||||||
(inputs (list pybind11 static-abseil-cpp python))
|
|
||||||
(propagated-inputs (list python-wheel
|
|
||||||
python-absl-py
|
|
||||||
python-attrs
|
|
||||||
python-numpy
|
|
||||||
python-wrapt))
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
|
;; TODO: Build against shared libraries with USE_SYSTEM_ABSEIL=true
|
||||||
|
;; and USE_SYSTEM_PYBIND11=true.
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'build 'build-shared-lib
|
(add-before 'build 'build-shared-lib
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -8574,6 +8568,20 @@ browser.")
|
||||||
(string-append abseil-cpp "/lib/libabsl_strings_internal.a")
|
(string-append abseil-cpp "/lib/libabsl_strings_internal.a")
|
||||||
(string-append abseil-cpp "/lib/libabsl_throw_delegate.a")
|
(string-append abseil-cpp "/lib/libabsl_throw_delegate.a")
|
||||||
"-o" "build/lib/tree/_tree.so")))))))
|
"-o" "build/lib/tree/_tree.so")))))))
|
||||||
|
;; We link the static abseil libraries here to avoid problems in
|
||||||
|
;; downstream libraries using potentially different variants of
|
||||||
|
;; abseil-cpp. This is also what's done in the upstream CMake build.
|
||||||
|
(native-inputs
|
||||||
|
(list python-setuptools))
|
||||||
|
(inputs
|
||||||
|
(list pybind11
|
||||||
|
static-abseil-cpp
|
||||||
|
python))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-absl-py
|
||||||
|
python-attrs
|
||||||
|
python-numpy
|
||||||
|
python-wrapt))
|
||||||
(home-page "https://github.com/deepmind/tree")
|
(home-page "https://github.com/deepmind/tree")
|
||||||
(synopsis "Work with nested data structures in Python")
|
(synopsis "Work with nested data structures in Python")
|
||||||
(description "Tree is a python library for working with nested data
|
(description "Tree is a python library for working with nested data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue