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
This commit is contained in:
Sharlatan Hellseher 2025-07-12 21:24:43 +01:00
parent 2458b08913
commit dd5c5bf2de
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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