diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-22 23:47:04 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 19:59:51 +0000 |
| commit | 54467b917baccc216f199d976aab3fd31d99b755 (patch) | |
| tree | 3063bdf5645e571d51c5b4c9213c12533587f8dc /gnu/packages/python-xyz.scm | |
| parent | 7ba3dd1676c3dfc5a1cf3cce31528dd745d72386 (diff) | |
gnu: Add python-verlib2.
* gnu/packages/python-xyz.scm (python-verlib2): New variable.
Change-Id: I31d5404d098d43d2d874b04bafab412a079cb58b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b656e669c57..340224d81ed 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -40079,6 +40079,30 @@ and highlight matching sections.") add the log levels NOTICE, SPAM, SUCCESS and VERBOSE.") (license license:expat))) +(define-public python-verlib2 + (package + (name "python-verlib2") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pyveci/verlib2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xp0qfzy4l4fs1rn1670fbf7d7xv1p2s3rplspx8xqszjd5j0n8c")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-importlib-metadata)) + (native-inputs + (list python-pretend python-pytest python-pytest-cov python-setuptools)) + (home-page "https://github.com/pyveci/verlib2") + (synopsis "Python versioning utilities") + (description + "This package provides a standalone variant of @code{distutils.version} and +@code{packaging.version}, without anything else.") + (license license:bsd-2))) + ;; XXX: No updates since 2018, consider to remove when fails to build, it's a ;; leaf package. (define-public python-version |
