diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-09 12:15:27 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-09 12:15:31 +0100 |
| commit | 76f2cbeca0e12fc09c312cabbd5fc36f3e894f4d (patch) | |
| tree | 320ac09615ba49f0af31c88ecb473ffe025cc7bf /gnu/packages/python-xyz.scm | |
| parent | e544755b7acd7db0aa8b0e358064b013817fdd9b (diff) | |
gnu: python-verspec: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-verspec): Improve package style,
use G-Expressions, adjust indentation and fileds sequence.
[build-system]: Switch to pyproejct-build-system.
[arguments] <phases>: Use default 'check; add 'pre-check.
[native-inputs]: Remove python-coverage, python-flake8, and python-mypy;
add python-setuptools.
Change-Id: I74488686bc31e7b95d59026f1b63074b30e1c26c
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e591d6b82b..c00cf5452c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -37901,23 +37901,24 @@ features of the Psycopg database driver.") (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)) + (source + (origin + (method url-fetch) + (uri (pypi-uri "verspec" version)) + (sha256 + (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) + (build-system pyproject-build-system) (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"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (invoke "touch" "test/__init__.py")))))) + (native-inputs + (list python-pretend + python-pytest + python-setuptools)) (home-page "https://github.com/jimporter/verspec") (synopsis "Flexible version handling for Python") (description |
