Archived
1
0
Fork 0

gnu: python-keystoneclient: Update to 5.0.0.

* gnu/packages/openstack.scm (python-keystoneclient): Update to 5.0.0.
  [arguments]<phases>{relax-requirements}: New phase.
  [propagated-inputs]: Remove python-pbr; add python-keystoneauth1.
  [native-inputs]: Adjust to new style. Remove python-sphinx, python-coverage,
  python-discover, python-hacking, python-mox3, python-oslosphinx,
  python-pycrypto, python-testrepository, and python-webob; add python-pbr,
  python-stestr, and python-testscenarios.
This commit is contained in:
Hartmut Goebel 2022-07-20 21:49:40 +02:00
parent b08a3554a4
commit d2dd9d1d26
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -848,49 +848,53 @@ process of writing new clients.")
(define-public python-keystoneclient (define-public python-keystoneclient
(package (package
(name "python-keystoneclient") (name "python-keystoneclient")
(version "1.8.1") (version "5.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-keystoneclient" version)) (uri (pypi-uri "python-keystoneclient" version))
(sha256 (sha256
(base32 (base32
"1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4")))) "0gza5fx3xl3l6vrc6pnhbzhipz1fz9h98kwxqp7mmd90pwrxll0g"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:tests? #f)) ; FIXME: Many tests are failing. '(#:tests? #f ; FIXME: Many tests are failing.
#:phases (modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "test-requirements.txt"
;; unused, code-quality checks only
(("hacking[<>!=]" line) (string-append "# " line))
(("flake8-.*[<>!=]" line) (string-append "# " line))
(("pycodestyle[<>!=]" line) (string-append "# " line))
(("bandit[<>!=]" line) (string-append "# " line))
(("coverage[<>!=]" line) (string-append "# " line))
(("reno[<>!=]" line) (string-append "# " line))))))))
(native-inputs (native-inputs
`(("python-sphinx" ,python-sphinx) (list openssl
;; and some packages for the tests python-fixtures
("openssl" ,openssl) python-keyring
("python-coverage" ,python-coverage) python-lxml
("python-discover" ,python-discover) python-mock
("python-fixtures" ,python-fixtures) python-oauthlib
("python-hacking" ,python-hacking) python-oslotest
("python-keyring" ,python-keyring) python-pbr
("python-lxml" ,python-lxml) python-requests-mock
("python-mock" ,python-mock) python-stestr
("python-mox3" ,python-mox3) python-tempest-lib
("python-oauthlib" ,python-oauthlib) python-testresources
("python-oslosphinx" ,python-oslosphinx) python-testscenarios
("python-oslotest" ,python-oslotest) python-testtools))
("python-pycrypto" ,python-pycrypto)
("python-requests-mock" ,python-requests-mock)
("python-temptest-lib" ,python-tempest-lib)
("python-testrepository" ,python-testrepository)
("python-testresources" ,python-testresources)
("python-testtools" ,python-testtools)
("python-webob" ,python-webob)))
(propagated-inputs (propagated-inputs
(list python-babel (list python-babel
python-debtcollector python-debtcollector
python-iso8601 python-iso8601
python-keystoneauth1
python-netaddr python-netaddr
python-oslo.config python-oslo.config
python-oslo.i18n python-oslo.i18n
python-oslo.serialization python-oslo.serialization
python-oslo.utils python-oslo.utils
python-pbr
python-prettytable python-prettytable
python-requests python-requests
python-six python-six