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