guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 53201779c5ca4199e1d16b0621f18c78943ddf6f
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 12 19:31:02 2025 +0200
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 <[email protected]>
---
gnu/packages/python-xyz.scm | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 59131368d8..b0abe2bb0a 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