1 |
commit: 85b7608a37cf575ee85d2725ebec2412d89c74aa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 5 21:21:43 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 21:46:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b7608a |
7 |
|
8 |
dev-python/pycairo: Bump to 1.20.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pycairo/Manifest | 1 + |
13 |
dev-python/pycairo/pycairo-1.20.0.ebuild | 46 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest |
17 |
index b4af392d6fd..560251fc776 100644 |
18 |
--- a/dev-python/pycairo/Manifest |
19 |
+++ b/dev-python/pycairo/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pycairo-1.19.1.tar.gz 205196 BLAKE2B 504334628daf75dd9145c97fbd86ea133b4be225ce7fa911b48231ebd5434678ffa7b1f185e0527f96b4b36955e788d0bb4fa4d308843e5ae9b20a41d2126301 SHA512 a7955a2566d5e5586154b62f3aeef824e1e6076cbd3eb86af8288fedcc7d61c4e36a53691298cf9df2e2df7fc96292f96dec92c5d4343e6c1b4c971e97d0650f |
22 |
+DIST pycairo-1.20.0.tar.gz 344370 BLAKE2B b72a3dfd3ad6332f6be2c0fc0650ef87d97a51881bd239421cdb6355016e952093f9fa05b7872d7cce4a50bc4bac27ff0fb4c11e446e51ada9d7c1adc019a175 SHA512 d32d008b741653d02324b206a438f5fd85f2a433201d6f8b98c8f1adc712abea611a4b5ed95c55258efb662dc579eed6b2f752b10d9fc2b6a7c8e5edd19e5266 |
23 |
|
24 |
diff --git a/dev-python/pycairo/pycairo-1.20.0.ebuild b/dev-python/pycairo/pycairo-1.20.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..01000a3ce9a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pycairo/pycairo-1.20.0.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="7" |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{6..9} pypy3 ) |
36 |
+PYTHON_REQ_USE="threads(+)" |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for the cairo library" |
41 |
+HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" |
42 |
+SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
47 |
+IUSE="examples" |
48 |
+ |
49 |
+BDEPEND=" |
50 |
+ test? ( |
51 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
52 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
53 |
+ ) |
54 |
+" |
55 |
+RDEPEND=" |
56 |
+ >=x11-libs/cairo-1.13.1[svg] |
57 |
+" |
58 |
+DEPEND="${RDEPEND}" |
59 |
+ |
60 |
+distutils_enable_sphinx docs \ |
61 |
+ dev-python/sphinx_rtd_theme |
62 |
+distutils_enable_tests setup.py |
63 |
+ |
64 |
+python_install() { |
65 |
+ distutils-r1_python_install \ |
66 |
+ install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" |
67 |
+} |
68 |
+ |
69 |
+python_install_all() { |
70 |
+ if use examples; then |
71 |
+ dodoc -r examples |
72 |
+ fi |
73 |
+ |
74 |
+ distutils-r1_python_install_all |
75 |
+} |