mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 12:09:15 -05:00
gnu: Add python-pbr.
* gnu/packages/python.scm (python-pbr, python2-pbr): New variables.
This commit is contained in:
parent
78c0d323e9
commit
1ef09c0c75
1 changed files with 21 additions and 0 deletions
|
@ -1867,6 +1867,27 @@ (define-public python-pbr-0.11
|
||||||
(define-public python2-pbr-0.11
|
(define-public python2-pbr-0.11
|
||||||
(package-with-python2 python-pbr-0.11))
|
(package-with-python2 python-pbr-0.11))
|
||||||
|
|
||||||
|
(define-public python-pbr
|
||||||
|
(package (inherit python-pbr-0.11)
|
||||||
|
(version "1.8.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "pbr" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0jcny36cf3s8ar5r4a575npz080hndnrfs4np1fqhv0ym4k7c4p2"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("python-setuptools" ,python-setuptools)
|
||||||
|
("python-fixtures" ,python-fixtures)
|
||||||
|
("python-pip" ,python-pip)))
|
||||||
|
(properties `((python2-variant . ,(delay python2-pbr))))))
|
||||||
|
|
||||||
|
(define-public python2-pbr
|
||||||
|
(package (inherit (package-with-python2
|
||||||
|
(strip-python2-variant python-pbr)))))
|
||||||
|
|
||||||
(define-public python-fixtures
|
(define-public python-fixtures
|
||||||
(package
|
(package
|
||||||
(name "python-fixtures")
|
(name "python-fixtures")
|
||||||
|
|
Loading…
Reference in a new issue