summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-01 13:56:08 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-02 23:16:28 +0100
commit7d9b41002aadd2d4d3b3bf198d6bc4de51002613 (patch)
treefa922e646f145eae3cea087c3e2219a544061063
parent649df4cf656875684568314f292b5fbef8a9f583 (diff)
gnu: python-miniupnpc: Update to 2.3.3.
* gnu/packages/python-xyz.scm (python-miniupnpc): Update to 2.3.3. [build-system]: Use pyproject. [arguments] <phases>: Add custrom 'check. [native-inputs]: Add python-setuptools, and python-wheel. Change-Id: I61caaa1ae01fe8e00e13397cb307d7aee3b3332f
-rw-r--r--gnu/packages/python-xyz.scm17
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2aa9902a72..76c874fdf9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6666,12 +6666,14 @@ palettes.")
(define-public python-miniupnpc
(package
(name "python-miniupnpc")
- (version "2.2.3")
+ (version "2.3.3")
(source
(origin
(method git-fetch)
(uri
(git-reference
+ ;; The project tags miniupnpd_ as well but with a different version,
+ ;; where updater may select a wrong version.
(url "https://github.com/miniupnp/miniupnp")
(commit
(string-append
@@ -6679,8 +6681,8 @@ palettes.")
(file-name
(git-file-name name version))
(sha256
- (base32 "03q1rlzvfzm15g1bfw2zqzavlsyaypnaf2k3cz6ha7k5rirkdy0l"))))
- (build-system python-build-system)
+ (base32 "0ysvx21iaq7f505fpnk3280rwnckr0aih0j5j3v82nv99a2rqigh"))))
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
@@ -6696,7 +6698,14 @@ palettes.")
(lambda _
(substitute*
"miniupnpc/updateminiupnpcstrings.sh"
- (("^OS_VERSION=`uname -r`") "OS_VERSION=Guix")))))))
+ (("^OS_VERSION=`uname -r`") "OS_VERSION=Guix"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "check")))))))
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
(inputs (list python)) ;we are building a Python extension
(synopsis "UPnP client for Python")
(description "Miniupnpc is a client library for Python programs to set up