summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm48
1 files changed, 35 insertions, 13 deletions
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