[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1.
From: |
Hartmut Goebel |
Subject: |
[bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1. |
Date: |
Fri, 22 Jul 2022 16:02:27 +0200 |
* gnu/packages/openstack.scm (python-keystoneauth1): New variable.
---
gnu/packages/openstack.scm | 60 ++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 7b0c96d11c..b791c1c076 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -724,6 +724,66 @@ functions, such as encoding, exception handling, string
manipulation, and time
handling.")
(license asl2.0)))
+(define-public python-keystoneauth1
+ (package
+ (name "python-keystoneauth1")
+ (version "5.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "keystoneauth1" version))
+ (sha256
+ (base32
+ "08s36dqxrxqx37sdl28cr7fx2iwr8wfxaa53hwq2dzcx9h25zfvf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ (("hacking[<>!=].*") "hacking\n")
+ ;; unused, code-quality checks only
+ (("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)))))
+ (add-before 'check 'check-setup
+ (lambda _
+ ;; remove code-quality checks
+ (delete-file "keystoneauth1/tests/unit/test_hacking_checks.py")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "stestr" "run")))))))
+ (propagated-inputs (list python-iso8601
+ python-os-service-types
+ python-requests
+ python-six
+ python-stevedore))
+ (native-inputs (list python-betamax
+ python-fixtures
+ python-hacking
+ python-lxml
+ python-oauthlib
+ python-oslo.config
+ python-oslo.utils
+ python-oslotest
+ python-pbr
+ python-pyyaml
+ python-requests-kerberos
+ python-requests-mock
+ python-stestr
+ python-testresources
+ python-testtools))
+ (home-page "https://docs.openstack.org/keystoneauth/latest/")
+ (synopsis "Authentication Library for OpenStack Identity")
+ (description "Keystoneauth provides a standard way to do authentication
+and service requests within the OpenStack ecosystem. It is designed for use
+in conjunction with the existing OpenStack clients and for simplifying the
+process of writing new clients.")
+ (license asl2.0)))
+
(define-public python-keystoneclient
(package
(name "python-keystoneclient")
--
2.30.4
- [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache., (continued)
- [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 04/19] gnu: Add python-statsd., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 14/19] gnu: python-oslo.log: Update to 5.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1.,
Hartmut Goebel <=
- [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 10/19] gnu: Add python-tempest., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0., Hartmut Goebel, 2022/07/22