mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-bson: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-bson)[build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest and python-setuptools. Change-Id: I66e4fcd4cbaef2a32f76a2161dfa08fcedabebae
This commit is contained in:
parent
89011bac02
commit
25b6f94a08
1 changed files with 7 additions and 9 deletions
|
@ -24770,15 +24770,13 @@ pytest-fixtures-style dependency injection.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vpy4rsvm3hhawvbg9rbw4j36ck8qylkhm8cjy0q6imvinkd2als"))))
|
"1vpy4rsvm3hhawvbg9rbw4j36ck8qylkhm8cjy0q6imvinkd2als"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
'(#:phases
|
(list python-pytest
|
||||||
(modify-phases %standard-phases
|
python-setuptools))
|
||||||
(replace 'check
|
(propagated-inputs
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(list python-dateutil
|
||||||
(when tests?
|
python-six))
|
||||||
(invoke "./test.py")))))))
|
|
||||||
(propagated-inputs (list python-dateutil python-six))
|
|
||||||
(home-page "https://github.com/py-bson/bson")
|
(home-page "https://github.com/py-bson/bson")
|
||||||
(synopsis "BSON (Binary JSON) codec for Python")
|
(synopsis "BSON (Binary JSON) codec for Python")
|
||||||
(description "@code{bson} is a Python library implementing a BSON (Binary
|
(description "@code{bson} is a Python library implementing a BSON (Binary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue