summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-18 17:53:04 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-18 23:37:58 +0100
commita60f1b1a9d1a86d3a2de8e06c11bbbfc2e6b85f6 (patch)
tree88f518fdd575273b71b0e05807743cb2fef3a305
parentdb9a4f13a9cefc4b4e80e9205bbb88df637b27ac (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 21 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8203bda873b..a87c888cd56 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