[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/150: gnu: python-pycairo: Install headers and pkg-config files.
From: |
guix-commits |
Subject: |
34/150: gnu: python-pycairo: Install headers and pkg-config files. |
Date: |
Sun, 24 Apr 2022 05:12:19 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit df8d8c95e6b45f433e71a4feff30d1cc9e43fe8b
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Dec 19 17:11:19 2021 +0100
gnu: python-pycairo: Install headers and pkg-config files.
* gnu/packages/gtk.scm (python-pycairo)[arguments]: Delete 'build and
replace 'install.
---
gnu/packages/gtk.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 96297535ce..c3aad21ab6 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1910,6 +1910,19 @@ printing and other features typical of a source code
editor.")
(base32
"1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
(build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; XXX: Fail. Investigate.
+ #:phases
+ (modify-phases %standard-phases
+ ;; The package does not install pkg-config files and headers properly
+ ;; with wheel-based build system.
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "python" "setup.py" "install"
+ "--prefix" (assoc-ref outputs "out")
+ "--single-version-externally-managed"
+ "--root" "/"))))))
(native-inputs
(list pkg-config python-pytest))
(propagated-inputs ;pycairo.pc references cairo
- branch wip-python-pep517 created (now d289fe92f7), guix-commits, 2022/04/24
- 01/150: build/python: Handle missing setuptools in sanity-check.py, guix-commits, 2022/04/24
- 02/150: gnu: python{,2}-setuptools: Move to python-build., guix-commits, 2022/04/24
- 31/150: gnu: python-numba: Add missing build input., guix-commits, 2022/04/24
- 34/150: gnu: python-pycairo: Install headers and pkg-config files.,
guix-commits <=
- 07/150: gnu: python-pep517-bootstrap: Update to 0.12.0., guix-commits, 2022/04/24
- 11/150: gnu: pypy: Move to separate module., guix-commits, 2022/04/24
- 33/150: gnu: python-pylama: Fix tests., guix-commits, 2022/04/24
- 27/150: gnu: python-crashtest: Build using poetry-core., guix-commits, 2022/04/24
- 25/150: gnu: dblatex: Use custom 'build and 'install phases., guix-commits, 2022/04/24
- 23/150: gnu: python-branca: Disable tests., guix-commits, 2022/04/24
- 16/150: gnu: python-mediafile: Add missing build dependencies., guix-commits, 2022/04/24
- 28/150: gnu: python-lockfile: Add missing nosetests., guix-commits, 2022/04/24
- 14/150: gnu: python-pyzmq: Fix #:configure-flags type., guix-commits, 2022/04/24
- 13/150: gnu: python-confuse: Add missing test inputs., guix-commits, 2022/04/24