aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pycairo/ChangeLog421
-rw-r--r--dev-python/pycairo/Manifest2
-rw-r--r--dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch126
-rw-r--r--dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch126
-rw-r--r--dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch11
-rw-r--r--dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch116
-rw-r--r--dev-python/pycairo/metadata.xml5
-rw-r--r--dev-python/pycairo/pycairo-1.10.0-r2.ebuild115
8 files changed, 922 insertions, 0 deletions
diff --git a/dev-python/pycairo/ChangeLog b/dev-python/pycairo/ChangeLog
new file mode 100644
index 0000000..885d3eb
--- /dev/null
+++ b/dev-python/pycairo/ChangeLog
@@ -0,0 +1,421 @@
+# ChangeLog for dev-python/pycairo
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.110 2012/06/02 11:59:24 marienz Exp $
+
+ 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
+
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
new file mode 100644
index 0000000..d081c0c
--- /dev/null
+++ b/dev-python/pycairo/Manifest
@@ -0,0 +1,2 @@
+DIST py2cairo-1.10.0.tar.bz2 402070 SHA256 d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 SHA512 cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc WHIRLPOOL 60b57d55b27f06acd62714ac6ad7973ab973d42995fb536ae800263a2e8c7451a24ccafd96fe30f5bfa26e1ae218934d4fafaafec3e9666a39b33c78672407e2
+DIST pycairo-1.10.0.tar.bz2 246556 SHA256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be SHA512 a03db6f04cea504985f390b0734042390f491f32ae2bee1299dabbafd369fde36bb506ebb941d22bbc11b0d008c4f758baeacf309a7336880529455092db829f WHIRLPOOL e779d56d67ef18bbd052d81acb38d8b610ca4bbf787f4b0e3982633de55ff54d6dfa3e5ce1957321fba09f0ec2d12ce12057335de9d5ff3f84c2bc0530415e76
diff --git a/dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch b/dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch
new file mode 100644
index 0000000..4cd755c
--- /dev/null
+++ b/dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch
@@ -0,0 +1,126 @@
+--- 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')
+
diff --git a/dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch b/dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch
new file mode 100644
index 0000000..572a5f6
--- /dev/null
+++ b/dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch
@@ -0,0 +1,126 @@
+--- 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')
+
diff --git a/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch b/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch
new file mode 100644
index 0000000..13015af
--- /dev/null
+++ b/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch
@@ -0,0 +1,11 @@
+--- 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']),
+ ],
diff --git a/dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch b/dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch
new file mode 100644
index 0000000..78dc13b
--- /dev/null
+++ b/dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch
@@ -0,0 +1,116 @@
+--- 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) -------------------------------------------- */
diff --git a/dev-python/pycairo/metadata.xml b/dev-python/pycairo/metadata.xml
new file mode 100644
index 0000000..301d220
--- /dev/null
+++ b/dev-python/pycairo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pycairo/pycairo-1.10.0-r2.ebuild b/dev-python/pycairo/pycairo-1.10.0-r2.ebuild
new file mode 100644
index 0000000..73ddc06
--- /dev/null
+++ b/dev-python/pycairo/pycairo-1.10.0-r2.ebuild
@@ -0,0 +1,115 @@
+# 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.10.0-r2.ebuild,v 1.10 2012/06/02 11:59:24 marienz Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6 3:3.1"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
+
+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
+
+ testing() {
+ # Need a variable for the pypy minor version and a variable to set 2 distinct pythonpaths
+ local pypy_v= PyPath= exit_status=0
+ pypy_v=$(python_get_version)
+ if [[ "${PYTHON_ABI:4:4}" == "pypy" ]]; then
+ PyPath=$(find "${T}"/tests/2.7-pypy-$pypy_v/ -name site-packages)
+ PYTHONPATH="${PyPath}" py.test-${PYTHON_ABI} "${WORKDIR}/${P}-${PYTHON_ABI}"/test || exit_status=1
+ else
+ PyPath="${T}/tests/${PYTHON_ABI}${EPREFIX}"$(python_get_sitedir)
+ PYTHONPATH="${PyPath}" py.test "${WORKDIR}/${P}-${PYTHON_ABI}"/test || exit_status=1
+ fi
+ return $exit_status
+ }
+ python_execute_function testing
+}
+# python_execute_py.test -P '${T}/tests/${PYTHON_ABI}${EPREFIX}$(python_get_sitedir):${WORKDIR}/${P}-${PYTHON_ABI}/test' -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
+}