From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A32A2138239 for ; Sun, 29 Mar 2020 07:04:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7099E0A68; Sun, 29 Mar 2020 07:04:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A5C9E0A68 for ; Sun, 29 Mar 2020 07:04:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6ACA34FA8B for ; Sun, 29 Mar 2020 07:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A1491AE for ; Sun, 29 Mar 2020 07:04:07 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1585464595.22d1dab4ab03561d30b6c6ea99a102e38a58f148.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rdflib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rdflib/rdflib-4.2.2.ebuild X-VCS-Directories: dev-python/rdflib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 22d1dab4ab03561d30b6c6ea99a102e38a58f148 X-VCS-Branch: master Date: Sun, 29 Mar 2020 07:04:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 012604f0-b564-4fc0-96f6-79a881ede39f X-Archives-Hash: 8058d89fde7344c48dae3fc4b112ed92 commit: 22d1dab4ab03561d30b6c6ea99a102e38a58f148 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 29 06:49:55 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 29 06:49:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d1dab4 dev-python/rdflib: Remove redundant versions Signed-off-by: Michał Górny gentoo.org> dev-python/rdflib/rdflib-4.2.2.ebuild | 89 ----------------------------------- 1 file changed, 89 deletions(-) diff --git a/dev-python/rdflib/rdflib-4.2.2.ebuild b/dev-python/rdflib/rdflib-4.2.2.ebuild deleted file mode 100644 index ed7ae1aa746..00000000000 --- a/dev-python/rdflib/rdflib-4.2.2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_6} ) -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.org/project/rdflib/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc berkdb examples mysql redland sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/isodate[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/pyparsing[${PYTHON_USEDEP}] - berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] ) - mysql? ( dev-python/mysql-python[$(python_gen_usedep python2_7)] ) - redland? ( dev-libs/redland-bindings[python,$(python_gen_usedep python2_7)] )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/sparql-wrapper[${PYTHON_USEDEP}] - >=dev-python/nose-1.3.1-r1[${PYTHON_USEDEP}] )" - -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 - - sed -e "s: 'sphinx.ext.intersphinx',::" -i docs/conf.py || die - - # doc build requires examples folder at the upper level of docs - if use doc; then - cd docs || die - ln -sf ../examples . || die - cd ../ || die - fi - - distutils-r1_python_prepare_all -} - -python_compile_all() { - # https://github.com/RDFLib/rdflib/issues/510 - if use doc; then - einfo ""; einfo "Several warnings and Errors present in the build" - einfo "For a complete build, it is required to install" - einfo "github.com/gjhiggins/n3_pygments_lexer and" - einfo "github.com/gjhiggins/sparql_pygments_lexer" - einfo "outside portage via pip or by cloning. These have not been" - einfo "given a tagged release by the author and are not in portage" - einfo "" - emake -C docs html - fi -} - -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 doc && local HTML_DOCS=( docs/_build/html/. ) - if use examples ; then - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -}