Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python-cairocffi: add depends
@ 2020-09-01 19:41 Chocimier
  2020-09-02 17:07 ` [PR PATCH] [Merged]: " Chocimier
  0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2020-09-01 19:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

There is a new pull request by Chocimier against master on the void-packages repository

https://github.com/Chocimier/void-packages-org python-cairocffi
https://github.com/void-linux/void-packages/pull/24595

python-cairocffi: add depends


A patch file from https://github.com/void-linux/void-packages/pull/24595.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-cairocffi-24595.patch --]
[-- Type: text/x-diff, Size: 1889 bytes --]

From bc3f106859bcc85ca5812604f3cfd4d7cfcad20a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 1 Sep 2020 21:40:31 +0200
Subject: [PATCH] python-cairocffi: add depends

fix tests
xlint
---
 srcpkgs/python-cairocffi/template | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python-cairocffi/template b/srcpkgs/python-cairocffi/template
index c057739b03d..2cf2d6890cd 100644
--- a/srcpkgs/python-cairocffi/template
+++ b/srcpkgs/python-cairocffi/template
@@ -1,28 +1,34 @@
 # Template file for 'python-cairocffi'
 pkgname=python-cairocffi
 version=0.9.0
-revision=2
+revision=3
 archs=noarch
 wrksrc="cairocffi-${version}"
 build_style=python-module
-pycompile_module="cairocffi"
 hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
-depends="python-cffi"
+depends="python-cffi cairo gdk-pixbuf"
+checkdepends="python-more-itertools python-parsing python-scandir python-pytest cairo gdk-pixbuf"
 short_desc="CFFI-based cairo bindings for Python2"
-homepage="https://github.com/Kozea/cairocffi"
-license="BSD-3-Clause"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/Kozea/cairocffi"
 distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
 checksum=15386c3a9e08823d6826c4491eaccc7b7254b1dc587a3b9ce60c350c3f990337
 
+pre_check() {
+	export PY_IGNORE_IMPORTMISMATCH=1
+	vsed -e s/test_scaled_font/scaled_font/ -i build-2.7/lib/cairocffi/test_cairo.py
+	vsed -e s/test_context_font/context_font/ -i build-2.7/lib/cairocffi/test_cairo.py
+}
+
+
 post_install() {
 	vlicense LICENSE
 }
 
 python3-cairocffi_package() {
 	archs=noarch
-	depends="python3-cffi"
-	pycompile_module="cairocffi"
+	depends="python3-cffi cairo"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: python-cairocffi: add depends
  2020-09-01 19:41 [PR PATCH] python-cairocffi: add depends Chocimier
@ 2020-09-02 17:07 ` Chocimier
  0 siblings, 0 replies; 2+ messages in thread
From: Chocimier @ 2020-09-02 17:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

There's a merged pull request on the void-packages repository

python-cairocffi: add depends
https://github.com/void-linux/void-packages/pull/24595

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-02 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 19:41 [PR PATCH] python-cairocffi: add depends Chocimier
2020-09-02 17:07 ` [PR PATCH] [Merged]: " Chocimier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).