1 |
commit: 26c30981bc0ab3c9035ae043a297453641c2bd10 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 26 17:29:34 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 26 17:45:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c30981 |
7 |
|
8 |
dev-python/pycairo: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pycairo/Manifest | 3 - |
13 |
.../files/pycairo-1.17.0-pkgconfigdir.patch | 71 ---------------------- |
14 |
dev-python/pycairo/pycairo-1.16.3-r1.ebuild | 48 --------------- |
15 |
dev-python/pycairo/pycairo-1.17.0-r1.ebuild | 57 ----------------- |
16 |
dev-python/pycairo/pycairo-1.18.1.ebuild | 55 ----------------- |
17 |
5 files changed, 234 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest |
20 |
index 34b639ececf..131b894f4ca 100644 |
21 |
--- a/dev-python/pycairo/Manifest |
22 |
+++ b/dev-python/pycairo/Manifest |
23 |
@@ -1,4 +1 @@ |
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/files/pycairo-1.17.0-pkgconfigdir.patch b/dev-python/pycairo/files/pycairo-1.17.0-pkgconfigdir.patch |
30 |
deleted file mode 100644 |
31 |
index d4d75a172d6..00000000000 |
32 |
--- a/dev-python/pycairo/files/pycairo-1.17.0-pkgconfigdir.patch |
33 |
+++ /dev/null |
34 |
@@ -1,71 +0,0 @@ |
35 |
-From 430c6ffb65cd839be5ba6266a89f645afa8f9442 Mon Sep 17 00:00:00 2001 |
36 |
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o> |
37 |
-Date: Sun, 14 Oct 2018 12:30:56 +0200 |
38 |
-Subject: [PATCH] setup.py: Support specifying custom --pkgconfigdir |
39 |
- |
40 |
-Support overriding --pkgconfigdir for whenever the autodetection |
41 |
-gives incorrect result (e.g. PyPy). Fixes #119. |
42 |
---- |
43 |
- setup.py | 21 ++++++++++++++++++--- |
44 |
- 1 file changed, 18 insertions(+), 3 deletions(-) |
45 |
- |
46 |
-diff --git a/setup.py b/setup.py |
47 |
-index 36641d9..75c8888 100755 |
48 |
---- a/setup.py |
49 |
-+++ b/setup.py |
50 |
-@@ -14,6 +14,7 @@ except ImportError: |
51 |
- from distutils.core import Extension, Command, Distribution |
52 |
- from distutils.ccompiler import new_compiler |
53 |
- from distutils.sysconfig import customize_compiler |
54 |
-+from distutils.util import change_root |
55 |
- from distutils import log |
56 |
- from distutils import sysconfig |
57 |
- |
58 |
-@@ -265,11 +266,15 @@ class test_cmd(Command): |
59 |
- |
60 |
- class install_pkgconfig(Command): |
61 |
- description = "install .pc file" |
62 |
-- user_options = [] |
63 |
-+ user_options = [ |
64 |
-+ ('pkgconfigdir=', None, 'pkg-config file install directory'), |
65 |
-+ ] |
66 |
- |
67 |
- def initialize_options(self): |
68 |
-+ self.root = None |
69 |
- self.install_base = None |
70 |
- self.install_data = None |
71 |
-+ self.pkgconfigdir = None |
72 |
- self.compiler_type = None |
73 |
- self.outfiles = [] |
74 |
- |
75 |
-@@ -280,6 +285,11 @@ class install_pkgconfig(Command): |
76 |
- ('install_data', 'install_data'), |
77 |
- ) |
78 |
- |
79 |
-+ self.set_undefined_options( |
80 |
-+ 'install', |
81 |
-+ ('root', 'root'), |
82 |
-+ ) |
83 |
-+ |
84 |
- self.set_undefined_options( |
85 |
- 'build_ext', |
86 |
- ('compiler_type', 'compiler_type'), |
87 |
-@@ -315,8 +325,13 @@ class install_pkgconfig(Command): |
88 |
- "Skipping install_pkgconfig, not supported with MSVC") |
89 |
- return |
90 |
- |
91 |
-- python_lib = sysconfig.get_python_lib(True, True, self.install_data) |
92 |
-- pkgconfig_dir = os.path.join(os.path.dirname(python_lib), 'pkgconfig') |
93 |
-+ if self.pkgconfigdir is None: |
94 |
-+ python_lib = sysconfig.get_python_lib(True, True, |
95 |
-+ self.install_data) |
96 |
-+ pkgconfig_dir = os.path.join(os.path.dirname(python_lib), |
97 |
-+ 'pkgconfig') |
98 |
-+ else: |
99 |
-+ pkgconfig_dir = change_root(self.root, self.pkgconfigdir) |
100 |
- self.mkpath(pkgconfig_dir) |
101 |
- |
102 |
- pcname = "py3cairo.pc" if sys.version_info[0] == 3 else "pycairo.pc" |
103 |
--- |
104 |
-2.19.1 |
105 |
- |
106 |
|
107 |
diff --git a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild |
108 |
deleted file mode 100644 |
109 |
index c957ba9a2d7..00000000000 |
110 |
--- a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild |
111 |
+++ /dev/null |
112 |
@@ -1,48 +0,0 @@ |
113 |
-# Copyright 1999-2020 Gentoo Authors |
114 |
-# Distributed under the terms of the GNU General Public License v2 |
115 |
- |
116 |
-EAPI="6" |
117 |
- |
118 |
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) |
119 |
-PYTHON_REQ_USE="threads(+)" |
120 |
- |
121 |
-inherit distutils-r1 |
122 |
- |
123 |
-DESCRIPTION="Python bindings for the cairo library" |
124 |
-HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" |
125 |
-SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" |
126 |
- |
127 |
-LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
130 |
-IUSE="doc examples test" |
131 |
-RESTRICT="!test? ( test )" |
132 |
- |
133 |
-RDEPEND=" |
134 |
- >=x11-libs/cairo-1.13.1[svg] |
135 |
-" |
136 |
-DEPEND="${RDEPEND} |
137 |
- doc? ( dev-python/sphinx ) |
138 |
- test? ( |
139 |
- dev-python/pytest[${PYTHON_USEDEP}] |
140 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
141 |
- ) |
142 |
-" |
143 |
- |
144 |
-python_compile_all() { |
145 |
- use doc && emake -C docs |
146 |
-} |
147 |
- |
148 |
-python_test() { |
149 |
- esetup.py test |
150 |
-} |
151 |
- |
152 |
-python_install_all() { |
153 |
- use doc && local HTML_DOCS=( docs/_build/. ) |
154 |
- |
155 |
- if use examples; then |
156 |
- dodoc -r examples |
157 |
- fi |
158 |
- |
159 |
- distutils-r1_python_install_all |
160 |
-} |
161 |
|
162 |
diff --git a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild |
163 |
deleted file mode 100644 |
164 |
index 374788a138c..00000000000 |
165 |
--- a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild |
166 |
+++ /dev/null |
167 |
@@ -1,57 +0,0 @@ |
168 |
-# Copyright 1999-2020 Gentoo Authors |
169 |
-# Distributed under the terms of the GNU General Public License v2 |
170 |
- |
171 |
-EAPI="6" |
172 |
- |
173 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
174 |
-PYTHON_REQ_USE="threads(+)" |
175 |
- |
176 |
-inherit distutils-r1 |
177 |
- |
178 |
-DESCRIPTION="Python bindings for the cairo library" |
179 |
-HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" |
180 |
-SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" |
181 |
- |
182 |
-LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
183 |
-SLOT="0" |
184 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
185 |
-IUSE="doc examples test" |
186 |
-RESTRICT="!test? ( test )" |
187 |
- |
188 |
-RDEPEND=" |
189 |
- >=x11-libs/cairo-1.13.1[svg] |
190 |
-" |
191 |
-DEPEND="${RDEPEND} |
192 |
- doc? ( dev-python/sphinx ) |
193 |
- test? ( |
194 |
- dev-python/pytest[${PYTHON_USEDEP}] |
195 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
196 |
- ) |
197 |
-" |
198 |
- |
199 |
-PATCHES=( |
200 |
- "${FILESDIR}"/pycairo-1.17.0-pkgconfigdir.patch |
201 |
-) |
202 |
- |
203 |
-python_compile_all() { |
204 |
- use doc && emake -C docs |
205 |
-} |
206 |
- |
207 |
-python_test() { |
208 |
- esetup.py test |
209 |
-} |
210 |
- |
211 |
-python_install() { |
212 |
- distutils-r1_python_install \ |
213 |
- install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" |
214 |
-} |
215 |
- |
216 |
-python_install_all() { |
217 |
- use doc && local HTML_DOCS=( docs/_build/. ) |
218 |
- |
219 |
- if use examples; then |
220 |
- dodoc -r examples |
221 |
- fi |
222 |
- |
223 |
- distutils-r1_python_install_all |
224 |
-} |
225 |
|
226 |
diff --git a/dev-python/pycairo/pycairo-1.18.1.ebuild b/dev-python/pycairo/pycairo-1.18.1.ebuild |
227 |
deleted file mode 100644 |
228 |
index ea83bd34530..00000000000 |
229 |
--- a/dev-python/pycairo/pycairo-1.18.1.ebuild |
230 |
+++ /dev/null |
231 |
@@ -1,55 +0,0 @@ |
232 |
-# Copyright 1999-2020 Gentoo Authors |
233 |
-# Distributed under the terms of the GNU General Public License v2 |
234 |
- |
235 |
-EAPI="7" |
236 |
- |
237 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
238 |
-PYTHON_REQ_USE="threads(+)" |
239 |
- |
240 |
-inherit distutils-r1 |
241 |
- |
242 |
-DESCRIPTION="Python bindings for the cairo library" |
243 |
-HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" |
244 |
-SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" |
245 |
- |
246 |
-LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
247 |
-SLOT="0" |
248 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
249 |
-IUSE="doc examples test" |
250 |
-RESTRICT="!test? ( test )" |
251 |
- |
252 |
-RDEPEND=" |
253 |
- >=x11-libs/cairo-1.13.1[svg] |
254 |
-" |
255 |
-DEPEND="${RDEPEND} |
256 |
- doc? ( dev-python/sphinx ) |
257 |
- test? ( |
258 |
- dev-python/pytest[${PYTHON_USEDEP}] |
259 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
260 |
- ) |
261 |
-" |
262 |
- |
263 |
-python_compile_all() { |
264 |
- if use doc; then |
265 |
- sphinx-build docs -b html _build/html || die |
266 |
- fi |
267 |
-} |
268 |
- |
269 |
-python_test() { |
270 |
- esetup.py test |
271 |
-} |
272 |
- |
273 |
-python_install() { |
274 |
- distutils-r1_python_install \ |
275 |
- install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" |
276 |
-} |
277 |
- |
278 |
-python_install_all() { |
279 |
- use doc && local HTML_DOCS=( _build/html/. ) |
280 |
- |
281 |
- if use examples; then |
282 |
- dodoc -r examples |
283 |
- fi |
284 |
- |
285 |
- distutils-r1_python_install_all |
286 |
-} |