[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add python-semantic-version.
From: |
Tobias Geerinckx-Rice |
Subject: |
02/07: gnu: Add python-semantic-version. |
Date: |
Tue, 25 Sep 2018 06:19:15 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit bbc69023d86f5bd4ffec994453e5bdfbf5c429f4
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Tue Sep 25 10:13:01 2018 +0200
gnu: Add python-semantic-version.
* gnu/packages/python.scm (python-semantic-version)
(python2-semantic-version): New public variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ea641b8..86ce702 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -907,6 +907,34 @@ API for locking files.")
(define-public python2-lockfile
(package-with-python2 python-lockfile))
+(define-public python-semantic-version
+ (package
+ (name "python-semantic-version")
+ (version "2.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "semantic_version" version))
+ (sha256
+ (base32
+ "1h2l9xyg1zzsda6kjcmfcgycbvrafwci283vcr1v5sbk01l2hhra"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; PyPI tarball lacks tests
+ (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
address@hidden://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
+version identifier.")
+ (license license:bsd-3)))
+
+(define-public python2-semantic-version
+ (package-with-python2 python-semantic-version))
+
(define-public python-setuptools
(package
(name "python-setuptools")
- branch master updated (932839f -> 38e1095), Tobias Geerinckx-Rice, 2018/09/25
- 05/07: gnu: 389-ds-base: Fix build., Tobias Geerinckx-Rice, 2018/09/25
- 06/07: gnu: python-pexpect: Use INVOKE., Tobias Geerinckx-Rice, 2018/09/25
- 07/07: gnu: python-wsgiproxy2: Update to 0.4.5., Tobias Geerinckx-Rice, 2018/09/25
- 04/07: gnu: python-nose-timer: Update to 0.7.3., Tobias Geerinckx-Rice, 2018/09/25
- 01/07: gnu: python-flask-login: Don't use unstable tarball., Tobias Geerinckx-Rice, 2018/09/25
- 02/07: gnu: Add python-semantic-version.,
Tobias Geerinckx-Rice <=
- 03/07: gnu: python-flask-login: Update to 0.4.1., Tobias Geerinckx-Rice, 2018/09/25