summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-12 21:52:09 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-13 12:00:50 +0100
commitcbe28b9077b8594ad3965e7b9af13b608639d783 (patch)
tree0795457a7fac1306ef2a6acd194152047cdfbe92 /gnu/packages/python-xyz.scm
parentfe81b5fc261f262ca91fdd5e838c6794bd7b2090 (diff)
gnu: python-proto-matcher: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-proto-matcher): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [arguments, propagated-inputs, description]: Run guix style.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3403a1fb73a..eb1709cd59f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11397,19 +11397,22 @@ properties for Python 3.9+.")
(version "0.0.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "proto_matcher" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dayfine/proto-matcher")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1644x0hrl398ji3281n44ymfgc3cspzfagjckhqjn4nja5nlikxg"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f)) ;no test suite
- (propagated-inputs
- (list python-protobuf python-pyhamcrest))
+ (base32 "1l0dqnicpk4gpfspdlng026sxnkgzy68x416aw7camwq0513mq5l"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
+ (arguments (list #:tests? #f)) ; The test suite seems broken (missing data).
+ (propagated-inputs (list python-protobuf python-pyhamcrest))
(home-page "https://github.com/dayfine/proto-matcher")
(synopsis "PyHamcrest test matchers for protocol buffers")
- (description "This package provides the following PyHamcrest test
-matchers, that enable matching a protocol buffer message:
+ (description
+ "This package provides the following PyHamcrest test matchers, that
+enable matching a protocol buffer message:
@table @code
@item equals_proto
Test the argument equals the given protobuf message.