summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-18 17:53:28 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-18 17:53:28 +0000
commitcd5ee71f352c1fc32cf2bdb2d333d9c46ab68dc4 (patch)
treead8bb7c91913265f84ba601b7615d7e8dc6aa18b /dev-python/pycairo
parentDelete older ebuilds. (diff)
downloadhistorical-cd5ee71f352c1fc32cf2bdb2d333d9c46ab68dc4.tar.gz
historical-cd5ee71f352c1fc32cf2bdb2d333d9c46ab68dc4.tar.bz2
historical-cd5ee71f352c1fc32cf2bdb2d333d9c46ab68dc4.zip
Version bump.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pycairo')
-rw-r--r--dev-python/pycairo/ChangeLog10
-rw-r--r--dev-python/pycairo/Manifest15
-rw-r--r--dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch11
-rw-r--r--dev-python/pycairo/pycairo-1.8.10.ebuild70
4 files changed, 95 insertions, 11 deletions
diff --git a/dev-python/pycairo/ChangeLog b/dev-python/pycairo/ChangeLog
index c3032b5052bf..d31f878c2538 100644
--- a/dev-python/pycairo/ChangeLog
+++ b/dev-python/pycairo/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/pycairo
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.84 2010/02/07 20:55:36 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.85 2010/06/18 17:53:28 arfrever Exp $
+
+*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.
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
index 921014506d60..bdada27b5318 100644
--- a/dev-python/pycairo/Manifest
+++ b/dev-python/pycairo/Manifest
@@ -1,14 +1,9 @@
+AUX pycairo-1.8.10-pkgconfig_dir.patch 339 RMD160 ebb914c2540dde93e99946ca7292ee9b23997444 SHA1 267f98a1203482e3bee742aceb2fb73b931c02d1 SHA256 9c3d630afa545825448a34b4bf0782c5bde94058fa2263f65054c525b8d585ed
AUX pycairo-1.8.8-pkgconfig_dir.patch 456 RMD160 c7fea264be6026a03098d75d90e3ffc2ba9f11ce SHA1 a5c2f16fbd0b9d2522dd1cf0e2a5d0a1cd2672e3 SHA256 42b3df1d890aae80a9b59ec47e1b84442b6b49f39decec0901c7d70761281dd7
AUX pycairo-1.8.8-svg_check.patch 3009 RMD160 5335b1dd097022bae1fcb1eb1c3bc3e0706a3186 SHA1 a40017c41e7a984ccf0dc308076ff1827a7e0587 SHA256 eff2f24f5bf93ca45b18d57287ced0a1241391ece20dd57d21842f2ca820fd72
-DIST pycairo-1.4.12.tar.gz 490053 RMD160 f44bb6bcc6b366568e0297689164537dc891b278 SHA1 580255db6f3ab4c44ac44dfe0a9f7d1f598c2ab3 SHA256 318308cdff7fa5ff7587ecf39ee302292f93193506af06e176d228cd47c9012e
-DIST pycairo-1.8.2.tar.gz 519064 RMD160 ce48a6b71b802f07d0e0d3cfa140fd39ab5fe4d7 SHA1 b457949ccfa3af82afcffae8a396a1c840a9428a SHA256 77a8cbe388fd66825056744f2fc5c58b3afc247748bc2c777751cc0c2eb30a2f
-DIST pycairo-1.8.4.tar.gz 521136 RMD160 1be18a8516d797694d370f0d02273cad18115320 SHA1 450b59376ffea41910f60a0dfc9fd01d277e3950 SHA256 98ad99680850af767ba3bcc0cf65500ebf3f991872b859ab9a00a0b064fdecc1
-DIST pycairo-1.8.6.tar.gz 538013 RMD160 8281a55d2a1cf98e7d9d8c86ed9e687e0e410513 SHA1 228772017a11f0fbf2db63559649cd3c7d9f7996 SHA256 5adfbf129575ac5e98b606242f692901746468c66d521bdee4b974811a5a1b28
+DIST py2cairo-1.8.10.tar.gz 588459 RMD160 932e19f2f582bdf5735bdc92720b76edfb0a0c8e SHA1 6bb0b3e0249bce9fc0480aadad0c602d32f26ec1 SHA256 b15f71019e42e06d86f7e8fe5587f07c3de5a59a6c3a071b25fe100796dbcd56
DIST pycairo-1.8.8.tar.gz 475651 RMD160 d7e40be061140992e05f714b45182c498ae19311 SHA1 b127ed59bd876ca0fe5d0cf0f69735835c599e9b SHA256 2f52599943ca03c8ff336a0e84b1c8b74f30e2a3de9cb6a9a42a93a848832860
-EBUILD pycairo-1.4.12.ebuild 1162 RMD160 dc5761691510a4b9f7367833995f5ed59f5f36ae SHA1 bae97661acb114734daf12b90791ea493eaa344d SHA256 1eff7b2dddf77fe05f6c07ee3346662348bdd1e1c01b4693b2e586cf76620363
-EBUILD pycairo-1.8.2.ebuild 1160 RMD160 00692b37885fd4f3d72acf9690f4ebda758c3d44 SHA1 8bea2c3b09dfe0287c8d4cb5134a1db64c1739cd SHA256 fa493cd7ce52f867a50f92382cc3f6edb4bbc6e7b3494ca62d438f72e5349f92
-EBUILD pycairo-1.8.4.ebuild 1176 RMD160 d2d3358f4f2249d86917ef96fa702c1d098bad4d SHA1 00f6a7f487accd6c45e72d1c11980b47ac3c7ecf SHA256 28a03fed3ee7aeb61ee42c884f860b00e503a31c62dc09655078e72271ceedac
-EBUILD pycairo-1.8.6.ebuild 1594 RMD160 3678ee67e114c1189753e2b06cb164e018536e71 SHA1 99c0beb8b037548eec0c4cf96a212ae9b5c01c20 SHA256 d756ba09327a634137a88f13d9ad9df0b967457ba70a790a56f9e716a01b387d
-EBUILD pycairo-1.8.8.ebuild 2618 RMD160 aae8602462e67e4ca3746b48089f433ec40cec7e SHA1 ff81a07980caaf5f700d1d714e59805e8e93a4ac SHA256 e7f9e55efc7fa8d5f2aa44639a288cae3550b3c091b67a8a2c70cf62ffb9b0d9
-MISC ChangeLog 10837 RMD160 47700125820479ae3a189b596a342a79f57a7b47 SHA1 9dd31a9182e1726c39de7081ed78173b55c92ee5 SHA256 2f7c895b15d64033425f898d8f75ff7663bfc8b57ad72a2a562a5a8ab0138cfe
+EBUILD pycairo-1.8.10.ebuild 1842 RMD160 3fdbf5c0c35bb0254e4a24d0f15c7f1f5a02a078 SHA1 509a33a3d4517349380bbb71165b7ce4540b24f3 SHA256 e1b42d161b6d9f6c49e63f0b033196bb01b3ccd5fb1a6798c89a6bea5f8be160
+EBUILD pycairo-1.8.8.ebuild 2589 RMD160 13042bfa00265e332eedf5215204d2632cbb48ad SHA1 025b907fc81abb4bfcc80003e65e9bca1165a0d2 SHA256 8c64cbef69323a3d4fcb7e5ce14a7b0e740646c4f962de8cbae4d84b5c3aad04
+MISC ChangeLog 11129 RMD160 9ffa98466a85a223488d010ed0ed19b9bbbcc868 SHA1 a154f7b6a0642ff671167f5ba2755097bbca694f SHA256 b5d15b528b980f829b93e152496b38e8d348931804662d4fb1da6ee95c39b36a
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
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 000000000000..13015af9c331
--- /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/pycairo-1.8.10.ebuild b/dev-python/pycairo/pycairo-1.8.10.ebuild
new file mode 100644
index 000000000000..5b5615e48894
--- /dev/null
+++ b/dev-python/pycairo/pycairo-1.8.10.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 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.1 2010/06/18 17:53:28 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
+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="~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc examples svg"
+
+RDEPEND=">=x11-libs/cairo-1.8.10[svg?]"
+DEPEND="${RDEPEND}
+ dev-util/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 doc; then
+ econf
+ fi
+
+ if ! use svg; then
+ export PYCAIRO_DISABLE_SVG="1"
+ fi
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing
+ distutils_src_compile
+
+ if use doc; then
+ emake html || die "emake html failed"
+ fi
+}
+
+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
+}