Archived
1
0
Fork 0

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 @@ LDAP.")
(define-public python-swiftclient (define-public python-swiftclient
(package (package
(name "python-swiftclient") (name "python-swiftclient")
(version "2.6.0") (version "4.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-swiftclient" version)) (uri (pypi-uri "python-swiftclient" version))
(sha256 (sha256
(base32 (base32
"1j33l4z9vqh0scfncl4fxg01zr1hgqxhhai6gvcih1gccqm4nd7p")))) "1zwb4zcln454fzcnbwqhyzxb68wrsr1i2vvvrn5c7yy5k4vcfs1v"))))
(build-system python-build-system) (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 (native-inputs
(list python-pbr (list python-keystoneclient
python-sphinx python-keystoneauth1
;; The folloing packages are needed for the tests. python-openstacksdk
python-coverage python-stestr))
python-discover
python-hacking
python-mock
python-oslosphinx
python-keystoneclient
python-testrepository
python-testtools))
(propagated-inputs (propagated-inputs
(list python-requests python-six)) (list python-requests))
(home-page "https://www.openstack.org/") (home-page "https://www.openstack.org/")
(synopsis "OpenStack Object Storage API Client Library") (synopsis "OpenStack Object Storage API Client Library")
(description (description