summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-08 23:28:00 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-09 11:34:28 +0100
commit8f2a87af9c1a46bc836ba4e75fbaab7a8649ab23 (patch)
tree1be44ad13dd72040a7a7dfe6151bae63de78ae45
parentbac66f39f92094686a1cb2777ee32cdbc123e210 (diff)
gnu: python-bump2version: Update to 1.0.1-1.1044c08.
* gnu/packages/python-xyz.scm (python-bump2version): Update to 1.0.1-1.1044c08. [properties]: Set commit and version. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-flags>: Ignore flaky single failing test. [native-inputs]: Add python-pytest, python-setuptools, python-testfixtures. Change-Id: I7c417dd6446804950dd3c3b8b3ac17e1555cb32f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 15 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cb842a79a6..33dd956d88 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9290,18 +9290,25 @@ working with Valve's VDF text format.")
(define-public python-bump2version
(package
(name "python-bump2version")
- (version "1.0.1")
+ (properties '((commit . "1044c085ba7d32d73c9cd7ca4561a7ec624c6b19")
+ (revision . "1")))
+ (version (git-version "1.0.1"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "bump2version" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/c4urself/bump2version")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1rinm4gv1fyh7xjv3v6r1p3zh5kl4ry2qifz5f7frx31mnzv4b3n"))))
- (build-system python-build-system)
+ (base32 "1m5c5rdz9723irwdl46mg7si5syddlzna0ldkz2ps6dphkmqsv7j"))))
+ (build-system pyproject-build-system)
(arguments
- ;; XXX: Tests fail with "bumpversion: error: the following arguments are
- ;; required: --new-version".
- `(#:tests? #false))
+ ;; XXX: Single flaky failing test.
+ (list #:test-flags #~(list "-k" "not test_usage_string")))
+ (native-inputs (list python-pytest python-setuptools python-testfixtures))
(home-page "https://github.com/c4urself/bump2version")
(synopsis "Version-bump your software with a single command!")
(description