gnu: python-dm-tree: Update to 0.1.8.

* gnu/packages/python-xyz.scm (python-dm-tree): Update to 0.1.8.
[build-system]: Use pyproject-build-system.
[arguments]: Link with absl_strings_internal and use --whole-archive.

Change-Id: I763b01c24082ce1d6a0f4ffd518cfde221b28e72
This commit is contained in:
Ricardo Wurmus 2023-10-27 15:18:50 +02:00
parent eeb7f88934
commit 8a7860d9d8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5819,13 +5819,13 @@ (define-public autokey
(define-public python-dm-tree (define-public python-dm-tree
(package (package
(name "python-dm-tree") (name "python-dm-tree")
(version "0.1.7") (version "0.1.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "dm-tree" version)) (uri (pypi-uri "dm-tree" version))
(sha256 (sha256
(base32 "0apxfxgmqh22qpk92zmmf3acqkavhwxz78lnwz026a5rlnncizih")))) (base32 "0c4l9gpaqd7j34qwnpjibv53j9sm0nyl0wcy8dvh76772jxspjhg"))))
(build-system python-build-system) (build-system pyproject-build-system)
(inputs (list pybind11 abseil-cpp python)) (inputs (list pybind11 abseil-cpp python))
(propagated-inputs (list python-wheel (propagated-inputs (list python-wheel
python-absl-py python-absl-py
@ -5867,13 +5867,16 @@ (define-public python-dm-tree
(string-append "-Wl," "-rpath=" python "/lib") (string-append "-Wl," "-rpath=" python "/lib")
"-fno-semantic-interposition" "-fno-semantic-interposition"
"build/temp/tree/tree.o" "build/temp/tree/tree.o"
"-Wl,--whole-archive"
"-L" (string-append python "/lib") "-L" (string-append python "/lib")
"-L" (string-append abseil-cpp "/lib") "-L" (string-append abseil-cpp "/lib")
"-l" "absl_int128" "-l" "absl_int128"
"-l" "absl_raw_hash_set" "-l" "absl_raw_hash_set"
"-l" "absl_raw_logging_internal" "-l" "absl_raw_logging_internal"
"-l" "absl_strings" "-l" "absl_strings"
"-l" "absl_strings_internal"
"-l" "absl_throw_delegate" "-l" "absl_throw_delegate"
"-Wl,--no-whole-archive"
"-o" "build/lib/tree/_tree.so"))))))) "-o" "build/lib/tree/_tree.so")))))))
(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")