summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/rdflib/rdflib-4.1.2.ebuild')
-rw-r--r--dev-python/rdflib/rdflib-4.1.2.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/dev-python/rdflib/rdflib-4.1.2.ebuild b/dev-python/rdflib/rdflib-4.1.2.ebuild
deleted file mode 100644
index ec9dee1cfc3..00000000000
--- a/dev-python/rdflib/rdflib-4.1.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-PYTHON_REQ_USE="sqlite?,threads(+)"
-# The usual required for tests
-DISTUTILS_IN_SOURCE_BUILD=1
-
-inherit distutils-r1
-
-DESCRIPTION="RDF library containing a triple store and parser/serializer"
-HOMEPAGE="https://github.com/RDFLib/rdflib https://pypi.python.org/pypi/rdflib"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ppc ppc64 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,$(python_gen_usedep 'python2*')] )"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/sparql-wrapper[${PYTHON_USEDEP}]
- >=dev-python/nose-1.3.1-r1[${PYTHON_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/${PN}-4-test.patch )
-
-python_prepare_all() {
- # Upstream manufactured .pyc files which promptly break distutils' src_test
- find -name "*.py[oc~]" -delete || die
-
- # Bug 358189; take out tests that attempt to connect to the network
- sed -e "/'--with-doctest',/d" -e "/'--doctest-extension=.doctest',/d" \
- -e "/'--doctest-tests',/d" -i run_tests.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- # the default; nose with: --where=./ does not work for python3
- if python_is_python3; then
- pushd "${BUILD_DIR}/src/" > /dev/null
- "${PYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}"
- popd > /dev/null
- else
- "${PYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}"
- fi
-}
-
-python_install_all() {
- use examples && local EXAMPLES=( examples/. )
- distutils-r1_python_install_all
-}