drop(dev-python/pycairo): x11-libs/cairo is gone, remove python lib

This commit is contained in:
Michael Marineau 2013-08-04 21:21:29 -04:00
parent 5c6b6a7c88
commit 5a31b2c25a
14 changed files with 0 additions and 1472 deletions

View File

@ -1,531 +0,0 @@
# ChangeLog for dev-python/pycairo
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.143 2013/06/30 13:50:50 jlec Exp $
30 Jun 2013; Justin Lecher <jlec@gentoo.org> pycairo-1.10.0-r4.ebuild,
metadata.xml:
Fix usage of python-r1.eclass
10 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for s390, wrt bug #458992
02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for hppa, wrt bug #458988
02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for sh, wrt bug #458988
31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for sparc, wrt bug #458988
30 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for alpha, wrt bug #458988
28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for ia64, wrt bug #458988
26 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for ppc64, wrt bug #458988
26 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for ppc, wrt bug #458988
24 Mar 2013; Markus Meier <maekke@gentoo.org> pycairo-1.10.0-r4.ebuild:
arm stable, bug #458988
23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for x86, wrt bug #458988
23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r4.ebuild:
Stable for amd64, wrt bug #458988
06 Mar 2013; Michał Górny <mgorny@gentoo.org> pycairo-1.10.0-r4.ebuild:
Add a note about use of xpyb.
14 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> pycairo-1.10.0-r4.ebuild:
Keyworded amd64-linux and x86-linux
13 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> pycairo-1.10.0-r4.ebuild:
Add python3_3 to the list of supported python.
13 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> pycairo-1.10.0-r4.ebuild:
Fix ebuild per mgorny's comment.
*pycairo-1.10.0-r4 (13 Jan 2013)
13 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org>
+pycairo-1.10.0-r4.ebuild:
Switch to EAPI=5 and python-r1.eclass.
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r3.ebuild:
Add ~sparc, wrt bug #449220
05 Jan 2013; Mike Gilbert <floppym@gentoo.org> pycairo-1.10.0-r2.ebuild:
Restrict pypy and cleanup src_test.
05 Jan 2013; Mike Gilbert <floppym@gentoo.org> pycairo-1.10.0-r3.ebuild:
Annotate the WAF_BINARY setting thanks to Alexander Patrakov and cleanup
src_test. Bug 447856.
04 Jan 2013; Ian Delaney <idella4@gentoo.org> pycairo-1.10.0-r3.ebuild:
Restricting pypy, its capacity to run the testsuite totally broken by the last
revbump changes
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r3.ebuild:
Add ~alpha, wrt bug #449220
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r3.ebuild:
Add ~ia64, wrt bug #442934
05 Dec 2012; Fabian Groffen <grobian@gentoo.org>
+files/py2cairo-1.10.0-ppc-darwin.patch, pycairo-1.10.0-r3.ebuild:
Fix for Darwin/Prefix, added *-macos keywords, bug #442934
22 Nov 2012; Anthony G. Basile <blueness@gentoo.org> pycairo-1.10.0-r3.ebuild:
keyword mips, bug #442934
22 Nov 2012; Anthony G. Basile <blueness@gentoo.org> pycairo-1.10.0-r3.ebuild:
keyword arm, bug #442934
21 Nov 2012; Alexis Ballier <aballier@gentoo.org> pycairo-1.10.0-r3.ebuild:
keyword ~amd64-fbsd, bug #442934
16 Nov 2012; Anthony G. Basile <blueness@gentoo.org> pycairo-1.10.0-r3.ebuild:
keyword ~ppc ~ppc64, bug #442934
15 Nov 2012; Jeroen Roovers <jer@gentoo.org> pycairo-1.10.0-r3.ebuild:
Marked ~hppa (bug #442934).
14 Nov 2012; <naota@gentoo.org> pycairo-1.10.0-r3.ebuild:
Add ~x86-fbsd wrt #442934
13 Nov 2012; Tim Harder <radhermit@gentoo.org> pycairo-1.10.0-r3.ebuild:
Add conditional dep on cairo with xcb enabled.
*pycairo-1.10.0-r3 (13 Nov 2012)
13 Nov 2012; Tim Harder <radhermit@gentoo.org> +pycairo-1.10.0-r3.ebuild,
+files/py2cairo-1.10.0-xpyb.patch, +files/pycairo-1.10.0-xpyb.patch:
Revision bump. Add xcb use flag which enables support for xpyb (bug #416565,
patch slightly modified from upstream to avoid automagic deps).
06 Nov 2012; Ian Delaney <idella4@gentoo.org> pycairo-1.10.0-r2.ebuild:
python 2.4, pypy removed from RESTRICT_PYTHON_ABIS, test phase updated
implementing pypy, fixes Bug #420497
02 Jun 2012; Marien Zwart <marienz@gentoo.org>
-files/pycairo-1.8.10-cairo.version_info.patch, -pycairo-1.10.0-r1.ebuild,
-pycairo-1.10.0.ebuild, pycairo-1.10.0-r2.ebuild, pycairo-1.8.10.ebuild:
Restrict pypy (bug #397393), remove stale versions.
12 May 2012; Alexis Ballier <aballier@gentoo.org> pycairo-1.10.0-r2.ebuild:
keyword ~amd64-fbsd
04 May 2012; Patrick Lauer <patrick@gentoo.org> pycairo-1.10.0-r1.ebuild,
pycairo-1.10.0-r2.ebuild, pycairo-1.10.0.ebuild, pycairo-1.8.10.ebuild:
Migrating dev-util/pkgconfig -> virtual/pkgconfig
13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> pycairo-1.10.0-r2.ebuild:
ppc64 stable wrt #393403
01 Feb 2012; Brent Baude <ranger@gentoo.org> pycairo-1.10.0-r2.ebuild:
Marking pycairo-1.10.0-r2 ppc for bug 393403
18 Dec 2011; Raúl Porcel <armin76@gentoo.org> pycairo-1.10.0-r2.ebuild:
alpha/arm/ia64/sh/sparc stable wrt #393403
15 Dec 2011; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r2.ebuild:
Stable for AMD64, wrt bug #393403
14 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
pycairo-1.10.0-r2.ebuild:
x86 stable wrt bug #393403
13 Dec 2011; Jeroen Roovers <jer@gentoo.org> pycairo-1.10.0-r2.ebuild:
Stable for HPPA (bug #393403).
*pycairo-1.10.0-r2 (06 Jul 2011)
06 Jul 2011; Dirkjan Ochtman <djc@gentoo.org> +pycairo-1.10.0-r2.ebuild:
Remove config.h to fix SVG (bug 368601).
*pycairo-1.10.0-r1 (08 May 2011)
08 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+pycairo-1.10.0-r1.ebuild, +files/py2cairo-1.10.0-svg_check.patch:
1.10.0 version bump for Python 2.
*pycairo-1.10.0 (24 Apr 2011)
24 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+files/pycairo-1.8.10-cairo.version_info.patch, +pycairo-1.10.0.ebuild,
+files/pycairo-1.10.0-svg_check.patch:
Version bump. This ebuild provides pycairo 1.10.0 for Python 3 and pycairo
1.8.10 for Python 2. Fix cairo.version_info in pycairo 1.8.10 for Python 2
(bug #361781).
23 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-pycairo-1.8.8.ebuild, -files/pycairo-1.8.8-pkgconfig_dir.patch:
Delete.
18 Oct 2010; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.10.ebuild:
Stable for PPC (bug #337146).
18 Oct 2010; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.10.ebuild:
Stable for HPPA (bug #337146).
03 Oct 2010; Raúl Porcel <armin76@gentoo.org> pycairo-1.8.10.ebuild:
alpha/arm/ia64/sh/sparc stable wrt #337146
02 Oct 2010; Fabian Groffen <grobian@gentoo.org> pycairo-1.8.10.ebuild:
Marked ~x64-macos, bug #333981
26 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> pycairo-1.8.10.ebuild:
ppc64 stable wrt #337146
21 Sep 2010; Markos Chandras <hwoarang@gentoo.org> pycairo-1.8.10.ebuild:
Stable on amd64 wrt bug #337146
15 Sep 2010; Christian Faulhammer <fauli@gentoo.org>
pycairo-1.8.10.ebuild:
stable x86, bug 337146
25 Jul 2010; Tobias Klausmann <klausman@gentoo.org> pycairo-1.8.10.ebuild:
Keyworded on alpha, bug #324617
25 Jul 2010; Tobias Klausmann <klausman@gentoo.org> pycairo-1.8.10.ebuild:
Stable on alpha, bug #324617
21 Jul 2010; Markus Meier <maekke@gentoo.org> pycairo-1.8.10.ebuild:
add ~arm, bug #324617
09 Jul 2010; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.10.ebuild:
Marked ~hppa (bug #324617).
02 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.10.ebuild:
Fix tests (bug #326635).
*pycairo-1.8.10 (18 Jun 2010)
18 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-pycairo-1.4.12.ebuild, -pycairo-1.8.2.ebuild, -pycairo-1.8.4.ebuild,
-pycairo-1.8.6.ebuild, +pycairo-1.8.10.ebuild,
+files/pycairo-1.8.10-pkgconfig_dir.patch:
Version bump.
07 Feb 2010; Peter Volkov <pva@gentoo.org> pycairo-1.8.8.ebuild:
Add inherit eutils: epatch is defined there.
10 Nov 2009; Brent Baude <ranger@gentoo.org> pycairo-1.8.8.ebuild:
Marking pycairo-1.8.8 ppc64 for bug 285115
19 Oct 2009; Raúl Porcel <armin76@gentoo.org> pycairo-1.8.8.ebuild:
arm/ia64/sh/sparc stable wrt #285115
11 Oct 2009; Fabian Groffen <grobian@gentoo.org> pycairo-1.8.8.ebuild:
Merge from Prefix
07 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.8.ebuild:
Fix tests (bug #285688).
01 Oct 2009; Tobias Klausmann <klausman@gentoo.org> pycairo-1.8.8.ebuild:
Stable on alpha, bug #285115
27 Sep 2009; nixnut <nixnut@gentoo.org> pycairo-1.8.8.ebuild:
ppc stable #285115
22 Sep 2009; Markus Meier <maekke@gentoo.org> pycairo-1.8.8.ebuild:
amd64/x86 stable, bug #285115
19 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.8.ebuild, +files/pycairo-1.8.8-svg_check.patch:
Improve dependencies (bug #269682).
17 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.8.ebuild:
Update dependency on dev-python/sphinx. Fix tests.
16 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.8.ebuild, +files/pycairo-1.8.8-pkgconfig_dir.patch:
Install pycairo.pc in correct directory (bug #283360).
14 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.8.ebuild:
Don't enable "svg" USE flag by IUSE (bug #284833).
10 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.8.ebuild:
Add "svg" USE flag (bug #269682).
*pycairo-1.8.8 (29 Aug 2009)
29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+pycairo-1.8.8.ebuild:
Version bump.
08 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.6.ebuild:
Set SUPPORT_PYTHON_ABIS.
10 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pycairo-1.8.6.ebuild:
Add "doc" USE flag (bug #276805).
*pycairo-1.8.6 (09 Jul 2009)
09 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+pycairo-1.8.6.ebuild:
Version bump.
01 May 2009; Raúl Porcel <armin76@gentoo.org> pycairo-1.8.2.ebuild:
alpha/arm/ia64/sh/sparc stable wrt #267433
29 Apr 2009; Brent Baude <ranger@gentoo.org> pycairo-1.8.2.ebuild:
stable ppc64, bug 267433
28 Apr 2009; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.2.ebuild:
Stable for HPPA (bug #267433).
27 Apr 2009; Markus Meier <maekke@gentoo.org> pycairo-1.8.2.ebuild:
amd64/x86 stable, bug #267433
26 Apr 2009; Brent Baude <ranger@gentoo.org> pycairo-1.8.2.ebuild:
stable ppc, bug 267433
*pycairo-1.8.4 (25 Apr 2009)
25 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-files/pycairo-1.2.2-no-automagic-deps.patch,
-files/pycairo-1.2.6-no-automagic-deps.patch, -pycairo-1.2.2.ebuild,
-pycairo-1.2.6.ebuild, -pycairo-1.4.0.ebuild, pycairo-1.8.2,
+pycairo-1.8.4.ebuild:
Version bump.
*pycairo-1.8.2 (24 Jan 2009)
24 Jan 2009; Patrick Lauer <patrick@gentoo.org> +pycairo-1.8.2.ebuild:
Bump to 1.8.2, fixes #255360
10 Nov 2008; Raúl Porcel <armin76@gentoo.org> pycairo-1.4.12.ebuild:
arm/sh stable
06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
21 Jul 2008; nixnut <nixnut@gentoo.org> pycairo-1.4.12.ebuild:
Stable on ppc wrt bug 232327
19 Jul 2008; Jeroen Roovers <jer@gentoo.org> pycairo-1.4.12.ebuild:
Stable for HPPA (bug #232327).
19 Jul 2008; Olivier Crête <tester@gentoo.org> pycairo-1.4.12.ebuild:
Stable on amd64, bug #232327
29 May 2008; Ali Polatel <hawking@gentoo.org> pycairo-1.2.2.ebuild,
pycairo-1.2.6.ebuild:
python_mod_optimize is ROOT aware.
12 May 2008; Markus Rothe <corsair@gentoo.org> pycairo-1.4.12.ebuild:
Stable on ppc64
10 Mar 2008; <ricmm@gentoo.org> pycairo-1.2.6.ebuild,
pycairo-1.4.0.ebuild:
Drop to ~mips to match x11-libs/cairo
07 Feb 2008; Raúl Porcel <armin76@gentoo.org> pycairo-1.4.12.ebuild:
alpha/ia64/sparc/x86 stable
26 Dec 2007; Ali Polatel <hawking@gentoo.org> pycairo-1.4.12.ebuild:
Use DOCS, fixes #203333
*pycairo-1.4.12 (15 Dec 2007)
15 Dec 2007; Lukasz Strzygowski <lucass@gentoo.org>
+pycairo-1.4.12.ebuild:
Version bump.
06 Aug 2007; Joshua Kinard <kumba@gentoo.org> pycairo-1.4.0.ebuild:
Stable on mips, per #185823.
24 Jul 2007; Steve Dibb <beandog@gentoo.org> pycairo-1.4.0.ebuild:
amd64 stable, bug 185649
20 Jul 2007; nixnut <nixnut@gentoo.org> pycairo-1.4.0.ebuild:
Stable on ppc wrt bug 185649
17 Jul 2007; Jeroen Roovers <jer@gentoo.org> pycairo-1.4.0.ebuild:
Stable for HPPA (bug #185649).
17 Jul 2007; Markus Rothe <corsair@gentoo.org> pycairo-1.4.0.ebuild:
Stable on ppc64; bug #185649
17 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.4.0.ebuild:
Stable on sparc wrt #185649
17 Jul 2007; Raúl Porcel <armin76@gentoo.org> pycairo-1.4.0.ebuild:
alpha/ia64/x86 stable wrt #185649
17 Jul 2007; Ali Polatel <hawking@gentoo.org> pycairo-1.4.0.ebuild:
Use distutils, added src_test
30 Jun 2007; Ali Polatel <hawking@gentoo.org> pycairo-1.2.2.ebuild,
pycairo-1.2.6.ebuild, pycairo-1.4.0.ebuild:
Add python_mod_optimize/cleanup wrt bug 177559, use NEED_PYTHON, add
trailing slash to HOMEPAGE
15 Jun 2007; Doug Goldstein <cardoe@gentoo.org> -pycairo-1.0.2.ebuild:
remove old version since cairo 1.0.x is going bye bye
27 May 2007; Joshua Kinard <kumba@gentoo.org> pycairo-1.2.6.ebuild:
Stable on mips.
*pycairo-1.4.0 (14 Mar 2007)
14 Mar 2007; Marien Zwart <marienz@gentoo.org> +pycairo-1.4.0.ebuild:
Version bump, thanks to Cardoe for reporting.
28 Jan 2007; Roy Marples <uberlord@gentoo.org> pycairo-1.2.6.ebuild:
Reverted to make install as emake install with a high -j fails on fbsd.
26 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> pycairo-1.2.6.ebuild:
Added ~mips; bug #161039
20 Jan 2007; Bryan Østergaard <kloeri@gentoo.org> pycairo-1.2.2.ebuild:
Stable on Alpha.
08 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> pycairo-1.2.2.ebuild:
Added WANT_AUTO*, bug #160246
*pycairo-1.2.6 (06 Jan 2007)
06 Jan 2007; Tiziano Müller <dev-zero@gentoo.org>
-files/pycairo-1.2.0-no-automagic-deps.patch,
+files/pycairo-1.2.6-no-automagic-deps.patch, pycairo-1.0.2.ebuild,
-pycairo-1.0.2-r1.ebuild, -pycairo-1.2.0.ebuild, pycairo-1.2.2.ebuild,
+pycairo-1.2.6.ebuild:
Added examples USE-flag (bug #111508). Dropped old versions. Version bump.
01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.2.2.ebuild:
Stable on hppa wrt #155544
24 Nov 2006; Markus Rothe <corsair@gentoo.org> pycairo-1.2.2.ebuild:
Stable on ppc64; bug #155544
21 Nov 2006; Christian Faulhammer <opfer@gentoo.org> pycairo-1.2.2.ebuild:
stable x86, bug #155544
21 Nov 2006; Joseph Jezak <josejx@gentoo.org> pycairo-1.2.2.ebuild:
Marked ppc stable for bug #155713.
20 Nov 2006; <blubb@gentoo.org> pycairo-1.2.2.ebuild:
stable on amd64
20 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.2.2.ebuild:
Stable on sparc wrt #155544
01 Oct 2006; Marien Zwart <marienz@gentoo.org> pycairo-1.0.2.ebuild,
pycairo-1.0.2-r1.ebuild, pycairo-1.2.0.ebuild, pycairo-1.2.2.ebuild:
Add pkgconfig to DEPEND. Closes bug #149730, thanks to bonsaikitten for
reporting.
*pycairo-1.2.2 (25 Sep 2006)
25 Sep 2006; Marien Zwart <marienz@gentoo.org>
+files/pycairo-1.2.2-no-automagic-deps.patch, +pycairo-1.2.2.ebuild:
Version bump with an updated ebuild by Martin von Gagern
<Martin.vGagern@gmx.net> from bug #145399.
06 Sep 2006; Javier Villavicencio <the_paya@gentoo.org>
pycairo-1.2.0.ebuild:
Add ~x86-fbsd keyword.
04 Sep 2006; Joshua Kinard <kumba@gentoo.org> pycairo-1.0.2.ebuild:
Marked stable on mips.
07 Aug 2006; Alastair Tse <liquidx@gentoo.org> pycairo-1.0.2.ebuild,
pycairo-1.0.2-r1.ebuild:
fix pycairo-1.0.2 deps to cairo-1.0* (#142998)
*pycairo-1.2.0 (04 Jul 2006)
04 Jul 2006; Marien Zwart <marienz@gentoo.org>
+files/pycairo-1.2.0-no-automagic-deps.patch, +pycairo-1.2.0.ebuild:
Version bump (in package.mask). Fix automagic dependencies, minor quoting fix.
06 Jun 2006; Carsten Lohrke <carlo@gentoo.org> ChangeLog:
Fix use of nonexistent versioned virtual/python.
06 Jun 2006; Carsten Lohrke <carlo@gentoo.org> -pycairo-0.1.4.ebuild,
-pycairo-0.9.0.ebuild:
Clean up.
*pycairo-1.0.2-r1 (12 May 2006)
12 May 2006; John N. Laliberte <allanonjl@gentoo.org>
+pycairo-1.0.2-r1.ebuild:
remove dep on pygtk since the cairo.gtk is not built if pygtk is >=2.7.0.
fixes a circular dep with pygtk <-> pycairo.
04 Feb 2006; Aron Griffis <agriffis@gentoo.org> pycairo-1.0.2.ebuild:
Mark 1.0.2 stable on ia64
03 Feb 2006; Guy Martin <gmsoft@gentoo.org> pycairo-1.0.2.ebuild:
Stable on hppa.
31 Jan 2006; Aron Griffis <agriffis@gentoo.org> pycairo-1.0.2.ebuild:
Mark 1.0.2 stable on alpha
22 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
pycairo-1.0.2.ebuild:
Marked ppc stable for bug #119634; Stabilize Gnome-2.12.2
22 Jan 2006; <dang@gentoo.org> pycairo-1.0.2.ebuild:
Marked stable on amd64 per bug #119634
22 Jan 2006; Markus Rothe <corsair@gentoo.org> pycairo-1.0.2.ebuild:
Stable on ppc64
22 Jan 2006; Joshua Jackson <tsunam@gentoo.org> pycairo-1.0.2.ebuild:
Stable on x86 for bug #119634; Stabilize Gnome-2.12.2
20 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.0.2.ebuild:
Stable on sparc wrt #119634
26 Dec 2005; Bryan Østergaard <kloeri@gentoo.org pycairo-0.9.0.ebuild,
pycairo-1.0.2.ebuild:
~alpha keyword.
*pycairo-1.0.2 (21 Dec 2005)
21 Dec 2005; Lukasz Strzygowski <lucass@gentoo.org> +pycairo-1.0.2.ebuild:
Version bump and cleanup. Closing bug #104060.
31 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> pycairo-0.9.0.ebuild:
~ia64 keyword.
19 Oct 2005; Tom Gall <tgall@gentoo.org> pycairo-0.9.0.ebuild:
added ~ppc64, bug #108808
25 Sep 2005; Tobias Scherbaum <dertobi123@gentoo.org>
pycairo-0.9.0.ebuild:
Added to ~ppc
20 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-0.9.0.ebuild:
Keyworded ~sparc
30 Aug 2005; <dang@gentoo.org> pycairo-0.9.0.ebuild:
Marked ~amd64
*pycairo-0.9.0 (26 Aug 2005)
26 Aug 2005; John N. Laliberte <allanonjl@gentoo.org>
+pycairo-0.9.0.ebuild:
new version, needed for pygtk. approved by kloeri
*pycairo-0.1.4 (04 Feb 2005)
04 Feb 2005; Fernando Serboncini <fserb@gentoo.org> +metadata.xml,
+pycairo-0.1.4.ebuild:
Initial ebuild

View File

@ -1,26 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
AUX py2cairo-1.10.0-ppc-darwin.patch 446 SHA256 c957cd14eb2c3fce0169a54b13665522fe1ada1af61a865903aad595afa309b1 SHA512 003e3266542242d349baa522552392aa448738f91a37ef0e6c8dedc3e0c179ca98167ab2ea7d75bd7d708f24f286099440a7a6a784767530eca161486403b033 WHIRLPOOL 0695123f4c9b3e82c22f1ba632243226d1dfe50442ea515abe440632221984c10aff233b8407a0e8dd4f594a1464c4fb7f121e43cfd0d03a2529ed1163e1a649
AUX py2cairo-1.10.0-svg_check.patch 2912 SHA256 c35d96be5be571c2f4c3415e4016a7e70a5edd6164818af80d16855e4e4efe72 SHA512 e0069738659db0fa3c0532efa7e53fed5f088ee4ce276fd6ddcfcd0ee1e8b4861a09330afe8a30bb45b912c7a93cf6e42dd6057ad7f5adabfdddeb58bc10bbe8 WHIRLPOOL 90ccae77f2641c1f9f4ad6f6497fd7912a952b7b948fe64845e8c60629d4f70c590fd33dd276c54cbc8251d45e8bd201841d7bc3fa04a37a314f1f375b8250c7
AUX py2cairo-1.10.0-xpyb.patch 952 SHA256 d6809bf00608d007f866040025392174e0cf3efe3ac03277436e00bacdcef54a SHA512 45fa1d32a8a4fc79b10e9221af286eef3f9d2c2b4991c066b1e18bd329feb764d07c4ebc58e1926ae86c4cb4a2ed0fd172f75f7479cec0be51ec5c5da6d4f13d WHIRLPOOL f8818581d471735748b546ffa0f4ac42bc5f623ae0ab383a70cf5977727ba933509497d3071aeb572e764c5e164680c16f8d476b0d8f1b7659dda7190b226cda
AUX pycairo-1.10.0-svg_check.patch 2924 SHA256 f9d2bac70bcca57c523e69403cb7332bf4ade0427998b6a3dc16730bcc17b6c7 SHA512 a05fc725c9c8ac48b262795c6c6e56b3a432f73d69657565763292f74cbd8b3d4eaabc1a5dd5db0b74cad297cc330caed271c40fbb16d459019b4c75ab33ccef WHIRLPOOL ceaf8bf26f9783bd017fbfb6b81f00ece0122d1f57ad6ae3d87f40b39d7a4bbb47bab89891f3f12357f44f26039a6c63bf46b25765fac2412bd079c6e17dd6cf
AUX pycairo-1.10.0-xpyb.patch 1112 SHA256 5c6ae65a5f1b6eee0e56fb39f7fade34dc20dc38c7cefa5841a45d8c23bb9a0c SHA512 69c826970b36075b3a1ce63b2db89ac1779902a570af95b28c07536ce91c3c9adce234444a86b6211e9b53b0293a56173de88d76f50f77a0ed3aa17e2aefcfb3 WHIRLPOOL 30d18f9910ed29d798d5eae610f608af76d2b0c1fb89801f25b1ca9b97e58d2a15ab1c948386ad326d249ffe899e0187561c2708b692287b80039e21f5185b88
AUX pycairo-1.8.10-pkgconfig_dir.patch 339 SHA256 9c3d630afa545825448a34b4bf0782c5bde94058fa2263f65054c525b8d585ed SHA512 bbeb9e1dfafbe60ea2ad8f34b01d375cd5da69faf94c3b6a69324d4ec3c5199090bf4bc733a25af55b697236baf0c8eda66f08f17f311b24e7ba9be681699d97 WHIRLPOOL 3717eb4704db4298675210ede09c10847cb283a3718e6d572569a256eb6e76f84575b74262b22d56a83abd6feef557c93e2f7528fbecfa851e20b74fdbd90076
AUX pycairo-1.8.8-svg_check.patch 3009 SHA256 eff2f24f5bf93ca45b18d57287ced0a1241391ece20dd57d21842f2ca820fd72 SHA512 35c93d85c7911052ea81e5e91ea8f19a199e957bee4e19004e8e8b806976997cdfb654cde2cf255988afdcd0c23a046cb3fe390de7600c7788a309a446f43632 WHIRLPOOL 3c7925d5d8e2edb22065634b71d168aeb89c013929298a2201963553611ca770b2965f4cd7aa180a899789afe0d811a18f2105efd6098d0e5d68c5ba4da497d9
DIST py2cairo-1.10.0.tar.bz2 402070 SHA256 d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 SHA512 cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc WHIRLPOOL 60b57d55b27f06acd62714ac6ad7973ab973d42995fb536ae800263a2e8c7451a24ccafd96fe30f5bfa26e1ae218934d4fafaafec3e9666a39b33c78672407e2
DIST py2cairo-1.8.10.tar.gz 588459 SHA256 b15f71019e42e06d86f7e8fe5587f07c3de5a59a6c3a071b25fe100796dbcd56 SHA512 d08cf2fa03034fea8a3abad6fd60c9ca5b717bfd8322a3b584e8bb4003925516a6259d317986d2ff14b8e9356ccdb887a5ff7a50f2c341f120e8643c958bccd4 WHIRLPOOL 2261d70c63d9b6d1935cf5f5adac2a03adaac016a6cf41a4974b0ad1a481f060fb0ec5ee6f6d05c219f097caad40c5df8117750404f45740c52ebccb5d16b223
DIST pycairo-1.10.0.tar.bz2 246556 SHA256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be SHA512 a03db6f04cea504985f390b0734042390f491f32ae2bee1299dabbafd369fde36bb506ebb941d22bbc11b0d008c4f758baeacf309a7336880529455092db829f WHIRLPOOL e779d56d67ef18bbd052d81acb38d8b610ca4bbf787f4b0e3982633de55ff54d6dfa3e5ce1957321fba09f0ec2d12ce12057335de9d5ff3f84c2bc0530415e76
EBUILD pycairo-1.10.0-r2.ebuild 2862 SHA256 2aaaf0d61d3203565f9939ac23f0fdd18f290c25c8c86ac755bccb16c6b575c2 SHA512 99b98caf3918236ceeb2641abdcbaa576bcb1d1e85422c84ac70658b65571fe2d6012f7c2b92727f7b4c9a5e364a4460980306da95cf2b983179c53a340a3893 WHIRLPOOL 5df3aca125808c9fba41938702d51dae662513fbb86069b3e8cca697b6d21bf943d0cb9ff6e25f99d956383b10c6c0d84487ee210dd71763c51b3cb151303a5d
EBUILD pycairo-1.10.0-r3.ebuild 3838 SHA256 062e693f425647d1b1e1e821cfd114cad0e02541cf7147658d1292092aa64d79 SHA512 e850ac825110eebc13c739032a6c2d424f3ac76b09cd5c63b0aa485c3139f0b3179181ceffceb03002c87a412715f9fff34de78c1a36b1fcecb3db9d7cc6d6a1 WHIRLPOOL 01c6bdc022d131c85e00a19b178b64d254d795caf407680a48d2f7982fea6538ab28838b0b70c029951ccee3af0992a541f0f7ba070728a38587f665a7ab969e
EBUILD pycairo-1.10.0-r4.ebuild 3762 SHA256 de51038828d815f851b0f0ffded546532279a121021100509e1a2965de1a683d SHA512 f889e945887a94d85202f94dbef9886c5f8d62e6247cca265f1e752f2a74aab49b2149dff6c8e33f85843f487b9666c54d0ea0a86543d4cfbc1106b23dc82224 WHIRLPOOL 60eff2208dac12ac6466435d1955956a77d803f1a09cbf043f28df4738a9a8ee4c3a92fe0f1052a9b5a458de224d34049676b8171be81725488dba3d70f88ddf
EBUILD pycairo-1.8.10.ebuild 2245 SHA256 5d0dce859b216113d97a65875b13e2a2346e6ae0aa2f2f08d3f46d5438bfa90d SHA512 f39c3170add58e0bbac59ee33fe1c0ee30f1d34314dc68d9311ea5559d5a34a13e2ab85b58adc611cfde971ac8e24408e4df5dfc5d1d19dc19aa65f8a0fc54d0 WHIRLPOOL d763f2e72f24408636906822ce0b701554ac581851be15fe1832412d7ac531fbb3a36a60cccc3aa724c06548b623823fce8cec89f655682a67c4aa646b5a4c50
MISC ChangeLog 18786 SHA256 e8da8594ca4458de18e2de3b96c2eef23e84cf2e1397ef63a5266aa60752e8c1 SHA512 8923be8f5b1244c6765350ff63de225611c5e19fe02292565fb09478ca902f3d8042419042cbaca75492c43ebfca34538f782e9e78ababdf77638f169cdf0b17 WHIRLPOOL 03056aba461a571a6045e91dee8714be73d36cf37c0d8b3b4584a5f7d35b129cf4af3208760c2be32026612e728f90ef10c21b809329bfa1adcba97255e43cdc
MISC metadata.xml 161 SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e SHA512 b306d222517e4eae525f6a79634f26eff2068f85911b7904c52c485a004d1d5401300808da67f9a1e3f102d65aebd1e0d21cd18145ea0bfec156f2aa3785b104 WHIRLPOOL f9c8e8d23bde25f4b14031f83dcc09e8437fdbcbb27199c1e9d8109fb2ccc7589cabf8240256dbbe6e080d04d2c444d115c66f82fc9b479e1e70d1ef0fe60fe2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
iEYEAREKAAYFAlHQN7sACgkQgAnW8HDreRZ3GgCeIgi94b4OeKmaeVi//b0F/j+O
b40An0+H1qLiAG2njDW94pWsw2yUYQqE
=lLMX
-----END PGP SIGNATURE-----

View File

@ -1,18 +0,0 @@
inspired by:
http://groups.google.com/group/waf-users/browse_thread/thread/2bd6774056c850bc/
27bfdcac2fb9ec05?lnk=gst#27bfdcac2fb9ec05
we cannot "fix" the buildsystem, since it's bzip2-tarred *sigh*
--- waf
+++ waf
@@ -154,6 +154,8 @@
wafdir = find_lib()
sys.path.insert(0, wafdir)
+from waflib.Tools.c_config import MACRO_TO_DESTOS
+MACRO_TO_DESTOS['__POWERPC__'] = 'darwin'
if __name__ == '__main__':
import waflib.extras.compat15

View File

@ -1,126 +0,0 @@
--- src/cairomodule.c
+++ src/cairomodule.c
@@ -127,7 +127,7 @@
#else
0,
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
&PycairoSVGSurface_Type,
#else
0,
@@ -223,7 +223,7 @@
if (PyType_Ready(&PycairoPSSurface_Type) < 0)
return;
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
if (PyType_Ready(&PycairoSVGSurface_Type) < 0)
return;
#endif
@@ -305,7 +305,7 @@
PyModule_AddObject(m, "PSSurface", (PyObject *)&PycairoPSSurface_Type);
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
Py_INCREF(&PycairoSVGSurface_Type);
PyModule_AddObject(m, "SVGSurface", (PyObject *)&PycairoSVGSurface_Type);
#endif
@@ -379,7 +379,7 @@
#else
PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0);
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 1);
#else
PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 0);
--- src/private.h
+++ src/private.h
@@ -86,7 +86,7 @@
extern PyTypeObject PycairoPSSurface_Type;
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
extern PyTypeObject PycairoSVGSurface_Type;
#endif
--- src/pycairo.h
+++ src/pycairo.h
@@ -182,7 +182,7 @@
#define PycairoPSSurface_Type *(Pycairo_CAPI->PSSurface_Type)
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
#define PycairoSVGSurface_Type *(Pycairo_CAPI->SVGSurface_Type)
#endif
--- src/surface.c
+++ src/surface.c
@@ -83,7 +83,7 @@
type = &PycairoPSSurface_Type;
break;
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
case CAIRO_SURFACE_TYPE_SVG:
type = &PycairoSVGSurface_Type;
break;
@@ -1015,7 +1015,7 @@
/* Class SVGSurface(Surface) ----------------------------------------------- */
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
#include <cairo-svg.h>
static PyObject *
@@ -1125,7 +1125,7 @@
0, /* tp_is_gc */
0, /* tp_bases */
};
-#endif /* CAIRO_HAS_SVG_SURFACE */
+#endif /* PYCAIRO_ENABLE_SVG */
#if CAIRO_HAS_WIN32_SURFACE
--- wscript
+++ wscript
@@ -1,6 +1,7 @@
# -*- python -*-
import os
+import subprocess
top = '.'
out = 'build_directory'
@@ -11,6 +12,17 @@
cairo_version_required = '1.10.0'
+def check_svg():
+ if os.environ.get('PYCAIRO_DISABLE_SVG', None) is None:
+ return_code = subprocess.call(['pkg-config', '--exists', 'cairo-svg'])
+ if return_code == 0:
+ return True
+ else:
+ return False
+ else:
+ return False
+
+
def options(ctx):
print(' %s/options()' %d)
ctx.tool_options('gnu_dirs')
@@ -39,6 +51,8 @@
ctx.define('PYCAIRO_VERSION_MAJOR', version[0])
ctx.define('PYCAIRO_VERSION_MINOR', version[1])
ctx.define('PYCAIRO_VERSION_MICRO', version[2])
+ if check_svg():
+ ctx.define('PYCAIRO_ENABLE_SVG', 1)
ctx.write_config_header('src/config.h')

View File

@ -1,38 +0,0 @@
--- py2cairo-1.10.0/wscript
+++ py2cairo-1.10.0/wscript
@@ -10,6 +10,7 @@
APPNAME='py2cairo'
VERSION='1.10.0'
cairo_version_required = '1.10.0'
+xpyb_version_required = '1.3'
def check_svg():
@@ -23,6 +24,17 @@
return False
+def check_xpyb():
+ if os.environ.get('PYCAIRO_DISABLE_XPYB', None) is None:
+ return_code = subprocess.call(['pkg-config', '--exists', 'xpyb'])
+ if return_code == 0:
+ return True
+ else:
+ return False
+ else:
+ return False
+
+
def options(ctx):
print(' %s/options()' %d)
ctx.tool_options('gnu_dirs')
@@ -41,6 +53,9 @@
ctx.check_python_headers()
ctx.check_cfg(package='cairo', atleast_version=cairo_version_required,
args='--cflags --libs')
+ if check_xpyb():
+ ctx.check_cfg(package='xpyb', atleast_version=xpyb_version_required,
+ args='--cflags --libs', mandatory=False)
# add gcc options
if env['CC_NAME'] == 'gcc':

View File

@ -1,126 +0,0 @@
--- src/cairomodule.c
+++ src/cairomodule.c
@@ -116,7 +116,7 @@
#else
0,
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
&PycairoSVGSurface_Type,
#else
0,
@@ -247,7 +247,7 @@
if (PyType_Ready(&PycairoPSSurface_Type) < 0)
return NULL;
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
if (PyType_Ready(&PycairoSVGSurface_Type) < 0)
return NULL;
#endif
@@ -337,7 +337,7 @@
PyModule_AddObject(m, "PSSurface", (PyObject *)&PycairoPSSurface_Type);
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
Py_INCREF(&PycairoSVGSurface_Type);
PyModule_AddObject(m, "SVGSurface", (PyObject *)&PycairoSVGSurface_Type);
#endif
@@ -399,7 +399,7 @@
#else
PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0);
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 1);
#else
PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 0);
--- src/private.h
+++ src/private.h
@@ -75,7 +75,7 @@
extern PyTypeObject PycairoPSSurface_Type;
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
extern PyTypeObject PycairoSVGSurface_Type;
#endif
--- src/py3cairo.h
+++ src/py3cairo.h
@@ -171,7 +171,7 @@
#define PycairoPSSurface_Type *(Pycairo_CAPI->PSSurface_Type)
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
#define PycairoSVGSurface_Type *(Pycairo_CAPI->SVGSurface_Type)
#endif
--- src/surface.c
+++ src/surface.c
@@ -72,7 +72,7 @@
type = &PycairoPSSurface_Type;
break;
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
case CAIRO_SURFACE_TYPE_SVG:
type = &PycairoSVGSurface_Type;
break;
@@ -1022,7 +1022,7 @@
/* Class SVGSurface(Surface) ----------------------------------------------- */
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
#include <cairo-svg.h>
static PyObject *
@@ -1133,7 +1133,7 @@
0, /* tp_is_gc */
0, /* tp_bases */
};
-#endif /* CAIRO_HAS_SVG_SURFACE */
+#endif /* PYCAIRO_ENABLE_SVG */
#if CAIRO_HAS_WIN32_SURFACE
--- wscript
+++ wscript
@@ -1,6 +1,7 @@
# -*- python -*-
import os
+import subprocess
top = '.'
out = 'build_directory'
@@ -11,6 +12,17 @@
cairo_version_required = '1.10.0'
+def check_svg():
+ if os.environ.get('PYCAIRO_DISABLE_SVG', None) is None:
+ return_code = subprocess.call(['pkg-config', '--exists', 'cairo-svg'])
+ if return_code == 0:
+ return True
+ else:
+ return False
+ else:
+ return False
+
+
def options(ctx):
print(' %s/options()' %d)
ctx.tool_options('gnu_dirs')
@@ -39,6 +51,8 @@
ctx.define('PYCAIRO_VERSION_MAJOR', version[0])
ctx.define('PYCAIRO_VERSION_MINOR', version[1])
ctx.define('PYCAIRO_VERSION_MICRO', version[2])
+ if check_svg():
+ ctx.define('PYCAIRO_ENABLE_SVG', 1)
ctx.write_config_header('src/config.h')

View File

@ -1,41 +0,0 @@
--- pycairo-1.10.0/wscript
+++ pycairo-1.10.0/wscript
@@ -10,6 +10,7 @@
APPNAME='pycairo'
VERSION='1.10.0'
cairo_version_required = '1.10.0'
+xpyb_version_required = '1.3' # optional
def check_svg():
@@ -23,6 +24,17 @@
return False
+def check_xpyb():
+ if os.environ.get('PYCAIRO_DISABLE_XPYB', None) is None:
+ return_code = subprocess.call(['pkg-config', '--exists', 'xpyb'])
+ if return_code == 0:
+ return True
+ else:
+ return False
+ else:
+ return False
+
+
def options(ctx):
print(' %s/options()' %d)
ctx.tool_options('gnu_dirs')
@@ -42,6 +54,12 @@
ctx.check_cfg(package='cairo', atleast_version=cairo_version_required,
args='--cflags --libs')
+# xpyb for Python 3 is not available yet.
+# the Python 3 version should probably have a different name than 'xpyb'
+# if check_xpyb():
+# ctx.check_cfg(package='xpyb', atleast_version=xpyb_version_required,
+# args='--cflags --libs', mandatory=False)
+
# add gcc options
if env['CC_NAME'] == 'gcc':
env.append_unique('CCFLAGS', ['-std=c99', '-Wall'])

View File

@ -1,11 +0,0 @@
--- setup.py
+++ setup.py
@@ -109,7 +109,7 @@
ext_modules = [cairo],
data_files = [
('include/pycairo', ['src/pycairo.h']),
- ('lib/pkgconfig', [pkgconfig_file]),
+ (os.environ.get('PKGCONFIG_DIR', 'lib/pkgconfig'), [pkgconfig_file]),
(os.path.join(dsy.get_python_lib(), 'cairo'),
['src/__init__.py']),
],

View File

@ -1,116 +0,0 @@
--- setup.py
+++ setup.py
@@ -29,6 +30,16 @@
print pipe.stderr.read()
raise SystemExit('Error: %s >= %s not found' % (pkg, version))
+def pkg_config_svg_check():
+ if os.environ.get('PYCAIRO_DISABLE_SVG', None) is None:
+ pipe = call('pkg-config --exists cairo-svg')
+ if pipe.returncode == 0:
+ return [('PYCAIRO_ENABLE_SVG', None)]
+ else:
+ return []
+ else:
+ return []
+
def pkg_config_parse(opt, pkg):
pipe = call("pkg-config %s %s" % (opt, pkg))
output = pipe.stdout.read()
@@ -94,6 +105,7 @@
'src/pattern.c',
'src/surface.c',
],
+ define_macros = pkg_config_svg_check(),
include_dirs = pkg_config_parse('--cflags-only-I', 'cairo'),
library_dirs = pkg_config_parse('--libs-only-L', 'cairo'),
libraries = pkg_config_parse('--libs-only-l', 'cairo'),
--- src/cairomodule.c
+++ src/cairomodule.c
@@ -122,7 +122,7 @@
#else
0,
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
&PycairoSVGSurface_Type,
#else
0,
@@ -209,7 +209,7 @@
if (PyType_Ready(&PycairoPSSurface_Type) < 0)
return;
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
if (PyType_Ready(&PycairoSVGSurface_Type) < 0)
return;
#endif
@@ -285,7 +285,7 @@
PyModule_AddObject(m, "PSSurface", (PyObject *)&PycairoPSSurface_Type);
#endif
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
Py_INCREF(&PycairoSVGSurface_Type);
PyModule_AddObject(m, "SVGSurface", (PyObject *)&PycairoSVGSurface_Type);
#endif
@@ -350,7 +350,7 @@
#else
PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0);
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 1);
#else
PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 0);
--- src/private.h
+++ src/private.h
@@ -86,7 +86,7 @@
extern PyTypeObject PycairoPSSurface_Type;
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
extern PyTypeObject PycairoSVGSurface_Type;
#endif
--- src/pycairo.h
+++ src/pycairo.h
@@ -178,7 +178,7 @@
#define PycairoPSSurface_Type *(Pycairo_CAPI->PSSurface_Type)
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
#define PycairoSVGSurface_Type *(Pycairo_CAPI->SVGSurface_Type)
#endif
--- src/surface.c
+++ src/surface.c
@@ -80,7 +80,7 @@
type = &PycairoPSSurface_Type;
break;
#endif
-#if CAIRO_HAS_SVG_SURFACE
+#if PYCAIRO_ENABLE_SVG
case CAIRO_SURFACE_TYPE_SVG:
type = &PycairoSVGSurface_Type;
break;
@@ -965,7 +965,7 @@
/* Class SVGSurface(Surface) ----------------------------------------------- */
-#ifdef CAIRO_HAS_SVG_SURFACE
+#ifdef PYCAIRO_ENABLE_SVG
#include <cairo-svg.h>
static PyObject *
@@ -1067,7 +1067,7 @@
0, /* tp_is_gc */
0, /* tp_bases */
};
-#endif /* CAIRO_HAS_SVG_SURFACE */
+#endif /* PYCAIRO_ENABLE_SVG */
/* Class Win32Surface(Surface) -------------------------------------------- */

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
</pkgmetadata>

View File

@ -1,101 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.10.0-r2.ebuild,v 1.12 2013/01/05 07:22:37 floppym Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6 3:3.1"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 3.0 *-jython *-pypy-*"
inherit eutils python waf-utils
PYCAIRO_PYTHON2_VERSION="${PV}"
PYCAIRO_PYTHON3_VERSION="${PV}"
DESCRIPTION="Python bindings for the cairo library"
HOMEPAGE="http://cairographics.org/pycairo/ http://pypi.python.org/pypi/pycairo"
SRC_URI="http://cairographics.org/releases/py2cairo-${PYCAIRO_PYTHON2_VERSION}.tar.bz2
http://cairographics.org/releases/pycairo-${PYCAIRO_PYTHON3_VERSION}.tar.bz2"
# LGPL-3 for pycairo 1.10.0.
# || ( LGPL-2.1 MPL-1.1 ) for pycairo 1.8.10.
LICENSE="LGPL-3 || ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples +svg test"
RDEPEND=">=x11-libs/cairo-1.10.0[svg?]"
DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( dev-python/pytest )"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
src_prepare() {
pushd "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" > /dev/null
rm -f src/config.h || die
epatch "${FILESDIR}/${PN}-1.10.0-svg_check.patch"
popd > /dev/null
pushd "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" > /dev/null
rm -f src/config.h || die
epatch "${FILESDIR}/py2cairo-1.10.0-svg_check.patch"
popd > /dev/null
preparation() {
if [[ "${PYTHON_ABI}" == 3.* ]]; then
cp -r "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" "${WORKDIR}/${P}-${PYTHON_ABI}"
else
cp -r "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" "${WORKDIR}/${P}-${PYTHON_ABI}"
fi
}
python_execute_function preparation
}
src_configure() {
if ! use svg; then
export PYCAIRO_DISABLE_SVG="1"
fi
python_execute_function -s waf-utils_src_configure --nopyc --nopyo
}
src_compile() {
python_execute_function -s waf-utils_src_compile
}
src_test() {
test_installation() {
./waf install --destdir="${T}/tests/${PYTHON_ABI}"
}
python_execute_function -q -s test_installation
python_execute_py.test -P '${T}/tests/${PYTHON_ABI}${EPREFIX}$(python_get_sitedir)' -s
}
src_install() {
python_execute_function -s waf-utils_src_install
dodoc AUTHORS NEWS README || die "dodoc failed"
if use doc; then
pushd doc/_build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"
popd > /dev/null
fi
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r examples/* || die "Installation of examples failed"
fi
}
pkg_postinst() {
python_mod_optimize cairo
}
pkg_postrm() {
python_mod_cleanup cairo
}

View File

@ -1,129 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.10.0-r3.ebuild,v 1.14 2013/01/06 09:29:29 ago Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6 3:3.1"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 3.0 *-jython *-pypy-*"
inherit eutils python waf-utils
PYCAIRO_PYTHON2_VERSION="${PV}"
PYCAIRO_PYTHON3_VERSION="${PV}"
DESCRIPTION="Python bindings for the cairo library"
HOMEPAGE="http://cairographics.org/pycairo/ http://pypi.python.org/pypi/pycairo"
SRC_URI="http://cairographics.org/releases/py2cairo-${PYCAIRO_PYTHON2_VERSION}.tar.bz2
http://cairographics.org/releases/pycairo-${PYCAIRO_PYTHON3_VERSION}.tar.bz2"
# LGPL-3 for pycairo 1.10.0.
# || ( LGPL-2.1 MPL-1.1 ) for pycairo 1.8.10.
LICENSE="LGPL-3 || ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples +svg test xcb"
RDEPEND=">=x11-libs/cairo-1.10.0[svg?,xcb?]
xcb? ( x11-libs/xpyb )"
DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( dev-python/pytest )"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
src_prepare() {
pushd "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" > /dev/null
rm -f src/config.h || die
epatch "${FILESDIR}/${PN}-1.10.0-svg_check.patch"
epatch "${FILESDIR}/${PN}-1.10.0-xpyb.patch"
epatch "${FILESDIR}"/py2cairo-1.10.0-ppc-darwin.patch
popd > /dev/null
pushd "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" > /dev/null
rm -f src/config.h || die
epatch "${FILESDIR}/py2cairo-1.10.0-svg_check.patch"
epatch "${FILESDIR}/py2cairo-1.10.0-xpyb.patch"
epatch "${FILESDIR}"/py2cairo-1.10.0-ppc-darwin.patch
popd > /dev/null
preparation() {
if [[ "${PYTHON_ABI}" == 3.* ]]; then
cp -r "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" "${WORKDIR}/${P}-${PYTHON_ABI}"
else
cp -r "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" "${WORKDIR}/${P}-${PYTHON_ABI}"
fi
}
python_execute_function preparation
}
src_configure() {
if ! use svg; then
export PYCAIRO_DISABLE_SVG=1
fi
if ! use xcb; then
export PYCAIRO_DISABLE_XPYB=1
fi
# Added by grobian:
# If WAF_BINARY is an absolute path, the configure is different and fails to
# find Python.h due to a compiler misconfiguration. If WAF_BINARY is just
# ./waf or python waf, it works fine. Hooray for reinvented buildsystems
# floppym:
# pycairo and py2cairo bundle different versions of waf (bug 447856)
WAF_BINARY="./waf"
python_execute_function -s waf-utils_src_configure --nopyc --nopyo
}
src_compile() {
python_execute_function -s waf-utils_src_compile
}
src_test() {
test_installation() {
./waf install --destdir="${T}/tests/${PYTHON_ABI}"
}
python_execute_function -q -s test_installation
python_execute_py.test -P '${T}/tests/${PYTHON_ABI}${EPREFIX}$(python_get_sitedir)' -s
}
src_install() {
python_execute_function -s waf-utils_src_install
dodoc AUTHORS NEWS README || die "dodoc failed"
if use doc; then
pushd doc/_build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"
popd > /dev/null
fi
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r examples/* || die "Installation of examples failed"
fi
if [[ ${CHOST} == *-darwin* ]] ; then
# fix install_names; next to waf producing dylibs (not bundles) and
# calling them .bundle, it also has no idea what it should do to create
# proper ones (dylibs)
fix_darwin_install_names() {
local x=$(python_get_sitedir)/cairo/_cairo.bundle
install_name_tool -id "${EPREFIX}${x}" "${ED}${x}"
}
python_execute_function fix_darwin_install_names
fi
}
pkg_postinst() {
python_mod_optimize cairo
}
pkg_postrm() {
python_mod_cleanup cairo
}

View File

@ -1,127 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.10.0-r4.ebuild,v 1.17 2013/06/30 13:50:50 jlec Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} python3_{1,2,3} )
inherit eutils python-r1 waf-utils
PYCAIRO_PYTHON2_VERSION="${PV}"
PYCAIRO_PYTHON3_VERSION="${PV}"
DESCRIPTION="Python bindings for the cairo library"
HOMEPAGE="http://cairographics.org/pycairo/ http://pypi.python.org/pypi/pycairo"
SRC_URI="http://cairographics.org/releases/py2cairo-${PYCAIRO_PYTHON2_VERSION}.tar.bz2
http://cairographics.org/releases/pycairo-${PYCAIRO_PYTHON3_VERSION}.tar.bz2"
# LGPL-3 for pycairo 1.10.0.
# || ( LGPL-2.1 MPL-1.1 ) for pycairo 1.8.10.
LICENSE="LGPL-3 || ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
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"
IUSE="doc examples +svg test xcb"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Note: xpyb is used as the C header, not Python modules
RDEPEND="${PYTHON_DEPS}
>=x11-libs/cairo-1.10.0[svg?,xcb?]
xcb? ( x11-libs/xpyb )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
src_prepare() {
pushd "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" > /dev/null
rm -f src/config.h || die
epatch "${FILESDIR}/${PN}-1.10.0-svg_check.patch"
epatch "${FILESDIR}/${PN}-1.10.0-xpyb.patch"
epatch "${FILESDIR}"/py2cairo-1.10.0-ppc-darwin.patch
popd > /dev/null
pushd "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" > /dev/null
rm -f src/config.h || die
epatch "${FILESDIR}/py2cairo-1.10.0-svg_check.patch"
epatch "${FILESDIR}/py2cairo-1.10.0-xpyb.patch"
epatch "${FILESDIR}"/py2cairo-1.10.0-ppc-darwin.patch
popd > /dev/null
preparation() {
if [[ ${EPYTHON} == python3.* ]]; then
cp -r -l "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" "${BUILD_DIR}" || die
else
cp -r -l "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" "${BUILD_DIR}" || die
fi
}
python_foreach_impl preparation
}
src_configure() {
if ! use svg; then
export PYCAIRO_DISABLE_SVG=1
fi
if ! use xcb; then
export PYCAIRO_DISABLE_XPYB=1
fi
# Added by grobian:
# If WAF_BINARY is an absolute path, the configure is different and fails to
# find Python.h due to a compiler misconfiguration. If WAF_BINARY is just
# ./waf or python waf, it works fine. Hooray for reinvented buildsystems
# floppym:
# pycairo and py2cairo bundle different versions of waf (bug 447856)
WAF_BINARY="./waf"
python_foreach_impl run_in_build_dir waf-utils_src_configure --nopyc --nopyo
}
src_compile() {
python_foreach_impl run_in_build_dir waf-utils_src_compile
}
src_test() {
test_installation() {
./waf install --destdir="${T}/tests/${BUILD_DIR}"
PYTHONPATH="${T}/tests/${BUILD_DIR}$(python_get_sitedir)" py.test -v
}
python_foreach_impl run_in_build_dir test_installation
}
src_install() {
python_foreach_impl run_in_build_dir waf-utils_src_install
dodoc AUTHORS NEWS README
if use doc; then
pushd doc/_build/html > /dev/null || die
dohtml -r [a-z]* _static
popd > /dev/null || die
fi
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r examples/*
fi
if [[ ${CHOST} == *-darwin* ]] ; then
# fix install_names; next to waf producing dylibs (not bundles) and
# calling them .bundle, it also has no idea what it should do to create
# proper ones (dylibs)
fix_darwin_install_names() {
local x="$(python_get_sitedir)/cairo/_cairo.bundle"
install_name_tool -id "${x}" "${ED}${x}"
}
python_foreach_impl fix_darwin_install_names
fi
}
run_in_build_dir() {
pushd "${BUILD_DIR}" > /dev/null || die
"$@"
popd > /dev/null || die
}

View File

@ -1,77 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v 1.16 2012/06/02 11:59:24 marienz Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-pypy-*"
DISTUTILS_SRC_TEST="py.test"
inherit eutils distutils flag-o-matic multilib
DESCRIPTION="Python wrapper for cairo vector graphics library"
HOMEPAGE="http://cairographics.org/pycairo/ http://pypi.python.org/pypi/pycairo"
SRC_URI="http://cairographics.org/releases/py2cairo-${PV}.tar.gz"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples svg"
RDEPEND=">=x11-libs/cairo-1.8.10[svg?]"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( >=dev-python/sphinx-0.6 )"
DOCS="AUTHORS NEWS README"
PYTHON_MODNAME="cairo"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/${P}-pkgconfig_dir.patch"
epatch "${FILESDIR}/${PN}-1.8.8-svg_check.patch"
}
src_configure() {
if ! use svg; then
export PYCAIRO_DISABLE_SVG="1"
fi
}
distutils_src_compile_post_hook() {
cp src/__init__.py "$(ls -d build-${PYTHON_ABI}/lib.*/cairo)" || die "Copying of src/__init__.py failed"
}
src_compile() {
append-flags -fno-strict-aliasing
distutils_src_compile
if use doc; then
einfo "Generation of documentation"
pushd doc > /dev/null
sphinx-build -b html -d .build/doctrees . .build/html || die "Generation of documentation failed"
popd > /dev/null
fi
}
src_test() {
python_execute_py.test -P '$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)'
}
src_install() {
PKGCONFIG_DIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" distutils_src_install
if use doc; then
dohtml -r doc/.build/html/ || die "dohtml -r doc/.build/html/ failed"
fi
if use examples; then
# Delete files created by tests.
find examples/cairo_snippets/snippets -maxdepth 1 -name "*.png" | xargs rm -f
insinto /usr/share/doc/${PF}/examples
doins -r examples/*
rm "${ED}"usr/share/doc/${PF}/examples/Makefile*
fi
}