[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/19: gnu: Add python-oslo.concurrency.
From: |
guix-commits |
Subject: |
06/19: gnu: Add python-oslo.concurrency. |
Date: |
Wed, 10 Aug 2022 03:52:22 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit 122bedf2fd843571f11ad68d33735a2a9b21af8a
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Wed Jul 20 18:46:50 2022 +0200
gnu: Add python-oslo.concurrency.
* gnu/packages/openstack.scm (python-oslo.concurrency): New variable.
---
gnu/packages/openstack.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index e132f70832..df78526175 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -388,6 +388,50 @@ common features used in Tempest.")
;;; Packages from the Oslo library
;;;
+(define-public python-oslo.concurrency
+ (package
+ (name "python-oslo.concurrency")
+ (version "5.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "oslo.concurrency" version))
+ (sha256
+ (base32
+ "0zl9wyxvs69i78wja5c3cacd6gadk8cc8ggy2ips0wlakxp98ilz"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ (("hacking[<>!=]" line) (string-append "# " line))
+ (("coverage[<>!=]" line) (string-append "# " line))
+ (("bandit[<>!=]" line) (string-append "# " line))
+ (("pre-commit[<>!=]" line) (string-append "# " line)))))
+ (add-before 'check 'fix-tests
+ (lambda _
+ (substitute* "oslo_concurrency/tests/unit/test_processutils.py"
+ (("#!/bin/bash") (string-append "#!" (which "bash")))
+ (("#!/bin/sh") (string-append "#!" (which "sh")))
+ (("'/usr/bin/env'") (string-append "'" (which "env") "'"))
+ (("'/usr/bin/env ") (string-append "'" (which "env") " "))
+ (("'/bin/true'") (string-append "'" (which "true") "'"))))))))
+ (native-inputs (list python-pbr
+ ;; for tests:
+ python-oslotest
+ python-fixtures
+ python-stestr
+ python-eventlet))
+ (propagated-inputs (list python-fasteners python-oslo.config
+ python-oslo.i18n python-oslo.utils))
+ (home-page "https://docs.openstack.org/oslo.concurrency/latest/")
+ (synopsis "Oslo Concurrency library")
+ (description "The Oslo Concurrency Library provides utilities for safely
+running multi-thread, multi-process applications using locking mechanisms and
+for running external processes.")
+ (license asl2.0)))
+
(define-public python-oslo.config
(package
(name "python-oslo.config")
- 03/19: gnu: Add python-dogpile.cache., (continued)
- 03/19: gnu: Add python-dogpile.cache., guix-commits, 2022/08/10
- 02/19: gnu: Add python-requests-kerberos., guix-commits, 2022/08/10
- 01/19: gnu: python-stestr: Update to 3.2.1., guix-commits, 2022/08/10
- 07/19: gnu: Add python-keystoneauth1., guix-commits, 2022/08/10
- 08/19: gnu: Add python-requestsexceptions., guix-commits, 2022/08/10
- 14/19: gnu: python-oslo.log: Update to 5.0.0., guix-commits, 2022/08/10
- 04/19: gnu: Add python-statsd., guix-commits, 2022/08/10
- 09/19: gnu: Add python-openstacksdk., guix-commits, 2022/08/10
- 05/19: gnu: Add python-os-service-types., guix-commits, 2022/08/10
- 10/19: gnu: Add python-tempest., guix-commits, 2022/08/10
- 06/19: gnu: Add python-oslo.concurrency.,
guix-commits <=
- 11/19: gnu: python-keystoneclient: Update to 5.0.0., guix-commits, 2022/08/10
- 15/19: gnu: python-tempest-lib: Update to 1.0.0., guix-commits, 2022/08/10
- 16/19: gnu: python-pyjwt: Update to 2.4.0., guix-commits, 2022/08/10
- 12/19: gnu: python-munch: Update to 2.5.0., guix-commits, 2022/08/10
- 17/19: gnu: python-swiftclient: Update to 4.0.1., guix-commits, 2022/08/10
- 18/19: gnu: python-pygithub: Update to 1.55., guix-commits, 2022/08/10
- 19/19: gnu: conan: Update to 1.50.0., guix-commits, 2022/08/10
- 13/19: gnu: python-oslo.context: Update to 5.0.0., guix-commits, 2022/08/10