guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a60f1b1a9d1a86d3a2de8e06c11bbbfc2e6b85f6
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 18 17:53:04 2025 +0200
gnu: python-straight-plugin: Update to 1.4.1-0.363b0af.
* gnu/packages/python-xyz.scm (python-straight-plugin): Update to
1.4.1-0.363b0af.
[properties, source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, test-flags>: Setup tests.
[native-inputs]: Add python-mock, python-setuptools.
[description]: Improve style.
Change-Id: I23d14fc4a49646907ad5e958dc5b2a676b21b218
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8203bda873..a87c888cd5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17090,20 +17090,32 @@ when an operation takes longer than expected.")
(define-public python-straight-plugin
(package
(name "python-straight-plugin")
- (version "1.4.1")
+ (properties '((commit . "363b0af4a2560bf9a3cb61160ecf28a1a1b9c91f")
+ (revision . "0")))
+ (version (git-version "1.4.1"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "straight.plugin" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ironfroggy/straight.plugin")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "069pjll4383p4kkgvcc40hgyvf79j2wdbpgwz77yigzxksh1gj62"))))
- (build-system python-build-system)
+ (base32 "03p2apj7i9m38nmccfhvzldmzd61icv145vpmifln3mvh09jm6c2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-backend #~'custom
+ #:test-flags #~(list "tests.py")))
+ (native-inputs (list python-mock python-setuptools))
(home-page "https://github.com/ironfroggy/straight.plugin")
(synopsis "Simple namespaced plugin facility")
- (description "Straight Plugin provides a type of plugin you can create from
-almost any existing Python modules, and an easy way for outside developers to
-add functionality and customization to your projects with their own plugins.")
+ (description
+ "Straight Plugin provides a type of plugin you can create from almost any
+existing Python modules, and an easy way for outside developers to add
+functionality and customization to your projects with their own plugins.")
(license license:expat)))
(define-public python-strenum