[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/11: gnu: Add python-verspec.
From: |
guix-commits |
Subject: |
06/11: gnu: Add python-verspec. |
Date: |
Fri, 15 Apr 2022 13:14:29 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4ed02d571a53f5a1e108a4df0bc3bf12a28fb0ed
Author: Vincent Prat <vprat@deeplinks.com>
AuthorDate: Fri Apr 8 16:29:38 2022 +0200
gnu: Add python-verspec.
* gnu/packages/python.xyz.scm (python-verspec): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 03b157de5c..219a0d9213 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29476,6 +29476,34 @@ database from the asyncio (PEP-3156/tulip) framework.
It wraps
asynchronous features of the Psycopg database driver.")
(license license:bsd-3)))
+(define-public python-verspec
+ (package
+ (name "python-verspec")
+ (version "0.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "verspec" version))
+ (sha256
+ (base32
+ "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64"))))
+ (build-system python-build-system)
+ (native-inputs (list python-coverage python-flake8 python-mypy
+ python-pretend python-pytest))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "touch" "test/__init__.py")
+ (invoke "pytest")))))))
+ (home-page "https://github.com/jimporter/verspec")
+ (synopsis "Flexible version handling for Python")
+ (description
+ "This Python library handles software versions and specifiers. It is
+adapted from the @code{packaging} package.")
+ (license (list license:bsd-2 license:asl2.0))))
+
(define-public python-shtab
(package
(name "python-shtab")
- branch master updated (179a949e60 -> 6db5787120), guix-commits, 2022/04/15
- 02/11: gnu: streamlink: Update to 3.2.0., guix-commits, 2022/04/15
- 10/11: gnu: emacs-mu4e-patch: Rename to emacs-message-view-patch, guix-commits, 2022/04/15
- 05/11: gnu: Add python-shtab., guix-commits, 2022/04/15
- 11/11: gnu: emacs-message-view-patch: Update to 0.2.0-40bc2e5, guix-commits, 2022/04/15
- 04/11: gnu: shepherd: Support cross-compilation., guix-commits, 2022/04/15
- 07/11: gnu: xfce4-terminal: Update to 1.0.0., guix-commits, 2022/04/15
- 06/11: gnu: Add python-verspec.,
guix-commits <=
- 09/11: gnu: xfce4-diskperf-plugin: Update to 2.7.0., guix-commits, 2022/04/15
- 08/11: gnu: elementary-xfce-icon-theme: Update to 0.16., guix-commits, 2022/04/15
- 03/11: gnu: mblaze: Offer contrib executables., guix-commits, 2022/04/15
- 01/11: gnu: python-lxml: Add 4.7.1., guix-commits, 2022/04/15