[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: python-versioneer: Update to 0.29.
From: |
guix-commits |
Subject: |
09/11: gnu: python-versioneer: Update to 0.29. |
Date: |
Wed, 25 Oct 2023 06:01:46 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit eb194aba18f7f81974d6d8999adbfda88f18cfce
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Wed Oct 11 17:58:34 2023 +0000
gnu: python-versioneer: Update to 0.29.
* gnu/packages/python-xyz.scm (python-versioneer): Update to 0.29.
[build-system]: Switch to pyproject-build-system.
[arguments, native-inputs, propagated-inputs]: New fields.
[license]: Set to Unlicense.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++--------
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3afef5d337..6b991c448b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29901,26 +29901,48 @@ applications with variable CPU loads).")
(define-public python-versioneer
(package
(name "python-versioneer")
- (version "0.21")
+ (version "0.29")
(source
(origin
(method url-fetch)
(uri (pypi-uri "versioneer" version))
(sha256
(base32
- "084fglxafbzvf1vbkzfajvs9qwnvjwwn8pxql9nrlpyipv5xpwk4"))
+ "0cap4cjckxp9mlkprqayfs77k3pn5iwpr2riacdxc4bjhnwq7cjs"))
(patches (search-patches "python-versioneer-guix-support.patch"))))
- (build-system python-build-system)
- (home-page
- "https://github.com/python-versioneer/python-versioneer")
- (synopsis
- "Version-string management for VCS-controlled trees")
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Taken from tox.ini.
+ (invoke "python" "setup.py" "make_versioneer")
+ (invoke "python" "-m" "unittest" "discover" "test")
+ (invoke "python" "test/git/test_git.py" "-v")
+ ;; Some invocation tests require the network.
+ ;;(invoke "python" "test/git/test_invocations.py" "-v")
+ (invoke "python" "setup.py" "make_long_version_py_git")
+ (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py")
+ (invoke "python" "test/run_pyflakes_src.py")
+ (invoke "pyflakes" "test")
+ (invoke "flake8" "git_version.py" "versioneer.py")
+ (invoke "pycodestyle" "--max-line-length=88"
+ "git_version.py" "versioneer.py")))))))
+ (native-inputs
+ (list git python-flake8 python-pycodestyle python-pyflakes))
+ (propagated-inputs
+ (list python-tomli))
+ (home-page "https://github.com/python-versioneer/python-versioneer")
+ (synopsis "Version-string management for VCS-controlled trees")
(description
"@code{versioneer} is a tool for managing a recorded version number in
distutils-based python projects. The goal is to remove the tedious and
error-prone \"update the embedded version string\" step from your release
process.")
- (license license:public-domain)))
+ (license license:unlicense)))
(define-public python-gamera
(package
- branch master updated (e0b94a4d27 -> c6d2bb9d0a), guix-commits, 2023/10/25
- 01/11: gnu: guile-dsv: Update to 0.7.1., guix-commits, 2023/10/25
- 03/11: gnu: diffoscope: Update to 251., guix-commits, 2023/10/25
- 04/11: gnu: curlie: Update to 1.7.2., guix-commits, 2023/10/25
- 02/11: gnu: mympd: Update to 12.1.1., guix-commits, 2023/10/25
- 08/11: gnu: picard: Update to 2.10., guix-commits, 2023/10/25
- 10/11: gnu: lighttpd: Update to 1.4.72., guix-commits, 2023/10/25
- 05/11: gnu: hplip: Fix USB timeouts., guix-commits, 2023/10/25
- 06/11: gnu: emacs-exwm: Update to 0.28., guix-commits, 2023/10/25
- 07/11: gnu: emacs-doom-modeline: Update to 4.0.1., guix-commits, 2023/10/25
- 09/11: gnu: python-versioneer: Update to 0.29.,
guix-commits <=
- 11/11: gnu: gnuplot: Update to 5.4.9., guix-commits, 2023/10/25