guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

17/19: gnu: python-swiftclient: Update to 4.0.1.


From: guix-commits
Subject: 17/19: gnu: python-swiftclient: Update to 4.0.1.
Date: Wed, 10 Aug 2022 03:52:24 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit ead37cb68557f40823fed8f932ddf051261e2438
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Thu Jul 21 20:47:50 2022 +0200

    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.
---
 gnu/packages/openstack.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 844f535286..dd13404c87 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -917,29 +917,31 @@ LDAP.")
 (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]