summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-06-19 12:15:40 +0000
committerAli Polatel <hawking@gentoo.org>2007-06-19 12:15:40 +0000
commit7a008fe6e49757fb7f28d8f94eaaf7fb9184cc95 (patch)
treefc8b80d4079785cf5e86c6c5abe0b14f8a75be77 /dev-python
parentdev-python/mother: version bump (diff)
downloadsunrise-reviewed-7a008fe6e49757fb7f28d8f94eaaf7fb9184cc95.tar.gz
sunrise-reviewed-7a008fe6e49757fb7f28d8f94eaaf7fb9184cc95.tar.bz2
sunrise-reviewed-7a008fe6e49757fb7f28d8f94eaaf7fb9184cc95.zip
dev-python/rdflib: version bump
svn path=/sunrise/; revision=3979
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/rdflib/ChangeLog4
-rw-r--r--dev-python/rdflib/Manifest6
-rw-r--r--dev-python/rdflib/rdflib-2.3.3.ebuild28
-rw-r--r--dev-python/rdflib/rdflib-2.4.0.ebuild43
4 files changed, 50 insertions, 31 deletions
diff --git a/dev-python/rdflib/ChangeLog b/dev-python/rdflib/ChangeLog
index 391b522f4..67720c7e5 100644
--- a/dev-python/rdflib/ChangeLog
+++ b/dev-python/rdflib/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Jun 2007; Ali Polatel (hawking) <polatel@gmail.com>
+ -rdflib-2.3.3.ebuild, +rdflib-2.4.0.ebuild:
+ version bump
+
19 Jan 2007; Markus Ullmann <jokey@gentoo.org> -rdflib-2.2.1.ebuild:
Cleanup
diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest
index cb4fb5111..fa1edcef2 100644
--- a/dev-python/rdflib/Manifest
+++ b/dev-python/rdflib/Manifest
@@ -1,4 +1,4 @@
-DIST rdflib-2.3.3.tar.gz 230025 RMD160 7aac05da7acfd2668743c6bb455911d6b7775187 SHA1 5c7a893686497d0e24b2a65976451e456541c8f5 SHA256 ad027461d2117c85e5abe52f1fa5c1696798d2e06fb838d6dbb5145edcf47b8e
-EBUILD rdflib-2.3.3.ebuild 497 RMD160 8a316d53ef3ff2e72dbc88934394068f3760bccf SHA1 325561c8ea4bc708078ff5aae99dc27a8a233f88 SHA256 0473831e3375af60914942d52ee85df08993b43515a2ab52114fd39166d23969
-MISC ChangeLog 464 RMD160 1ace3dc985ea51cd68d7be0b2aa7bcbbdcfc7c55 SHA1 16c5b0eee856fe61af5eb92149d32a098beac064 SHA256 4cc11912466f701261fa8175f2cf1fbc93ce9bc1f4876884fc181f6af09f4aba
+DIST rdflib-2.4.0.tar.gz 260869 RMD160 0d0ce273d11fc4fc06313c76691186f2be1588a2 SHA1 89e47b38ddd6c3386db21cc4f433762287e334e2 SHA256 aa71d3a0bd667cbab1e746c48726077f42dea7aa58a46f240730e77c3d53a83e
+EBUILD rdflib-2.4.0.ebuild 917 RMD160 d4ac216dbe2b270d0def39625b42f2c2f20b553b SHA1 5f4e2c0ae5bdd94909274017b27124744bd84684 SHA256 4912e339314f0f08b785afa21c93c8d05c05da96bcab007294d116d5b7f0642d
+MISC ChangeLog 583 RMD160 e8ff3c9beb524ed1f86df17480cc710df70d78b1 SHA1 ad3361305d1dcb12b9072a23766b82464d4ddafd SHA256 e96988c230b11999f79cf32a143fa38411a2fec785b9110e1df8245eee43bbf8
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-python/rdflib/rdflib-2.3.3.ebuild b/dev-python/rdflib/rdflib-2.3.3.ebuild
deleted file mode 100644
index 7adc48600..000000000
--- a/dev-python/rdflib/rdflib-2.3.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-NEED_PYTHON=2.3
-
-inherit distutils
-
-DESCRIPTION="Python library for working with RDF"
-HOMEPAGE="http://rdflib.net"
-SRC_URI="http://rdflib.net/2006/10/15/${P}.tar.gz"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_install() {
- DOCS="example.py"
- distutils_src_install
-}
-
-src_test() {
- PYTHONPATH=. "${python}" run_tests.py || die "tests failed"
-}
diff --git a/dev-python/rdflib/rdflib-2.4.0.ebuild b/dev-python/rdflib/rdflib-2.4.0.ebuild
new file mode 100644
index 000000000..1b9ed4ff6
--- /dev/null
+++ b/dev-python/rdflib/rdflib-2.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils
+
+DESCRIPTION="Python library for working with RDF"
+HOMEPAGE="http://rdflib.net/"
+SRC_URI="http://rdflib.net/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="test"
+
+DEPEND=">=dev-python/setuptools-0.6_rc5
+ test? ( >=dev-python/nose-0.9.2 )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Don't install tests, it's rude
+ # remove tests_require to prevent setuptools
+ # from trying to download deps that it can't find
+ sed -i \
+ -e "s/\(find_packages(\)/\1exclude=('test','test.*')/" \
+ -e "/tests_require/d" \
+ setup.py || die "sed in setup.py failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/*
+}
+
+src_test() {
+ # works without setting PYTHONPATH
+ ${python} setup.py test || die "tests failed"
+}