Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycairo/
Date: Sun, 15 Oct 2017 11:01:38
Message-Id: 1508065285.16aeab63235e4e2ea897932fc7426b3be7e57320.mgorny@gentoo
1 commit: 16aeab63235e4e2ea897932fc7426b3be7e57320
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 10:45:04 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 15 11:01:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16aeab63
7
8 dev-python/pycairo: Drop old
9
10 dev-python/pycairo/Manifest | 4 -
11 dev-python/pycairo/pycairo-1.10.0-r4.ebuild | 137 ----------------------------
12 dev-python/pycairo/pycairo-1.13.1-r1.ebuild | 62 -------------
13 dev-python/pycairo/pycairo-1.15.0.ebuild | 65 -------------
14 dev-python/pycairo/pycairo-1.15.1.ebuild | 65 -------------
15 dev-python/pycairo/pycairo-1.15.2.ebuild | 65 -------------
16 6 files changed, 398 deletions(-)
17
18 diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
19 index 712aa2757ee..723b16edc34 100644
20 --- a/dev-python/pycairo/Manifest
21 +++ b/dev-python/pycairo/Manifest
22 @@ -1,7 +1,3 @@
23 DIST py2cairo-1.10.0.tar.bz2 402070 SHA256 d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 SHA512 cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc WHIRLPOOL 60b57d55b27f06acd62714ac6ad7973ab973d42995fb536ae800263a2e8c7451a24ccafd96fe30f5bfa26e1ae218934d4fafaafec3e9666a39b33c78672407e2
24 DIST pycairo-1.10.0.tar.bz2 246556 SHA256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be SHA512 a03db6f04cea504985f390b0734042390f491f32ae2bee1299dabbafd369fde36bb506ebb941d22bbc11b0d008c4f758baeacf309a7336880529455092db829f WHIRLPOOL e779d56d67ef18bbd052d81acb38d8b610ca4bbf787f4b0e3982633de55ff54d6dfa3e5ce1957321fba09f0ec2d12ce12057335de9d5ff3f84c2bc0530415e76
25 -DIST pycairo-1.13.1.tar.gz 123690 SHA256 d8f58de67ddd01eda9e5112de57599b7d0154d71c9474821e98866c228794641 SHA512 705979aec5166d1e750ddf2938934edb18d5093e340d9e604a70dc02499ec478db7b0c84572f7ff287139c1b3982a31a254c36641123aee183b3053efe299d59 WHIRLPOOL 307e052d632a4591b67776b62ea173b647273151411bb8bfa9cc4d6dd066dbba30b3ea2bd1b066f6c91fe0a7275e76d1a6c0ebcb15c9113ab28a3ceec04e59fa
26 -DIST pycairo-1.15.0.tar.gz 167963 SHA256 b469b782ffabeeeb5973b64ee55e993521f32ac658b24baccbcd3f939c4f44f8 SHA512 e27f1b31225fe6eba7722a412a4eb9c591a3ce4887ba5a7edb738f757efa8372c1e2cd6ecd52386c350bb5058d8fa1806ee1d5ecabc2377d1934ded29b8592c9 WHIRLPOOL fcd5764ba1f71513ae164555eea081f21565c03ebd2a48cf89adfe29b3f7b3bdd364b5b19f403e5ade3109beddfc81bfbcd25666285dec1a2833c11e8559f249
27 -DIST pycairo-1.15.1.tar.gz 175924 SHA256 987d392270247343595d37591f80639ed902fce7e30bd2f944cb1b0a9093553d SHA512 931b6ca704fcae501b7671dd6cd964746951e08b5d09dc7118e3ff5c3c1f8aba9d211efe7867b77bb30f14f4700f888c7ed297ec5e8afca06d3d7327835c8e1f WHIRLPOOL 3d85ebebfab81a9447e4073f00f77ad0dc204f7f18799cec37b1afde50831faaa8fb01a713548917fa6dc80f7a165a4a032c92224cf09c9837b0b6e47e7bb973
28 -DIST pycairo-1.15.2.tar.gz 176051 SHA256 a66f30c457736f682162e7b3a33bc5e8915c0f3b31ef9bdb4edf43c81935c914 SHA512 ce0ee0b1775eac75eaee9eddcd9dda21d99a6327bac55e0d2e15ce3a8a1869e4d44c59eada1725ba3cdda16fac4ce33a7c350ffdae3892dac85c5e70033e3ee1 WHIRLPOOL 89d8f9a97c3cd7d5d1b2360641ff361dfca0f2567d01fdc96035f57f5389f49249976c341ff5995d9af515c52171a1e5d0ab222b07d00e4020579b3d35a08a2a
29 DIST pycairo-1.15.3.tar.gz 177056 SHA256 8642e36cef66acbfc02760d2b40c716f5f183d073fb063ba28fd29a14044719d SHA512 1fc75d193eacb976f2e5a594aa07409a0f80ccb21921065c1794961143785eed48be1966d2d2d3e2d0428f9b4e956994dd851d21f3c3cb91fbc27b007a901ce8 WHIRLPOOL e9248366c8eb541bc70ad73c9c6eea995a2527d189584a1ec6f6b835fdeae57d1aa63e2deaa9f790042d0670e7d07af8867b111ac107b53befd354c3cfc70ca1
30
31 diff --git a/dev-python/pycairo/pycairo-1.10.0-r4.ebuild b/dev-python/pycairo/pycairo-1.10.0-r4.ebuild
32 deleted file mode 100644
33 index 4c9419103d4..00000000000
34 --- a/dev-python/pycairo/pycairo-1.10.0-r4.ebuild
35 +++ /dev/null
36 @@ -1,137 +0,0 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI="5"
41 -PYTHON_COMPAT=( python{2_7,3_4} )
42 -PYTHON_REQ_USE='threads(+)'
43 -
44 -inherit eutils python-r1 waf-utils toolchain-funcs
45 -
46 -PYCAIRO_PYTHON2_VERSION="${PV}"
47 -PYCAIRO_PYTHON3_VERSION="${PV}"
48 -
49 -DESCRIPTION="Python bindings for the cairo library"
50 -HOMEPAGE="http://cairographics.org/pycairo/ https://pypi.python.org/pypi/pycairo"
51 -SRC_URI="http://cairographics.org/releases/py2cairo-${PYCAIRO_PYTHON2_VERSION}.tar.bz2
52 - http://cairographics.org/releases/pycairo-${PYCAIRO_PYTHON3_VERSION}.tar.bz2"
53 -
54 -# LGPL-3 for pycairo 1.10.0.
55 -# || ( LGPL-2.1 MPL-1.1 ) for pycairo 1.8.10.
56 -LICENSE="LGPL-3 || ( LGPL-2.1 MPL-1.1 )"
57 -SLOT="0"
58 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
59 -IUSE="doc examples +svg test xcb"
60 -
61 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
62 -
63 -# Note: xpyb is used as the C header, not Python modules
64 -RDEPEND="${PYTHON_DEPS}
65 - >=x11-libs/cairo-1.10.0[svg?,xcb?]
66 - xcb? ( x11-libs/xpyb )"
67 -DEPEND="${RDEPEND}
68 - virtual/pkgconfig
69 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
70 -"
71 -
72 -src_prepare() {
73 -
74 - pushd "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" > /dev/null
75 - rm -f src/config.h || die
76 - epatch "${FILESDIR}/${PN}-1.10.0-svg_check.patch"
77 - epatch "${FILESDIR}/${PN}-1.10.0-xpyb.patch"
78 - epatch "${FILESDIR}/${PN}-1.10.0-waf-unpack.patch"
79 - epatch "${FILESDIR}"/py2cairo-1.10.0-ppc-darwin.patch
80 - popd > /dev/null
81 -
82 - pushd "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" > /dev/null
83 - rm -f src/config.h || die
84 - epatch "${FILESDIR}/py2cairo-1.10.0-svg_check.patch"
85 - epatch "${FILESDIR}/py2cairo-1.10.0-xpyb.patch"
86 - epatch "${FILESDIR}"/py2cairo-1.10.0-ppc-darwin.patch
87 - popd > /dev/null
88 -
89 - preparation() {
90 - if python_is_python3; then
91 - cp -r -l "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" "${BUILD_DIR}" || die
92 - pushd "${BUILD_DIR}" > /dev/null
93 - wafdir="$(./waf unpack)"
94 - pushd "${wafdir}" > /dev/null
95 - epatch "${FILESDIR}/${PN}-1.10.0-waf-py3_4.patch"
96 - popd > /dev/null
97 - popd > /dev/null
98 - else
99 - cp -r -l "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" "${BUILD_DIR}" || die
100 - fi
101 - }
102 - python_foreach_impl preparation
103 -}
104 -
105 -src_configure() {
106 - if ! use svg; then
107 - export PYCAIRO_DISABLE_SVG=1
108 - fi
109 -
110 - if ! use xcb; then
111 - export PYCAIRO_DISABLE_XPYB=1
112 - fi
113 -
114 - tc-export PKG_CONFIG
115 - # Also export the var with the slightly diff name that waf uses for no good reason.
116 - export PKGCONFIG=${PKG_CONFIG}
117 -
118 - # Added by grobian:
119 - # If WAF_BINARY is an absolute path, the configure is different and fails to
120 - # find Python.h due to a compiler misconfiguration. If WAF_BINARY is just
121 - # ./waf or python waf, it works fine. Hooray for reinvented buildsystems
122 -
123 - # floppym:
124 - # pycairo and py2cairo bundle different versions of waf (bug 447856)
125 - WAF_BINARY="./waf"
126 - python_foreach_impl run_in_build_dir waf-utils_src_configure --nopyc --nopyo
127 -}
128 -
129 -src_compile() {
130 - python_foreach_impl run_in_build_dir waf-utils_src_compile
131 -}
132 -
133 -src_test() {
134 - test_installation() {
135 - ./waf install --destdir="${T}/tests/${BUILD_DIR}"
136 - PYTHONPATH="${T}/tests/${BUILD_DIR}$(python_get_sitedir)" py.test -v
137 - }
138 - python_foreach_impl run_in_build_dir test_installation
139 -}
140 -
141 -src_install() {
142 - python_foreach_impl run_in_build_dir waf-utils_src_install
143 -
144 - dodoc AUTHORS NEWS README
145 -
146 - if use doc; then
147 - pushd doc/_build/html > /dev/null || die
148 - dohtml -r [a-z]* _static
149 - popd > /dev/null || die
150 - fi
151 -
152 - if use examples; then
153 - insinto /usr/share/doc/${PF}/examples
154 - doins -r examples/*
155 - fi
156 -
157 - if [[ ${CHOST} == *-darwin* ]] ; then
158 - # fix install_names; next to waf producing dylibs (not bundles) and
159 - # calling them .bundle, it also has no idea what it should do to create
160 - # proper ones (dylibs)
161 - fix_darwin_install_names() {
162 - local x="$(python_get_sitedir)/cairo/_cairo.bundle"
163 - install_name_tool -id "${x}" "${ED}${x}"
164 - }
165 - python_foreach_impl fix_darwin_install_names
166 - fi
167 -}
168 -
169 -run_in_build_dir() {
170 - pushd "${BUILD_DIR}" > /dev/null || die
171 - "$@"
172 - popd > /dev/null || die
173 -}
174
175 diff --git a/dev-python/pycairo/pycairo-1.13.1-r1.ebuild b/dev-python/pycairo/pycairo-1.13.1-r1.ebuild
176 deleted file mode 100644
177 index 30b7fc97e0c..00000000000
178 --- a/dev-python/pycairo/pycairo-1.13.1-r1.ebuild
179 +++ /dev/null
180 @@ -1,62 +0,0 @@
181 -# Copyright 1999-2017 Gentoo Foundation
182 -# Distributed under the terms of the GNU General Public License v2
183 -
184 -EAPI="6"
185 -
186 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
187 -PYTHON_REQ_USE="threads(+)"
188 -
189 -inherit distutils-r1
190 -
191 -DESCRIPTION="Python bindings for the cairo library"
192 -HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo"
193 -SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz"
194 -
195 -LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
196 -SLOT="0"
197 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
198 -IUSE="doc examples test xcb"
199 -
200 -# Note: xpyb is used as the C header, not Python modules
201 -RDEPEND="
202 - >=x11-libs/cairo-1.12.0[svg,xcb?]
203 -"
204 -DEPEND="${RDEPEND}
205 - xcb? ( $(python_gen_cond_dep '>=x11-libs/xpyb-1.3' 'python2*') )
206 - doc? ( dev-python/sphinx )
207 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
208 -"
209 -
210 -python_prepare_all() {
211 - # Fix pkgconfig path
212 - sed -i -e "/libdir =/s:\"lib\":\"$(get_libdir)\":" setup.py || die
213 - distutils-r1_python_prepare_all
214 -}
215 -
216 -python_compile() {
217 - local enable_xpyb
218 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
219 -
220 - esetup.py build ${enable_xpyb}
221 -}
222 -
223 -python_compile_all() {
224 - use doc && emake -C docs
225 -}
226 -
227 -python_test() {
228 - local enable_xpyb
229 - [[ ${EPYTHON} == python2* ]] && enable_xpyb=$(usex xcb "--enable-xpyb" "")
230 -
231 - esetup.py test ${enable_xpyb}
232 -}
233 -
234 -python_install_all() {
235 - use doc && local HTML_DOCS=( docs/_build/. )
236 -
237 - if use examples; then
238 - dodoc -r examples
239 - fi
240 -
241 - distutils-r1_python_install_all
242 -}
243
244 diff --git a/dev-python/pycairo/pycairo-1.15.0.ebuild b/dev-python/pycairo/pycairo-1.15.0.ebuild
245 deleted file mode 100644
246 index 77146c084dc..00000000000
247 --- a/dev-python/pycairo/pycairo-1.15.0.ebuild
248 +++ /dev/null
249 @@ -1,65 +0,0 @@
250 -# Copyright 1999-2017 Gentoo Foundation
251 -# Distributed under the terms of the GNU General Public License v2
252 -
253 -EAPI="6"
254 -
255 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
256 -PYTHON_REQ_USE="threads(+)"
257 -
258 -inherit distutils-r1
259 -
260 -DESCRIPTION="Python bindings for the cairo library"
261 -HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo"
262 -SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz"
263 -
264 -LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
265 -SLOT="0"
266 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
267 -IUSE="doc examples test xcb"
268 -
269 -# Note: xpyb is used as the C header, not Python modules
270 -RDEPEND="
271 - >=x11-libs/cairo-1.13.1[svg,xcb?]
272 -"
273 -DEPEND="${RDEPEND}
274 - xcb? ( $(python_gen_cond_dep '>=x11-libs/xpyb-1.3' 'python2*') )
275 - doc? ( dev-python/sphinx )
276 - test? (
277 - dev-python/pytest[${PYTHON_USEDEP}]
278 - dev-python/hypothesis[${PYTHON_USEDEP}]
279 - )
280 -"
281 -
282 -python_prepare_all() {
283 - # Fix pkgconfig path
284 - sed -i -e "/libdir =/s:\"lib\":\"$(get_libdir)\":" setup.py || die
285 - distutils-r1_python_prepare_all
286 -}
287 -
288 -python_compile() {
289 - local enable_xpyb
290 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
291 -
292 - esetup.py build ${enable_xpyb}
293 -}
294 -
295 -python_compile_all() {
296 - use doc && emake -C docs
297 -}
298 -
299 -python_test() {
300 - local enable_xpyb
301 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
302 -
303 - esetup.py test ${enable_xpyb}
304 -}
305 -
306 -python_install_all() {
307 - use doc && local HTML_DOCS=( docs/_build/. )
308 -
309 - if use examples; then
310 - dodoc -r examples
311 - fi
312 -
313 - distutils-r1_python_install_all
314 -}
315
316 diff --git a/dev-python/pycairo/pycairo-1.15.1.ebuild b/dev-python/pycairo/pycairo-1.15.1.ebuild
317 deleted file mode 100644
318 index 77146c084dc..00000000000
319 --- a/dev-python/pycairo/pycairo-1.15.1.ebuild
320 +++ /dev/null
321 @@ -1,65 +0,0 @@
322 -# Copyright 1999-2017 Gentoo Foundation
323 -# Distributed under the terms of the GNU General Public License v2
324 -
325 -EAPI="6"
326 -
327 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
328 -PYTHON_REQ_USE="threads(+)"
329 -
330 -inherit distutils-r1
331 -
332 -DESCRIPTION="Python bindings for the cairo library"
333 -HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo"
334 -SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz"
335 -
336 -LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
337 -SLOT="0"
338 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
339 -IUSE="doc examples test xcb"
340 -
341 -# Note: xpyb is used as the C header, not Python modules
342 -RDEPEND="
343 - >=x11-libs/cairo-1.13.1[svg,xcb?]
344 -"
345 -DEPEND="${RDEPEND}
346 - xcb? ( $(python_gen_cond_dep '>=x11-libs/xpyb-1.3' 'python2*') )
347 - doc? ( dev-python/sphinx )
348 - test? (
349 - dev-python/pytest[${PYTHON_USEDEP}]
350 - dev-python/hypothesis[${PYTHON_USEDEP}]
351 - )
352 -"
353 -
354 -python_prepare_all() {
355 - # Fix pkgconfig path
356 - sed -i -e "/libdir =/s:\"lib\":\"$(get_libdir)\":" setup.py || die
357 - distutils-r1_python_prepare_all
358 -}
359 -
360 -python_compile() {
361 - local enable_xpyb
362 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
363 -
364 - esetup.py build ${enable_xpyb}
365 -}
366 -
367 -python_compile_all() {
368 - use doc && emake -C docs
369 -}
370 -
371 -python_test() {
372 - local enable_xpyb
373 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
374 -
375 - esetup.py test ${enable_xpyb}
376 -}
377 -
378 -python_install_all() {
379 - use doc && local HTML_DOCS=( docs/_build/. )
380 -
381 - if use examples; then
382 - dodoc -r examples
383 - fi
384 -
385 - distutils-r1_python_install_all
386 -}
387
388 diff --git a/dev-python/pycairo/pycairo-1.15.2.ebuild b/dev-python/pycairo/pycairo-1.15.2.ebuild
389 deleted file mode 100644
390 index 77146c084dc..00000000000
391 --- a/dev-python/pycairo/pycairo-1.15.2.ebuild
392 +++ /dev/null
393 @@ -1,65 +0,0 @@
394 -# Copyright 1999-2017 Gentoo Foundation
395 -# Distributed under the terms of the GNU General Public License v2
396 -
397 -EAPI="6"
398 -
399 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
400 -PYTHON_REQ_USE="threads(+)"
401 -
402 -inherit distutils-r1
403 -
404 -DESCRIPTION="Python bindings for the cairo library"
405 -HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo"
406 -SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz"
407 -
408 -LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
409 -SLOT="0"
410 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
411 -IUSE="doc examples test xcb"
412 -
413 -# Note: xpyb is used as the C header, not Python modules
414 -RDEPEND="
415 - >=x11-libs/cairo-1.13.1[svg,xcb?]
416 -"
417 -DEPEND="${RDEPEND}
418 - xcb? ( $(python_gen_cond_dep '>=x11-libs/xpyb-1.3' 'python2*') )
419 - doc? ( dev-python/sphinx )
420 - test? (
421 - dev-python/pytest[${PYTHON_USEDEP}]
422 - dev-python/hypothesis[${PYTHON_USEDEP}]
423 - )
424 -"
425 -
426 -python_prepare_all() {
427 - # Fix pkgconfig path
428 - sed -i -e "/libdir =/s:\"lib\":\"$(get_libdir)\":" setup.py || die
429 - distutils-r1_python_prepare_all
430 -}
431 -
432 -python_compile() {
433 - local enable_xpyb
434 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
435 -
436 - esetup.py build ${enable_xpyb}
437 -}
438 -
439 -python_compile_all() {
440 - use doc && emake -C docs
441 -}
442 -
443 -python_test() {
444 - local enable_xpyb
445 - python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "")
446 -
447 - esetup.py test ${enable_xpyb}
448 -}
449 -
450 -python_install_all() {
451 - use doc && local HTML_DOCS=( docs/_build/. )
452 -
453 - if use examples; then
454 - dodoc -r examples
455 - fi
456 -
457 - distutils-r1_python_install_all
458 -}