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)
|
||||
(uri (pypi-uri "debtcollector" version))
|
||||
(sha256
|
||||
(base32 "0vzarkvjclci98d8lvkix6qj59f7rxp1qg2x6q6is7qfbg91g29a"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet #~(begin
|
||||
(substitute* "test-requirements.txt"
|
||||
(("^(coverage|hacking|pre-commit).*")
|
||||
""))))))
|
||||
(base32 "0vzarkvjclci98d8lvkix6qj59f7rxp1qg2x6q6is7qfbg91g29a"))))
|
||||
(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
|
||||
(list python-pbr python-wrapt))
|
||||
(native-inputs
|
||||
(list python-doc8
|
||||
python-fixtures
|
||||
python-openstackdocstheme
|
||||
python-reno
|
||||
(list python-fixtures
|
||||
python-setuptools
|
||||
python-stestr
|
||||
python-testtools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue