diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2016-04-03 21:09:17 +1000 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2016-04-03 21:09:17 +1000 |
commit | e25f017422899c3e43cf42e254f46053bf4c4243 (patch) | |
tree | d42dbc0e277ed3ae65c2103aceea792da2d390f4 /gnu/packages | |
parent | 692add53bcde80359c20ce17ae7b86aea18f5a21 (diff) | |
download | guix-e25f017422899c3e43cf42e254f46053bf4c4243.tar.gz |
gnu: Remove duplicate python-pbr.
This is a follow-up to commit 1ef09c0c75c61fd70a84667a845a652995b38a94. * gnu/packages/openstack.scm (python-pbr, python2-pbr): Move from here ... * gnu/packages/python.scm: ... to here. (python-pbr, python2-pbr): Delete duplicate packages.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/openstack.scm | 43 | ||||
-rw-r--r-- | gnu/packages/python.scm | 48 |
2 files changed, 35 insertions, 56 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 0fa488f842..947abf31a4 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -20,7 +20,6 @@ (define-module (gnu packages openstack) #:use-module (gnu packages python) #:use-module (gnu packages tls) - #:use-module (gnu packages version-control) #:use-module (guix build-system python) #:use-module (guix download) #:use-module ((guix licenses) @@ -235,48 +234,6 @@ tested on Python version 3.2, 2.7 and 2.6.") (define-public python2-os-testr (package-with-python2 python-os-testr)) -(define-public python-pbr - (package - (name "python-pbr") - (version "1.8.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/p/pbr/pbr-" - version - ".tar.gz")) - (sha256 - (base32 - "0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2")))) - (build-system python-build-system) - (arguments - `(#:tests? #f)) ;; Most tests seem to use the Internet. - (propagated-inputs - `(("python-testrepository" ,python-testrepository) - ("git" ,git))) ;; pbr actually uses the "git" binary. - (inputs - `(("python-fixtures" ,python-fixtures) - ("python-mimeparse" ,python-mimeparse) - ("python-mock" ,python-mock) - ("python-setuptools" ,python-setuptools) - ("python-six" ,python-six) - ("python-sphinx" ,python-sphinx) - ("python-testrepository" ,python-testrepository) - ("python-testresources" ,python-testresources) - ("python-testscenarios" ,python-testscenarios) - ("python-testtools" ,python-testtools) - ("python-virtualenv" ,python-virtualenv))) - (home-page "https://launchpad.net/pbr") - (synopsis "Change the default behavior of Python’s setuptools") - (description - "Python Build Reasonableness (PBR) is a library that injects some useful -and sensible default behaviors into your setuptools run.") - (license asl2.0))) - -(define-public python2-pbr - (package-with-python2 python-pbr)) - (define-public python-requests-mock (package (name "python-requests-mock") diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 66ed16a543..414503fad1 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -69,6 +69,7 @@ #:use-module (gnu packages texlive) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages base) #:use-module (gnu packages xml) @@ -1875,25 +1876,46 @@ and sensible default behaviors into your setuptools run.") (package-with-python2 python-pbr-0.11)) (define-public python-pbr - (package (inherit python-pbr-0.11) + (package + (name "python-pbr") (version "1.8.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "pbr" version)) - (sha256 - (base32 - "0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2")))) + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/pbr/pbr-" + version + ".tar.gz")) + (sha256 + (base32 + "0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2")))) (build-system python-build-system) + (arguments + `(#:tests? #f)) ;; Most tests seem to use the Internet. + (propagated-inputs + `(("python-testrepository" ,python-testrepository) + ("git" ,git))) ;; pbr actually uses the "git" binary. (inputs - `(("python-setuptools" ,python-setuptools) - ("python-fixtures" ,python-fixtures) - ("python-pip" ,python-pip))) - (properties `((python2-variant . ,(delay python2-pbr)))))) + `(("python-fixtures" ,python-fixtures) + ("python-mimeparse" ,python-mimeparse) + ("python-mock" ,python-mock) + ("python-setuptools" ,python-setuptools) + ("python-six" ,python-six) + ("python-sphinx" ,python-sphinx) + ("python-testrepository" ,python-testrepository) + ("python-testresources" ,python-testresources) + ("python-testscenarios" ,python-testscenarios) + ("python-testtools" ,python-testtools) + ("python-virtualenv" ,python-virtualenv))) + (home-page "https://launchpad.net/pbr") + (synopsis "Change the default behavior of Python’s setuptools") + (description + "Python Build Reasonableness (PBR) is a library that injects some useful +and sensible default behaviors into your setuptools run.") + (license asl2.0))) (define-public python2-pbr - (package (inherit (package-with-python2 - (strip-python2-variant python-pbr))))) + (package-with-python2 python-pbr)) (define-public python-fixtures (package |