mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-debtcollector: Improve package.
* gnu/packages/openstack.scm (python-debtcollector): [arguments]<#:phases>: Add phase 'relax-requirements. [native-inputs]: Remove python-doc8, python-openstackdocstheme, python-reno. Change-Id: Ia4556fec88a47da787e42fb508e71f6e09028c38 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
a1af979ffc
commit
3f8b707972
1 changed files with 13 additions and 10 deletions
|
@ -113,20 +113,23 @@ formatters, and other extensions.")
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "debtcollector" version))
|
(uri (pypi-uri "debtcollector" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0vzarkvjclci98d8lvkix6qj59f7rxp1qg2x6q6is7qfbg91g29a"))
|
(base32 "0vzarkvjclci98d8lvkix6qj59f7rxp1qg2x6q6is7qfbg91g29a"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet #~(begin
|
|
||||||
(substitute* "test-requirements.txt"
|
|
||||||
(("^(coverage|hacking|pre-commit).*")
|
|
||||||
""))))))
|
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test-requirements.txt"
|
||||||
|
(("^(coverage|hacking|pre-commit|reno).*")
|
||||||
|
"")
|
||||||
|
(("^(doc8|sphinx|openstackdocstheme).*")
|
||||||
|
"")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-pbr python-wrapt))
|
(list python-pbr python-wrapt))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-doc8
|
(list python-fixtures
|
||||||
python-fixtures
|
|
||||||
python-openstackdocstheme
|
|
||||||
python-reno
|
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-stestr
|
python-stestr
|
||||||
python-testtools
|
python-testtools
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue