summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-12 19:31:02 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-13 12:00:49 +0100
commit53201779c5ca4199e1d16b0621f18c78943ddf6f (patch)
tree2b67acfa2e45f7ffd6ee011878b50ea10bf3ae1b /gnu
parent56e358df67fa56a3860d47a1b41c6595531c4630 (diff)
gnu: python-pluginbase: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pluginbase): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [arguments, description]: Improve style. Change-Id: I3342026c622fe72de51602816ef4b600eb652fc5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm31
1 files changed, 18 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 59131368d8b..b0abe2bb0a4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11137,23 +11137,28 @@ shares the same interface.")
(version "1.0.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pluginbase" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mitsuhiko/pluginbase")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "11z2vvbp13828y0x3w39f29p9r9xcix7h7c4fff2w8yfiylk6v7z"))))
- (build-system python-build-system)
+ (base32 "16c089ka8z4wb4mnx6a3dbvibibgzvawm8zgkp7ppadsgb3lc357"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "make" "test")))))))
- (native-inputs (list python-pytest))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "test")))))))
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/mitsuhiko/pluginbase")
(synopsis "Simple but flexible plugin system for Python")
- (description "PluginBase is a library useful in the development of
-flexible plugin systems in Python.")
+ (description
+ "PluginBase is a library useful in the development of flexible plugin
+systems in Python.")
(license license:bsd-3)))
(define-public python-node-semver