@@ 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