mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pbr: Update to 7.0.1.
This change is to simplify bootstrap for python-pbr. All of the native inputs were added to active tests but the #:tests? was set to false making no sense to keep them. * gnu/packages/python-xyz.scm (python-pbr): Update to 7.0.1. Do not inherit from python-pbr-minimal and migrate all missing fields. [build-system]: Switch to pyprject-build-system. [propagated-inputs]: Remove git-minimal/pinned; add python-setuptools. [native-inputs]: Remove python-fixtures-bootstrap, python-mock, python-six, python-sphinx, python-testrepository-bootstrap, python-testresources-bootstrap, python-testscenarios-bootstrap, python-testtools-bootstrap, and python-virtualenv. Change-Id: I5e53fd5ebd9bb0cfdd8e1da1c1a3d797a7bbfaeb
This commit is contained in:
parent
6fdd0a3d1a
commit
5bcc5e7011
1 changed files with 19 additions and 16 deletions
|
@ -6937,30 +6937,33 @@ code introspection, and logging.")
|
||||||
|
|
||||||
(define-public python-pbr
|
(define-public python-pbr
|
||||||
(package
|
(package
|
||||||
(inherit python-pbr-minimal)
|
|
||||||
(name "python-pbr")
|
(name "python-pbr")
|
||||||
|
(version "7.0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "pbr" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0mvy1z1dyl28w0brns1vdhc98hzbn5b3fsw1xj41amdqs88wpjry"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)) ;; Most tests seem to use the Internet.
|
`(#:tests? #f)) ;; Most tests seem to use the Internet.
|
||||||
|
;; Message from upstream:
|
||||||
|
;;
|
||||||
|
;; DO NOT add any other dependencies as PBR is meant to be minimalist to
|
||||||
|
;; avoid problems with bootstrapping build environments.
|
||||||
|
;;
|
||||||
|
;; See: <https://opendev.org/openstack/pbr/src/tag/7.0.1/requirements.txt>.
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list git-minimal/pinned)) ;; pbr actually uses the "git" binary.
|
(list python-setuptools))
|
||||||
(native-inputs
|
(home-page "https://docs.openstack.org/pbr/latest/")
|
||||||
`(("python-fixtures" ,python-fixtures-bootstrap)
|
|
||||||
;; discover, coverage, hacking, subunit
|
|
||||||
("python-mock" ,python-mock)
|
|
||||||
("python-six" ,python-six)
|
|
||||||
("python-sphinx" ,python-sphinx)
|
|
||||||
("python-testrepository" ,python-testrepository-bootstrap)
|
|
||||||
("python-testresources" ,python-testresources-bootstrap)
|
|
||||||
("python-testscenarios" ,python-testscenarios-bootstrap)
|
|
||||||
("python-testtools" ,python-testtools-bootstrap)
|
|
||||||
("python-virtualenv" ,python-virtualenv)))
|
|
||||||
(synopsis "Enhance the default behavior of Python’s setuptools")
|
(synopsis "Enhance the default behavior of Python’s setuptools")
|
||||||
(description
|
(description
|
||||||
"Python Build Reasonableness (PBR) is a library that injects some useful
|
"Python Build Reasonableness (PBR) is a library that injects some useful
|
||||||
and sensible default behaviors into your setuptools run. It will set
|
and sensible default behaviors into your setuptools run. It will set
|
||||||
versions, process requirements files and generate AUTHORS and ChangeLog file
|
versions, process requirements files and generate AUTHORS and ChangeLog file
|
||||||
from git information.
|
from git information.")
|
||||||
")))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-pbr-next
|
(define-public python-pbr-next
|
||||||
(hidden-package
|
(hidden-package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue