summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-13 11:16:48 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:49 +0100
commitc418fa8924ae7623d0e1c14ff25d449979c13123 (patch)
tree442ab5cccb8bafe178d6421e5b4036e8834fdb71 /gnu/packages/python-xyz.scm
parent89656f893381b15317aba3139c74602f5bac2c0f (diff)
gnu: python-pkgconfig: Update to 1.5.5.
* gnu/packages/python-xyz.scm (python-pkgconfig): Update to 1.5.5. [build-system]: Use pyproject-build-system. [arguments]: Disable tests; remove custom 'check phase. [native-inputs]: Add python-poetry-core; remove python-nose. Change-Id: I0f45db123f35e6cd2faacd9499d6b1153a752ed8
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm33
1 files changed, 15 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f3850a6023..bb4513c3df 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21660,31 +21660,28 @@ CloudFront content delivery network.")
(define-public python-pkgconfig
(package
(name "python-pkgconfig")
- (version "1.3.1")
+ (version "1.5.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pkgconfig" version))
(sha256
(base32
- "107x2wmchlch8saixb488cgjz9n6inl38wi7nxkb942rbaapxiqb"))))
- (build-system python-build-system)
- (native-inputs
- (list python-nose))
- (inputs
- (list pkg-config))
+ "16dqm2g7b2c6s09vf6wv62s629s63xf51n92v0hbax8zy4z1dd6y"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch
- ;; Hard-code the path to pkg-config.
- (lambda _
- (substitute* "pkgconfig/pkgconfig.py"
- (("'pkg-config'")
- (string-append "'" (which "pkg-config") "'")))))
- (replace 'check
- (lambda _
- (invoke "nosetests" "test.py"))))))
+ (list
+ #:tests? #false ;there are none
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'build 'patch
+ ;; Hard-code the path to pkg-config.
+ (lambda _
+ (substitute* "pkgconfig/pkgconfig.py"
+ (("'pkg-config'")
+ (string-append "'" (which "pkg-config") "'"))))))))
+ (native-inputs (list python-poetry-core))
+ (inputs (list pkg-config))
(home-page "https://github.com/matze/pkgconfig")
(synopsis "Python interface for pkg-config")
(description "This module provides a Python interface to pkg-config. It