[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: python-pkgconfig: Update to 1.5.5.
From: |
guix-commits |
Subject: |
05/05: gnu: python-pkgconfig: Update to 1.5.5. |
Date: |
Mon, 13 Jan 2025 05:19:08 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit f94440f0418d7cc77b3cd3e0483ebeea5df4c4ab
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 13 11:16:48 2025 +0100
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
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++------------------
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 912d5895f5..7473aba47b 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