summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/openstack.scm43
-rw-r--r--gnu/packages/python.scm48
2 files changed, 35 insertions, 56 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 0fa488f8428..947abf31a48 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -20,7 +20,6 @@
20(define-module (gnu packages openstack) 20(define-module (gnu packages openstack)
21 #:use-module (gnu packages python) 21 #:use-module (gnu packages python)
22 #:use-module (gnu packages tls) 22 #:use-module (gnu packages tls)
23 #:use-module (gnu packages version-control)
24 #:use-module (guix build-system python) 23 #:use-module (guix build-system python)
25 #:use-module (guix download) 24 #:use-module (guix download)
26 #:use-module ((guix licenses) 25 #:use-module ((guix licenses)
@@ -235,48 +234,6 @@ tested on Python version 3.2, 2.7 and 2.6.")
235(define-public python2-os-testr 234(define-public python2-os-testr
236 (package-with-python2 python-os-testr)) 235 (package-with-python2 python-os-testr))
237 236
238(define-public python-pbr
239 (package
240 (name "python-pbr")
241 (version "1.8.1")
242 (source
243 (origin
244 (method url-fetch)
245 (uri (string-append
246 "https://pypi.python.org/packages/source/p/pbr/pbr-"
247 version
248 ".tar.gz"))
249 (sha256
250 (base32
251 "0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2"))))
252 (build-system python-build-system)
253 (arguments
254 `(#:tests? #f)) ;; Most tests seem to use the Internet.
255 (propagated-inputs
256 `(("python-testrepository" ,python-testrepository)
257 ("git" ,git))) ;; pbr actually uses the "git" binary.
258 (inputs
259 `(("python-fixtures" ,python-fixtures)
260 ("python-mimeparse" ,python-mimeparse)
261 ("python-mock" ,python-mock)
262 ("python-setuptools" ,python-setuptools)
263 ("python-six" ,python-six)
264 ("python-sphinx" ,python-sphinx)
265 ("python-testrepository" ,python-testrepository)
266 ("python-testresources" ,python-testresources)
267 ("python-testscenarios" ,python-testscenarios)
268 ("python-testtools" ,python-testtools)
269 ("python-virtualenv" ,python-virtualenv)))
270 (home-page "https://launchpad.net/pbr")
271 (synopsis "Change the default behavior of Python’s setuptools")
272 (description
273 "Python Build Reasonableness (PBR) is a library that injects some useful
274and sensible default behaviors into your setuptools run.")
275 (license asl2.0)))
276
277(define-public python2-pbr
278 (package-with-python2 python-pbr))
279
280(define-public python-requests-mock 237(define-public python-requests-mock
281 (package 238 (package
282 (name "python-requests-mock") 239 (name "python-requests-mock")
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 66ed16a543b..414503fad1b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -69,6 +69,7 @@
69 #:use-module (gnu packages texlive) 69 #:use-module (gnu packages texlive)
70 #:use-module (gnu packages texinfo) 70 #:use-module (gnu packages texinfo)
71 #:use-module (gnu packages tls) 71 #:use-module (gnu packages tls)
72 #:use-module (gnu packages version-control)
72 #:use-module (gnu packages web) 73 #:use-module (gnu packages web)
73 #:use-module (gnu packages base) 74 #:use-module (gnu packages base)
74 #:use-module (gnu packages xml) 75 #:use-module (gnu packages xml)
@@ -1875,25 +1876,46 @@ and sensible default behaviors into your setuptools run.")
1875 (package-with-python2 python-pbr-0.11)) 1876 (package-with-python2 python-pbr-0.11))
1876 1877
1877(define-public python-pbr 1878(define-public python-pbr
1878 (package (inherit python-pbr-0.11) 1879 (package
1880 (name "python-pbr")
1879 (version "1.8.1") 1881 (version "1.8.1")
1880 (source 1882 (source
1881 (origin 1883 (origin
1882 (method url-fetch) 1884 (method url-fetch)
1883 (uri (pypi-uri "pbr" version)) 1885 (uri (string-append
1884 (sha256 1886 "https://pypi.python.org/packages/source/p/pbr/pbr-"
1885 (base32 1887 version
1886 "0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2")))) 1888 ".tar.gz"))
1889 (sha256
1890 (base32
1891 "0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2"))))
1887 (build-system python-build-system) 1892 (build-system python-build-system)
1893 (arguments
1894 `(#:tests? #f)) ;; Most tests seem to use the Internet.
1895 (propagated-inputs
1896 `(("python-testrepository" ,python-testrepository)
1897 ("git" ,git))) ;; pbr actually uses the "git" binary.
1888 (inputs 1898 (inputs
1889 `(("python-setuptools" ,python-setuptools) 1899 `(("python-fixtures" ,python-fixtures)
1890 ("python-fixtures" ,python-fixtures) 1900 ("python-mimeparse" ,python-mimeparse)
1891 ("python-pip" ,python-pip))) 1901 ("python-mock" ,python-mock)
1892 (properties `((python2-variant . ,(delay python2-pbr)))))) 1902 ("python-setuptools" ,python-setuptools)
1903 ("python-six" ,python-six)
1904 ("python-sphinx" ,python-sphinx)
1905 ("python-testrepository" ,python-testrepository)
1906 ("python-testresources" ,python-testresources)
1907 ("python-testscenarios" ,python-testscenarios)
1908 ("python-testtools" ,python-testtools)
1909 ("python-virtualenv" ,python-virtualenv)))
1910 (home-page "https://launchpad.net/pbr")
1911 (synopsis "Change the default behavior of Python’s setuptools")
1912 (description
1913 "Python Build Reasonableness (PBR) is a library that injects some useful
1914and sensible default behaviors into your setuptools run.")
1915 (license asl2.0)))
1893 1916
1894(define-public python2-pbr 1917(define-public python2-pbr
1895 (package (inherit (package-with-python2 1918 (package-with-python2 python-pbr))
1896 (strip-python2-variant python-pbr)))))
1897 1919
1898(define-public python-fixtures 1920(define-public python-fixtures
1899 (package 1921 (package