gnu: python-debtcollector: Update to 1.19.0.

* gnu/packages/openstack.scm (python-debtcollector): Update to 1.19.0.
[arguments]: Remove field.
[propagated-inputs]: Add PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR and PYTHON-BABEL.  Add PYTHON-SUBUNIT,
PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS.
[properties]: Declare python2 variant.
(python2-debtcollector)[propaged-inputs]: Add PYTHON-FUNCSIGS.
This commit is contained in:
Marius Bakke 2018-02-28 03:38:00 +01:00
parent c822e880fe
commit a2803e206b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -90,36 +90,42 @@ all the files it generates a report.")
(define-public python-debtcollector (define-public python-debtcollector
(package (package
(name "python-debtcollector") (name "python-debtcollector")
(version "1.0.0") (version "1.19.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "debtcollector" version)) (uri (pypi-uri "debtcollector" version))
(sha256 (sha256
(base32 (base32
"0g4dfskaiy47rhsh4gh66l5vmdsrgq0qk68pl3ix1cj3ffvfndzv")))) "06c7vyn184y9f0lsrwaz13aq63hdz5fjrd191b8nifx6acsni42f"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:tests? #f)) ;FIXME: Requires packaging python-doc8.
(propagated-inputs (propagated-inputs
`(("python-six" ,python-six) `(("python-pbr" ,python-pbr)
("python-six" ,python-six)
("python-wrapt" ,python-wrapt))) ("python-wrapt" ,python-wrapt)))
(native-inputs (native-inputs
`(("python-babel" ,python-babel) `(;; Tests.
("python-pbr" ,python-pbr) ("python-subunit" ,python-subunit)
;; Tests. ("python-testrepository" ,python-testrepository)
("python-oslotest" ,python-oslotest))) ("python-testtools" ,python-testtools)))
(home-page "https://www.openstack.org/") (home-page "https://www.openstack.org/")
(synopsis (synopsis
"Find deprecated patterns and strategies in Python code") "Find deprecated patterns and strategies in Python code")
(description (description
"This package provides a collection of Python deprecation patterns and "This package provides a collection of Python deprecation patterns and
strategies that help you collect your technical debt in a non-destructive strategies that help you collect your technical debt in a non-destructive
manner.") manner.")
(properties `((python2-variant . ,(delay python2-debtcollector))))
(license asl2.0))) (license asl2.0)))
(define-public python2-debtcollector (define-public python2-debtcollector
(package-with-python2 python-debtcollector)) (let ((base (package-with-python2 (strip-python2-variant
python-debtcollector))))
(package
(inherit base)
(propagated-inputs
`(("python2-funcsigs" ,python2-funcsigs)
,@(package-propagated-inputs base))))))
(define-public python-hacking (define-public python-hacking
(package (package