gnu: python-swiftclient: Update to 4.0.1.

* gnu/packages/openstack.scm (python-swiftclient): Update to 4.0.1.
  [arguments]<phases>{relax-requirements}: New phase.
  [arguments]<phases>{check}: New phase.
  [propagated-inputs]: Remove python-six.
  [native-inputs]: Remove python-pbr, python-sphinx, python-coverage,
  python-discover, python-hacking, python-mock, python-oslosphinx,
  python-testrepository, and python-testtools; add python-keystoneauth1,
  python-openstacksdk, and python-stestr.
This commit is contained in:
Hartmut Goebel 2022-07-21 20:47:50 +02:00
parent 6937cea199
commit ead37cb685
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -917,29 +917,31 @@ (define-public python-keystoneclient
(define-public python-swiftclient
(package
(name "python-swiftclient")
(version "2.6.0")
(version "4.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-swiftclient" version))
(sha256
(base32
"1j33l4z9vqh0scfncl4fxg01zr1hgqxhhai6gvcih1gccqm4nd7p"))))
"1zwb4zcln454fzcnbwqhyzxb68wrsr1i2vvvrn5c7yy5k4vcfs1v"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(add-before 'check 'relax-requirements
(lambda _
(delete-file "test-requirements.txt")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "stestr" "run")))))))
(native-inputs
(list python-pbr
python-sphinx
;; The folloing packages are needed for the tests.
python-coverage
python-discover
python-hacking
python-mock
python-oslosphinx
python-keystoneclient
python-testrepository
python-testtools))
(list python-keystoneclient
python-keystoneauth1
python-openstacksdk
python-stestr))
(propagated-inputs
(list python-requests python-six))
(list python-requests))
(home-page "https://www.openstack.org/")
(synopsis "OpenStack Object Storage API Client Library")
(description