summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-09 17:06:26 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:59 +0100
commit8c52cb7f7a866dac2e8d142ebb59fe2833b7c895 (patch)
treeede7200c7b6ebd5a582d6bbdf07efbf8d2b8b374 /gnu/packages/python-xyz.scm
parentf55ff0510ae3cdd4dabdc739498260db467c3180 (diff)
gnu: python-docopt: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-docopt) [build-system]: Use pyproject. [native-inputs]: Add python-setuptools. Change-Id: I9ab05b07d55ebaad946361535a7853a48b87ec45
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 8 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9dcfc98242..2f3d2db1d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19732,32 +19732,23 @@ library provides codecs are supported.")
(version "0.6.2")
(source
(origin
- (method git-fetch)
- ;; The release on PyPI does not include tests.
+ (method git-fetch) ;no tests in PyPI archive
(uri (git-reference
(url "https://github.com/docopt/docopt")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "0aad9gbswnnhssin2q0m5lmpm0ahyf80ahs2zjigbn5y7fvljnd0"))
+ (base32 "0aad9gbswnnhssin2q0m5lmpm0ahyf80ahs2zjigbn5y7fvljnd0"))
(patches (search-patches "python-docopt-pytest6-compat.patch"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(native-inputs
- (list python-pytest))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "py.test")))))))
+ (list python-pytest python-setuptools))
(home-page "http://docopt.org")
(synopsis "Command-line interface description language for Python")
- (description "This library allows the user to define a command-line
-interface from a program's help message rather than specifying it
-programmatically with command-line parsers like @code{getopt} and
-@code{argparse}.")
+ (description
+ "This library allows the user to define a command-line interface from a
+program's help message rather than specifying it programmatically with
+command-line parsers like @code{getopt} and @code{argparse}.")
(license license:expat)))
(define-public python-pythonanywhere