mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-oslo-log: Switch to pyproject.
* gnu/packages/openstack.scm (python-oslo-log): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace 'check phase. [propagated-inputs]: Remove python-debtcollector, python-pbr. Replace python-oslo-i18n by its -bootstrap variant. [native-inputs]: Add python-setuptools, python-wheel. Replace python-oslotest by its -bootstrap variant. Replace python-pbr by its -next variant. Change-Id: I4dfce8a729a545c7979b18b26ce6257d717a9515 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
4a7e5dd9e0
commit
c84a67e449
1 changed files with 16 additions and 14 deletions
|
@ -742,31 +742,33 @@ in an application or library.")
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "oslo_log" version))
|
(uri (pypi-uri "oslo_log" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1siw60x15ysfbf88hiisdn556y4anixj3clciky4xcwsiz8a6gwn"))))
|
||||||
"1siw60x15ysfbf88hiisdn556y4anixj3clciky4xcwsiz8a6gwn"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||||
(when tests? (invoke "stestr" "run")))))))
|
(when tests?
|
||||||
|
(apply invoke "stestr" "run" test-flags)))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-dateutil
|
(list python-dateutil
|
||||||
python-debtcollector
|
|
||||||
python-oslo-config
|
python-oslo-config
|
||||||
python-oslo-context
|
python-oslo-context
|
||||||
python-oslo-i18n
|
python-oslo-i18n-bootstrap
|
||||||
python-oslo-serialization
|
python-oslo-serialization
|
||||||
python-oslo-utils
|
python-oslo-utils))
|
||||||
python-pbr))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coverage
|
(list python-coverage
|
||||||
python-eventlet
|
python-eventlet
|
||||||
python-fixtures
|
python-fixtures
|
||||||
python-oslotest
|
python-oslotest-bootstrap
|
||||||
python-pbr
|
python-pbr-next
|
||||||
|
python-setuptools
|
||||||
python-stestr
|
python-stestr
|
||||||
python-testtools))
|
python-testtools
|
||||||
|
python-wheel))
|
||||||
(home-page "https://launchpad.net/oslo")
|
(home-page "https://launchpad.net/oslo")
|
||||||
(synopsis "Python logging library of the Oslo project")
|
(synopsis "Python logging library of the Oslo project")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue