[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/11] gnu: Add oslo.i18n.
From: |
Cyril Roelandt |
Subject: |
[PATCH 03/11] gnu: Add oslo.i18n. |
Date: |
Thu, 16 Jul 2015 01:32:23 +0200 |
* gnu/packages/python.scm (python-testools): turn python-fixtures and
python-testtools into propagated inputs.
* gnu/packages/openstack.scm (python-oslo.i18n, python2-oslo.i18n): New
variables.
---
gnu/packages/openstack.scm | 34 ++++++++++++++++++++++++++++++++++
gnu/packages/python.scm | 5 +++--
2 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index a02f4f0..9536578 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -140,6 +140,40 @@ into your setuptools run.")
(package-with-python2 python-pbr))
;; Packages from the Oslo library
+(define-public python-oslo.i18n
+ (package
+ (name "python-oslo.i18n")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/o/oslo.i18n/oslo.i18n-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0762dwhaswqqkg5qff11cd4y4b8vbh4qrqh9bd24cv8h75ay2f0s"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-babel" ,python-babel)))
+ (inputs
+ `(("python-pbr" ,python-pbr)
+ ("python-setuptools" ,python-setuptools)
+ ("python-six" ,python-six)
+ ;; Tests
+ ("python-mock" ,python-mock)
+ ("python-mox3" ,python-mox3)
+ ("python-oslotest" ,python-oslotest)
+ ("python-testscenarios" ,python-testscenarios)))
+ (home-page "http://launchpad.net/oslo")
+ (synopsis "Oslo i18n library")
+ (description "Oslo i18n library")
+ (license asl2.0)))
+
+(define-public python2-oslo.i18n
+ (package-with-python2 python-oslo.i18n))
+
(define-public python-oslotest
(package
(name "python-oslotest")
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index feb0575..dde487c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1459,11 +1459,12 @@ Python tests.")
(base32
"1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m"))))
(build-system python-build-system)
+ (propagated-inputs
+ `(("python-fixtures" ,python-fixtures)
+ ("python-testtools" ,python-testtools)))
(inputs
`(("python-setuptools" ,python-setuptools)
- ("python-testtools" ,python-testtools)
("python-subunit" ,python-subunit)
- ("python-fixtures" ,python-fixtures)
("python-mimeparse" ,python-mimeparse)))
(home-page "https://launchpad.net/testrepository")
(synopsis "Database for Python test results")
--
2.1.4
- [PATCH 00/11] Add a few modules from the Oslo library., Cyril Roelandt, 2015/07/15
- [PATCH 01/11] gnu: Bump python-six to 1.9.0., Cyril Roelandt, 2015/07/15
- [PATCH 03/11] gnu: Add oslo.i18n.,
Cyril Roelandt <=
- [PATCH 02/11] gnu: Add oslotest., Cyril Roelandt, 2015/07/15
- Re: [PATCH 02/11] gnu: Add oslotest., Mathieu Lirzin, 2015/07/16
- Re: [PATCH 02/11] gnu: Add oslotest., Thompson, David, 2015/07/20
- Re: [PATCH 02/11] gnu: Add oslotest., Cyril Roelandt, 2015/07/22
- Re: [PATCH 02/11] gnu: Add oslotest., Ian Denhardt, 2015/07/22
- Re: [PATCH 02/11] gnu: Add oslotest., Thompson, David, 2015/07/22
- Re: [PATCH 02/11] gnu: Add oslotest., Ludovic Courtès, 2015/07/23
- Re: [PATCH 02/11] gnu: Add oslotest., Cyril Roelandt, 2015/07/23
- Re: [PATCH 02/11] gnu: Add oslotest., Thompson, David, 2015/07/23