[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/103: gnu: python-pycairo: Install headers and pkg-config files.
From: |
guix-commits |
Subject: |
31/103: gnu: python-pycairo: Install headers and pkg-config files. |
Date: |
Wed, 5 Jan 2022 09:44:31 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 2d6773399bb1c6bcb59b4b85c4e43f56d5cd4fb9
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 a5b804d848..d9feeb01a8 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1886,6 +1886,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
- 88/103: gnu: python-libxml2: Fix build., (continued)
- 88/103: gnu: python-libxml2: Fix build., guix-commits, 2022/01/05
- 83/103: gnu: python-yamllint: Remove redundant input., guix-commits, 2022/01/05
- 89/103: gnu: python-devtools: Disable tests., guix-commits, 2022/01/05
- 84/103: gnu: python-pybtex: Disable tests., guix-commits, 2022/01/05
- 85/103: gnu: python-gssapi: Disable tests., guix-commits, 2022/01/05
- 82/103: gnu: python-setuptools-scm-git-archive: Disable tests., guix-commits, 2022/01/05
- 97/103: gnu: python-dnaio: Disable tests., guix-commits, 2022/01/05
- 94/103: gnu: tuir: Disable failing tests., guix-commits, 2022/01/05
- 99/103: gnu: python-docker-pycreds: Disable tests., guix-commits, 2022/01/05
- 30/103: gnu: python-pylama: Fix tests., guix-commits, 2022/01/05
- 31/103: gnu: python-pycairo: Install headers and pkg-config files.,
guix-commits <=
- 35/103: gnu: pybind11: Add python-setuptools., guix-commits, 2022/01/05
- 100/103: gnu: python-webob: Disable tests., guix-commits, 2022/01/05