summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-12 21:24:43 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:42 +0100
commitdd5c5bf2deeee454340a26900a65a552b3195252 (patch)
treeabd073e1164f88e16a8a3087f50aad2f6164d2fd /gnu/packages/python-xyz.scm
parent2458b089134713335b89ad3cd48858baffb4ca45 (diff)
gnu: python-semantic-version: Update to 2.10.0.
* gnu/packages/python-xyz.scm (python-semantic-version): Update to 2.10.0. [build-system]: Use pyproject. [arguments] <test-backend>: Use 'custom. <test-flags>: Use nose2. [native-inputs]: Add python-nose2 and python-setuptools. [description]: Adjust fill column. Change-Id: I23774a4d99fe1c58234570aab8bc46fc51873c71
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm16
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ea4a506846..4380fba773 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4817,23 +4817,27 @@ diagrams.")
(define-public python-semantic-version
(package
(name "python-semantic-version")
- (version "2.8.5")
+ (version "2.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "semantic_version" version))
(sha256
- (base32
- "0m4avx8zdkzc7qglv5zlr54g8yna5vl098drg5396ql7aph2vjyj"))))
- (build-system python-build-system)
+ (base32 "0704smz9k6hdd6i5xh0xf0sk47kannjb77abilvvp34r6v9vdaxx"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'custom
+ #:test-flags #~(list "-m" "nose2")))
+ (native-inputs
+ (list python-nose2
+ python-setuptools))
(home-page "https://github.com/rbarrois/python-semanticversion")
(synopsis "Semantic versioning module for Python")
(description
"The @code{semantic_version} class is a small library for handling
@uref{https://semver.org/, semantic versioning} (@dfn{SemVer}) in Python.
-It can compare versions, generate a new version that represents a bump in one of
-the version levels, and check whether any given string is a proper semantic
+It can compare versions, generate a new version that represents a bump in one
+of the version levels, and check whether any given string is a proper semantic
version identifier.")
(license license:bsd-3)))