gnu: python-os-service-types: Update to 1.8.0. * gnu/packages/openstack.scm (python-os-service-types): Update to 1.8.0. [source]: Also improve style. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Add phases 'check and 'relax-requirements. [native-inputs]: Replace python-pbr by python-pbr-next. Add python-keystoneauth1, python-oslotest, python-pbr-next, python-requests-mock, python-setuptools, python-stestr, python-testscenarios, python-wheel. Change-Id: Iad9a3fa79ef7f345affe36d0f801582da33a7bfb Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 29 insertions(+), 12 deletions(-) M gnu/packages/openstack.scm
M gnu/packages/openstack.scm => gnu/packages/openstack.scm +29 -12
@@ 251,19 251,36 @@ to docs.openstack.org and developer.openstack.org.") (define-public python-os-service-types (package (name "python-os-service-types") (version "1.7.0") (source (origin (method url-fetch) (uri (pypi-uri "os-service-types" version)) (sha256 (base32 "0v4chwr5jykkvkv4w7iaaic7gb06j6ziw7xrjlwkcf92m2ch501i")))) (build-system python-build-system) (version "1.8.0") (source (origin (method url-fetch) (uri (pypi-uri "os_service_types" version)) (sha256 (base32 "0gk0lgg862pwpisjz36jlrnr5ij75c8ja01znb1398rc2d7yf349")))) (build-system pyproject-build-system) (arguments ;; The tests are disabled to avoid a circular dependency with ;; python-keystoneauth1. `(#:tests? #f)) (native-inputs (list python-pbr)) (list #:phases #~(modify-phases %standard-phases (add-after 'unpack 'relax-requirements (lambda _ (substitute* "test-requirements.txt" (("(coverage|hacking).*") "")))) (replace 'check (lambda* (#:key tests? test-flags #:allow-other-keys) (when tests? (apply invoke "stestr" "run" test-flags))))))) (native-inputs (list python-keystoneauth1 python-oslotest python-pbr-next python-requests-mock python-setuptools python-stestr python-testscenarios python-wheel)) (home-page "https://docs.openstack.org/os-service-types/latest/") (synopsis "Library for consuming OpenStack Service Types Authority data") (description "The @emph{OpenStack Service Types Authority} contains