summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-17 10:54:35 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-17 10:54:35 +0000
commit142ea1d37f18d0cd516b8fb75d91e70218a4fdc1 (patch)
treefae7e8ed0a02471ec53a77351dff32693f7f3101 /dev-python
parentcleanup (diff)
downloadhistorical-142ea1d37f18d0cd516b8fb75d91e70218a4fdc1.tar.gz
historical-142ea1d37f18d0cd516b8fb75d91e70218a4fdc1.tar.bz2
historical-142ea1d37f18d0cd516b8fb75d91e70218a4fdc1.zip
Update dependency on dev-python/sphinx. Fix tests.
Package-Manager: portage-14278-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pycairo/ChangeLog6
-rw-r--r--dev-python/pycairo/Manifest4
-rw-r--r--dev-python/pycairo/pycairo-1.8.8.ebuild9
3 files changed, 13 insertions, 6 deletions
diff --git a/dev-python/pycairo/ChangeLog b/dev-python/pycairo/ChangeLog
index d47cc6a400ab..ad3b4cfd5f57 100644
--- a/dev-python/pycairo/ChangeLog
+++ b/dev-python/pycairo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pycairo
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.74 2009/09/16 05:09:23 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.75 2009/09/17 10:54:35 arfrever Exp $
+
+ 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:
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
index b8c1efcbe9e6..aa16d5e684f1 100644
--- a/dev-python/pycairo/Manifest
+++ b/dev-python/pycairo/Manifest
@@ -8,6 +8,6 @@ EBUILD pycairo-1.4.12.ebuild 1162 RMD160 dc5761691510a4b9f7367833995f5ed59f5f36a
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 1973 RMD160 c5b4c31045720c81a6bd7f801b23b0c774347848 SHA1 8c80402b6ebb4aafa5494f3ed4180f9f98c9e1b9 SHA256 2905a9e87d6333fa7fcf9bff9f20727e9f7ca3e662b66254bac718c968f4e33e
-MISC ChangeLog 9660 RMD160 710d19f7c3e62d42867ba1b7a476c76600a96e2a SHA1 e794db4b1b85a0b2b577893508eb5bef04d7f6cf SHA256 0e677dd1fb93303759789caf02e08ba18bc685b5b140ccfbed4430d56aa54475
+EBUILD pycairo-1.8.8.ebuild 2181 RMD160 95c66f2fabdb46299524730dd02f00210887bacc SHA1 2309a6d24a4037027ed5b42be344943b4a33dbb0 SHA256 e52f243646d9819cea9409f02796b760e2e328cdd34032b408282b03209662ba
+MISC ChangeLog 9811 RMD160 5c88fbcad096c3dc6be369ba552a63e0f3923218 SHA1 667aa0603421c228ed9fa535eda803b8a1cf38f9 SHA256 dbebafa415403a543d3e0cd65d522bd63d5ef8782002bd46430c9e3d90477559
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/pycairo/pycairo-1.8.8.ebuild b/dev-python/pycairo/pycairo-1.8.8.ebuild
index 0d0d3f46ea11..c7516bc46f88 100644
--- a/dev-python/pycairo/pycairo-1.8.8.ebuild
+++ b/dev-python/pycairo/pycairo-1.8.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.8.ebuild,v 1.4 2009/09/16 05:09:23 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.8.ebuild,v 1.5 2009/09/17 10:54:35 arfrever Exp $
EAPI="2"
@@ -21,7 +21,7 @@ IUSE="doc examples svg"
RDEPEND=">=x11-libs/cairo-1.8.8[svg=]"
DEPEND="${RDEPEND}
dev-util/pkgconfig
- doc? ( dev-python/sphinx )"
+ doc? ( >=dev-python/sphinx-0.6 )"
RESTRICT_PYTHON_ABIS="2.4 2.5 3*"
@@ -54,7 +54,7 @@ src_compile() {
src_test() {
testing() {
pushd test > /dev/null
- PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test.py || return 1
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" -c "import examples_test; examples_test.test_examples(); examples_test.test_snippets_png()" || return 1
popd > /dev/null
}
python_execute_function testing
@@ -68,6 +68,9 @@ src_install() {
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 "${D}"/usr/share/doc/${PF}/examples/Makefile*