summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-05-22 18:36:45 +0000
committerJustin Lecher <jlec@gentoo.org>2013-05-22 18:36:45 +0000
commit722eca690f0fa7c2b7de99c4ee64850edbb4f955 (patch)
tree04d191bd363c3f80c7e325e6815859d31189d278 /dev-python/rdflib
parentUpdate nettle dep (bug #471022). (diff)
downloadgentoo-2-722eca690f0fa7c2b7de99c4ee64850edbb4f955.tar.gz
gentoo-2-722eca690f0fa7c2b7de99c4ee64850edbb4f955.tar.bz2
gentoo-2-722eca690f0fa7c2b7de99c4ee64850edbb4f955.zip
dev-python/rdflib: Version Bump
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-python/rdflib')
-rw-r--r--dev-python/rdflib/ChangeLog7
-rw-r--r--dev-python/rdflib/rdflib-4.0.1.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-python/rdflib/ChangeLog b/dev-python/rdflib/ChangeLog
index dffbc9e259ab..2788feda54f2 100644
--- a/dev-python/rdflib/ChangeLog
+++ b/dev-python/rdflib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/rdflib
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.26 2013/05/22 10:07:13 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.27 2013/05/22 18:36:45 jlec Exp $
+
+*rdflib-4.0.1 (22 May 2013)
+
+ 22 May 2013; Justin Lecher <jlec@gentoo.org> +rdflib-4.0.1.ebuild:
+ Version Bump
*rdflib-4.0 (22 May 2013)
diff --git a/dev-python/rdflib/rdflib-4.0.1.ebuild b/dev-python/rdflib/rdflib-4.0.1.ebuild
new file mode 100644
index 000000000000..43dd2350e79c
--- /dev/null
+++ b/dev-python/rdflib/rdflib-4.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-4.0.1.ebuild,v 1.1 2013/05/22 18:36:45 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+PYTHON_USE_WITH="sqlite?"
+DISTUTILS_NO_PARALLEL_BUILD=true
+
+inherit distutils-r1
+
+DESCRIPTION="RDF library containing a triple store and parser/serializer"
+HOMEPAGE="https://github.com/RDFLib/rdflib http://pypi.python.org/pypi/rdflib"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="berkdb examples mysql redland sqlite test"
+
+RDEPEND="
+ dev-python/isodate[${PYTHON_USEDEP}]
+ dev-python/html5lib[$(python_gen_usedep 'python2*')]
+ virtual/pyparsing[${PYTHON_USEDEP}]
+ berkdb? ( dev-python/bsddb3 )
+ mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
+ redland? ( dev-libs/redland-bindings[python] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? ( dev-python/sparql-wrapper[${PYTHON_USEDEP}] )"
+
+REQUIERED_USE="mysql? (-python_single_target_python3_3 -python_single_target_python3_2 -python_single_target_python3_1)"
+
+python_prepare_all() {
+ # Upstream manufactured .pyc files which promptly break distutils' src_test
+ find -name "*.py[oc~]" -delete || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests --verbosity=3 --py3where='build/src' || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/*
+ fi
+}