mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-bidict: Update to 0.23.1.
* gnu/packages/python-xyz.scm (python-bidict): Update to 0.23.1. [source]: Fetch from GitHub. [build-system]: Use pyproject-build-system. [native-inputs]: Remove python-coverage, python-hypothesis, python-py, python-pytest-cov, python-setuptools-scm, python-sortedcontainers, python-sphinx, python-sphinx-autodoc-typehints, python-tox. Add python-pytest-xdist, python-setuptools, python-wheel. [arguments]: Delete phase 'relax-reqs'. Do not override the 'check' phase. Change-Id: I518f1d1212781e8c3eaa12e760dfad66638e811c
This commit is contained in:
parent
2cd0016328
commit
efc99eaed9
1 changed files with 12 additions and 25 deletions
|
@ -3785,37 +3785,24 @@ etc.")
|
|||
(define-public python-bidict
|
||||
(package
|
||||
(name "python-bidict")
|
||||
(version "0.21.2")
|
||||
(version "0.23.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "bidict" version))
|
||||
(method git-fetch) ; no tests in PyPI.
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jab/bidict")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "1qsbxjjsrks3icyq19afr5y47zdrfb0cvaadpprgcszq2ilihkaq"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-coverage
|
||||
python-hypothesis
|
||||
python-py
|
||||
python-pytest
|
||||
(list python-pytest
|
||||
python-pytest-benchmark
|
||||
python-pytest-cov
|
||||
python-setuptools-scm
|
||||
python-pytest-xdist
|
||||
python-setuptools
|
||||
python-sortedcollections
|
||||
python-sortedcontainers
|
||||
python-sphinx
|
||||
python-sphinx-autodoc-typehints
|
||||
python-tox))
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-reqs
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("sortedcollections < 2") "sortedcollections"))
|
||||
#t))
|
||||
(replace 'check
|
||||
(lambda _ (invoke "./run_tests.py"))))))
|
||||
python-wheel))
|
||||
(home-page "https://bidict.readthedocs.io")
|
||||
(synopsis "Bidirectional mapping library")
|
||||
(description "The @code{bidict} library provides several data structures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue