1 |
commit: a3b94cab670a11e4b60d1fea686ef7128e23d524 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 30 16:57:38 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 1 19:29:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b94cab |
7 |
|
8 |
dev-python/pycairo: 1.18.2 version bump, python3_8 |
9 |
|
10 |
Fixes test failure of 1.18.1 w/ python3_8. |
11 |
|
12 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
dev-python/pycairo/Manifest | 1 + |
16 |
dev-python/pycairo/pycairo-1.18.2.ebuild | 57 ++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 58 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest |
20 |
index 719ee186422..34b639ececf 100644 |
21 |
--- a/dev-python/pycairo/Manifest |
22 |
+++ b/dev-python/pycairo/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST pycairo-1.16.3.tar.gz 188610 BLAKE2B 71034891bae636e23379a3fdc49c9163cff61183fe46c4027bbad3206e72255e60081dbc3cb02808d5c3840b618f6c12f8106ca5a08ddb226a65917ba2da390c SHA512 d60978f85eb0430f2038b0e7d0bce23602e8c180a7611eea424fd8bc3cdd8ce249af364abd0e77ab3b7ab439761721cba5c2398f51af2a89add3fb7fda8aa5db |
25 |
DIST pycairo-1.17.0.tar.gz 192182 BLAKE2B b7a4db8258b03b89878fca6b5e27bb9037b74b1792ded23edfe38a0aa5e9ba5003bbac2c8623a6ace8033960c3199b307dcb689650e21ba2df0d81a36a71b6cf SHA512 c073f04d92c9a577f7dcea8d46335751ebd896a65e682e99e4453877d8ba2cadad4437f4ceb1ce8c05eb87d5757a2bd78ac2549e63e38720f4c9276e6f70bdd5 |
26 |
DIST pycairo-1.18.1.tar.gz 200610 BLAKE2B 47e707f3481d816e9fcd72d169d7ab9210f746396a45a6c9cdac946b4dca9529515ebe1a288d985eed659ff23488bec2cf3e0fb8d11c160349530871ed05881f SHA512 fef6b0d863d45a182a1ba671ddc4f6cb15745447cdaed3e1efeb05fad97f02aa0a56698517648a942bde263d74e06ad7781bcf487757aeb3b124ef64dc525024 |
27 |
+DIST pycairo-1.18.2.tar.gz 200462 BLAKE2B 1f755dc90fe3ee50aa68273a0816752312f144831ff857709e1a4695a58646ffe6be518733480ed37231c213a11d4e5aaf8dfd1cfa68104873bc7d4192435b89 SHA512 279ea80413ba55d493d51455685da09afa1f5c45e2930c3fca3e417a8afe6645a0d8131201f79482de59e5ec56cfef62eac65ed88fe88866bfcc06503dcc59e0 |
28 |
|
29 |
diff --git a/dev-python/pycairo/pycairo-1.18.2.ebuild b/dev-python/pycairo/pycairo-1.18.2.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..bae86c274de |
32 |
--- /dev/null |
33 |
+++ b/dev-python/pycairo/pycairo-1.18.2.ebuild |
34 |
@@ -0,0 +1,57 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI="7" |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) |
41 |
+PYTHON_REQ_USE="threads(+)" |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+DESCRIPTION="Python bindings for the cairo library" |
46 |
+HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" |
47 |
+SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
52 |
+IUSE="doc examples test" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ doc? ( dev-python/sphinx ) |
56 |
+ test? ( |
57 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ >=x11-libs/cairo-1.13.1[svg] |
63 |
+" |
64 |
+DEPEND="${RDEPEND}" |
65 |
+ |
66 |
+RESTRICT="!test? ( test )" |
67 |
+ |
68 |
+python_compile_all() { |
69 |
+ if use doc; then |
70 |
+ sphinx-build docs -b html _build/html || die |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ esetup.py test |
76 |
+} |
77 |
+ |
78 |
+python_install() { |
79 |
+ distutils-r1_python_install \ |
80 |
+ install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" |
81 |
+} |
82 |
+ |
83 |
+python_install_all() { |
84 |
+ use doc && local HTML_DOCS=( _build/html/. ) |
85 |
+ |
86 |
+ if use examples; then |
87 |
+ dodoc -r examples |
88 |
+ fi |
89 |
+ |
90 |
+ distutils-r1_python_install_all |
91 |
+} |