From d6391a9ed604de82a826d9381d4834e7d180c0f1 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Tue, 14 Jan 2014 05:37:04 +0000 Subject: Bump (Portage version: 2.2.8/cvs/Linux x86_64, unsigned Manifest commit) --- dev-python/rdflib/ChangeLog | 9 +++++-- dev-python/rdflib/rdflib-4.1.0.ebuild | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 dev-python/rdflib/rdflib-4.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/rdflib/ChangeLog b/dev-python/rdflib/ChangeLog index c20686aeac3e..c23c50c43cfd 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.35 2013/12/19 14:12:00 hattya Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.36 2014/01/14 05:37:04 patrick Exp $ + +*rdflib-4.1.0 (14 Jan 2014) + + 14 Jan 2014; Patrick Lauer +rdflib-4.1.0.ebuild: + Bump 19 Dec 2013; Akinori Hattori rdflib-3.2.3-r1.ebuild: ia64 stable wrt bug #482056 diff --git a/dev-python/rdflib/rdflib-4.1.0.ebuild b/dev-python/rdflib/rdflib-4.1.0.ebuild new file mode 100644 index 000000000000..0582d19c527b --- /dev/null +++ b/dev-python/rdflib/rdflib-4.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-4.1.0.ebuild,v 1.1 2014/01/14 05:37:04 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_REQ_USE="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*')] + dev-python/pyparsing[${PYTHON_USEDEP}] + berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] ) + mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] ) + redland? ( dev-libs/redland-bindings[python] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/sparql-wrapper[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +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() { + https://github.com/RDFLib/rdflib/issues/306 + PYTHONPATH=. nosetests --verbosity=3 --py3where='build/src' || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3-65-gdbad