1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-reno: Update to 4.1.0.

* gnu/packages/openstack.scm (python-reno): Update to 4.1.0.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Remove 'init-git, add 'pre-check.
[propagated-inputs]: Remove python-six; add python-packaging.
[native-inputs]: Remove python-testrepository and python-mock; add
python-openstackdocstheme, python-pytest, python-setuptools,
python-stestr, python-subunit, and python-wheel. Remove labels.

Change-Id: Ib0daa83fee215ba507ccb526fa49a2d0dfd83b08
This commit is contained in:
Sharlatan Hellseher
2025-02-10 10:21:51 +00:00
parent 1ce964ef9c
commit 111e6f315d

View File

@@ -43,6 +43,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages xml)
#:use-module (guix gexp)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix download)
@@ -658,32 +659,41 @@ in transmittable and storable formats, such as JSON and MessagePack.")
(define-public python-reno
(package
(name "python-reno")
(version "2.7.0")
(version "4.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "reno" version))
(sha256
(base32 "0gwzi5dvacqx43smxl3rd1z33npn7gfhm50bvgmq90fib2q431wc"))))
(build-system python-build-system)
(origin
(method url-fetch)
(uri (pypi-uri "reno" version))
(sha256
(base32 "0w2kc9znm3ffcfsrwhvqkq6878jk3l9hibs7vv4mw88nppyz34pr"))))
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'init-git
(lambda _
;; reno expects a git repo
(invoke "git" "init"))))))
(propagated-inputs
(list python-dulwich python-pbr python-pyyaml python-six))
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "HOME" "/tmp")
;; reno expects a git repo
(invoke "git" "init"))))))
(native-inputs
`(("python-testtools" ,python-testtools)
("python-testscenarios" ,python-testscenarios)
("python-testrepository" ,python-testrepository)
("python-mock" ,python-mock)
("python-docutils" ,python-docutils)
("python-sphinx" ,python-sphinx)
("gnupg" ,gnupg)
("git" ,git-minimal/pinned)))
(list git-minimal/pinned
gnupg
python-docutils
python-openstackdocstheme
python-pytest
python-setuptools
python-sphinx
python-stestr
python-subunit
python-testscenarios
python-testtools
python-wheel))
(propagated-inputs
(list python-dulwich
python-packaging
python-pbr
python-pyyaml))
(home-page "https://docs.openstack.org/reno/latest/")
(synopsis "Release notes manager")
(description "Reno is a tool for storing release notes in a git repository