summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-10 00:09:24 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-10 00:09:24 +0000
commit923619809547b32a4933513bdecc79493b24c033 (patch)
tree0054660f29bf9dfc8b86c340b1c1553518ce26d6 /dev-python/rdflib
parentStable for HPPA (bug #280851). (diff)
downloadhistorical-923619809547b32a4933513bdecc79493b24c033.tar.gz
historical-923619809547b32a4933513bdecc79493b24c033.tar.bz2
historical-923619809547b32a4933513bdecc79493b24c033.zip
Version bump. Restrict tests.
Package-Manager: portage-13966-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/rdflib')
-rw-r--r--dev-python/rdflib/ChangeLog10
-rw-r--r--dev-python/rdflib/Manifest16
-rw-r--r--dev-python/rdflib/rdflib-2.4.0.ebuild18
-rw-r--r--dev-python/rdflib/rdflib-2.4.1.ebuild57
4 files changed, 76 insertions, 25 deletions
diff --git a/dev-python/rdflib/ChangeLog b/dev-python/rdflib/ChangeLog
index 8f8acfd966cb..a8c38e3a5045 100644
--- a/dev-python/rdflib/ChangeLog
+++ b/dev-python/rdflib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/rdflib
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.3 2008/12/23 17:30:39 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.4 2009/08/10 00:09:24 arfrever Exp $
+
+*rdflib-2.4.1 (10 Aug 2009)
+
+ 10 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ rdflib-2.4.0.ebuild, +rdflib-2.4.1.ebuild:
+ Version bump. Restrict tests.
23 Dec 2008; Markus Meier <maekke@gentoo.org> rdflib-2.4.0.ebuild:
add ~amd64, bug #252185
diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest
index 8901e5f4188b..c81675b67de5 100644
--- a/dev-python/rdflib/Manifest
+++ b/dev-python/rdflib/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST rdflib-2.4.0.tar.gz 260869 RMD160 0d0ce273d11fc4fc06313c76691186f2be1588a2 SHA1 89e47b38ddd6c3386db21cc4f433762287e334e2 SHA256 aa71d3a0bd667cbab1e746c48726077f42dea7aa58a46f240730e77c3d53a83e
-EBUILD rdflib-2.4.0.ebuild 1633 RMD160 0bb553123b105041d077cedf36b84dc82933d90d SHA1 cb38aa5d46e5ef4e5ad07d2c87b30b0b00de5dbb SHA256 85c051d29be465e180c9fa60318da843bc9711e9d1fc1159ae2c45ee7f8b5df4
-MISC ChangeLog 689 RMD160 b3f952e63a6b5f18fde30d94005a02c61fe7b4a1 SHA1 6586e73d197a61b775299334789953a42dfa126c SHA256 51b6e4e458554fff9d92ee8d27aa9f14cb9d2e4dbf24dd7fc5fd11b56e8db382
+DIST rdflib-2.4.1.tar.gz 357751 RMD160 5234e104a060ea819cc1c25627c6119483bd9499 SHA1 b0c4229d06720699b188230ac492f18fe8d39c20 SHA256 a207092d054a8183f3d208fa8fcc0cb10321336232b8c77f69b5cdb1ad60c3b9
+EBUILD rdflib-2.4.0.ebuild 1545 RMD160 3380ea6552fabf4101bb6827f98e6fd61cd573f6 SHA1 e11e6821d607b5f88ca46f44129d73fb544629cf SHA256 fca60146f1e7732be1c288cbd0a8de4012dbe74384d7098e741ce6dc4f937123
+EBUILD rdflib-2.4.1.ebuild 1464 RMD160 922695c78261ceb4d998c60791e78115cbe2f446 SHA1 ef4fa57e92d1fd727729bc840fd6fcfe276db599 SHA256 128a35e095e38f9f2a003653e488d490c7e80df9cb81f4c5bbab44b38831c41b
+MISC ChangeLog 871 RMD160 c3d5d8b83068066b4d9b2eb50f47e51427d20faf SHA1 33f9a5912b9602f16ebb157967c0ac4990648ed8 SHA256 f43600f806836c3aef904a6d58d15e56c5b0cbd2732879abbcc14ece46e5acfb
MISC metadata.xml 323 RMD160 c0f631699a121d56afe6397a57f3cdb34f9e04a1 SHA1 d74a47ba2ebf786597cf9a919e11a6efd7aa03e2 SHA256 49debee5162fa34e15a7d67907d6fb4c558820fb836bbea9cb94564645997235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAklRIFMACgkQkKaRLQcq0GLpkgCfYluMpjJRtf/8qOG/fEcWr884
-c6gAn2WKz5KajoVA2Jrowr2ciU+A8iTM
-=7qmZ
------END PGP SIGNATURE-----
diff --git a/dev-python/rdflib/rdflib-2.4.0.ebuild b/dev-python/rdflib/rdflib-2.4.0.ebuild
index c5c960c6385d..c8908d6999a0 100644
--- a/dev-python/rdflib/rdflib-2.4.0.ebuild
+++ b/dev-python/rdflib/rdflib-2.4.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-2.4.0.ebuild,v 1.3 2008/12/23 17:30:39 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-2.4.0.ebuild,v 1.4 2009/08/10 00:09:24 arfrever Exp $
NEED_PYTHON="2.3"
@@ -12,9 +12,8 @@ SRC_URI="http://rdflib.net/${P}.tar.gz"
LICENSE="BSD-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="berkdb examples mysql redland sqlite test zodb"
-DEPEND=">=dev-python/setuptools-0.6_rc5
- test? ( <dev-python/nose-0.10.0 )"
+IUSE="berkdb examples mysql redland sqlite zodb"
+DEPEND=">=dev-python/setuptools-0.6_rc5"
RDEPEND="mysql? ( dev-python/mysql-python )
sqlite? (
>=dev-db/sqlite-3.3.13
@@ -22,9 +21,10 @@ RDEPEND="mysql? ( dev-python/mysql-python )
berkdb? ( sys-libs/db )
redland? ( dev-libs/redland-bindings )
zodb? ( net-zope/zodb )"
+RESTRICT="test"
pkg_setup() {
- if use redland && ! built_with_use dev-libs/redland-bindings python ; then
+ if use redland && ! built_with_use dev-libs/redland-bindings python; then
eerror "In order to have rdflib working with redland support, you need"
eerror "to have dev-libs/redland-bindings emerged with 'python' in"
eerror "your USE flags."
@@ -46,12 +46,8 @@ src_unpack() {
src_install() {
distutils_src_install
- if use examples ; then
+ if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r examples/*
fi
}
-
-src_test() {
- ${python} setup.py test || die "tests failed"
-}
diff --git a/dev-python/rdflib/rdflib-2.4.1.ebuild b/dev-python/rdflib/rdflib-2.4.1.ebuild
new file mode 100644
index 000000000000..ac50b82e3b27
--- /dev/null
+++ b/dev-python/rdflib/rdflib-2.4.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-2.4.1.ebuild,v 1.1 2009/08/10 00:09:24 arfrever Exp $
+
+EAPI="2"
+NEED_PYTHON="2.3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="RDF library containing a triple store and parser/serializer"
+HOMEPAGE="http://rdflib.net/"
+SRC_URI="http://rdflib.net/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="berkdb examples mysql redland sqlite zodb"
+
+DEPEND=">=dev-python/setuptools-0.6_rc5"
+# test? ( dev-python/nose )"
+RDEPEND="mysql? ( dev-python/mysql-python )
+ sqlite? (
+ >=dev-db/sqlite-3.3.13
+ || ( dev-python/pysqlite >=dev-lang/python-2.5 ) )
+ berkdb? ( sys-libs/db )
+ redland? ( dev-libs/redland-bindings[python] )
+ zodb? ( net-zope/zodb )"
+
+RESTRICT="test"
+RESTRICT_PYTHON_ABIS="3*"
+
+PYTHON_MODNAME="rdflib rdflib_tools"
+
+src_prepare() {
+ # Don't install tests. Remove tests_require to prevent setuptools
+ # from trying to download deps that it can't find
+ sed -i \
+ -e '/packages = find_packages/s/"test"/&, "test.*"/' \
+ -e "/tests_require/d" \
+ setup.py || die "sed in setup.py failed"
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py test
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/*
+ fi
+}