guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 9034a5285c9960c219442c60925c3711ffba872a
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jul 12 21:24:43 2025 +0100

    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
---
 gnu/packages/python-xyz.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1fc85caef0..b6435af494 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4529,23 +4529,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)))
 

Reply via email to