1 |
commit: e0125e9c5c454cc26a9245f45b7af602b49c402c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 18 06:29:27 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 18 06:52:00 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0125e9c |
7 |
|
8 |
dev-python/cairocffi: Bump to 1.5.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cairocffi/Manifest | 1 + |
13 |
dev-python/cairocffi/cairocffi-1.5.0.ebuild | 53 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest |
17 |
index 0744b4ddb7ae..e621b50a12a0 100644 |
18 |
--- a/dev-python/cairocffi/Manifest |
19 |
+++ b/dev-python/cairocffi/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cairocffi-1.4.0.tar.gz 69851 BLAKE2B 8037d9bc619d2e96e655dc4682bb95a1e920d0b2188963088c1be21f2e157f7e791f3994f0ae7ecd338547baf2a65d03b175398bc1b3c92145ae6ea148420b5a SHA512 7ffdaf365c1251b202e2680a2f689ec6ea04c19eb75df38137624ffeb429ab61c6f54af450aec019b2570a4e91d2d701328109e4e0f5662a3b3b655ab53705ff |
22 |
+DIST cairocffi-1.5.0.tar.gz 86811 BLAKE2B c8f6a39608f0db6d0b7730302437a8856a3dd7249ed275733a048b5c8f98b3484787ccecf70bae1053ee052b9a7c8c7d2da699dbbde0f34cea2ef8bbabe2fc6f SHA512 32ee1d1217a0300512b60c11fc3c9a0456e4a74a9c5364840e51e52a1320a2e26a3d2ed761615ce5fee247bcd2c713c099d3419b731c37fa812040d5f6f3096b |
23 |
|
24 |
diff --git a/dev-python/cairocffi/cairocffi-1.5.0.ebuild b/dev-python/cairocffi/cairocffi-1.5.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..cbd409e79100 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cairocffi/cairocffi-1.5.0.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+# custom wrapper |
36 |
+DISTUTILS_USE_PEP517=standalone |
37 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 pypi virtualx |
40 |
+ |
41 |
+DESCRIPTION="CFFI-based drop-in replacement for Pycairo" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/Kozea/cairocffi/ |
44 |
+ https://pypi.org/project/cairocffi/ |
45 |
+" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] |
53 |
+ x11-libs/cairo:0=[X,xcb(+)] |
54 |
+ x11-libs/gdk-pixbuf[jpeg] |
55 |
+" |
56 |
+RDEPEND=" |
57 |
+ ${DEPEND} |
58 |
+ $(python_gen_cond_dep ' |
59 |
+ >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] |
60 |
+ ' 'python*') |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ $(python_gen_cond_dep ' |
65 |
+ >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] |
66 |
+ ' 'python*') |
67 |
+ test? ( |
68 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
69 |
+ dev-python/pikepdf[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+distutils_enable_tests pytest |
74 |
+ |
75 |
+PATCHES=( |
76 |
+ "${FILESDIR}"/${PN}-0.8.0-tests.patch |
77 |
+) |
78 |
+ |
79 |
+src_test() { |
80 |
+ rm -r cairocffi || die |
81 |
+ virtx distutils-r1_src_test |
82 |
+} |