From: Michał Górny Date: Fri, 5 Jan 2018 22:16:50 +0000 (+0100) Subject: dev-python/pyparsing: Clean old up X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f62612b0e1e2141119a81c62560af244967c8ab;p=gentoo.git dev-python/pyparsing: Clean old up --- diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index a925d323cd7c..8e223ac677fd 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,3 +1 @@ -DIST pyparsing-2.0.3.tar.gz 1462653 BLAKE2B 6f1126f961566c00de5966966a8c7c43155b10b8d271deae57bb0752f076fedda31797422aa5da6cb144caa6818356dd16a640d33cd994d6b71b9f9d6fd1673b SHA512 9771851f4b0191c7d3f8d2a2a6d2a9198b173120d3f133d08284b71e792fc59a906d571edea8f44ba04ab00c1d906e1974d1e8a2d6155d492de1358ba99c575a -DIST pyparsing-2.1.10.tar.gz 1230829 BLAKE2B 63f5e6082eb6ec4af82a203e32fd0d6b5a636eabf4ba54dad79bc9841c928f8d7d76f3bf32ec2ad141f64a47df9fb932177681c1bda4e6d03a492f9be92850a7 SHA512 21af73d6f479d52746f269c8fbaf90c1107a8aec756d30af8c7c4e6a2ff0ea9659cc07816b7ea19286bc12d43497f5e8e63351453bf18daf6a1cb380a195532e DIST pyparsing-2.2.0.tar.gz 1232522 BLAKE2B 59420548fcee047e2b385d76b8ce034807eb3ac0fcdc9929f656cf4b81436c96c37d206b5d6b90ee6892e402df6b939fe9e793384d4cbe0618c8d06d5197586d SHA512 6a409f429d40a5ac202d144e4150de2c80d7c7120147f603f72a4a99797d48c50822a6437f590ec5ae4418d51aa1f6b1d4e5d95a57e19bec0a127b04e4937008 diff --git a/dev-python/pyparsing/files/distutils.patch b/dev-python/pyparsing/files/distutils.patch deleted file mode 100644 index af6a67301128..000000000000 --- a/dev-python/pyparsing/files/distutils.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -1,7 +1,7 @@ - #!/usr/bin/env python - - """Setup script for the pyparsing module distribution.""" --from setuptools import setup -+from distutils.core import setup - - import sys - import os diff --git a/dev-python/pyparsing/pyparsing-2.0.3.ebuild b/dev-python/pyparsing/pyparsing-2.0.3.ebuild deleted file mode 100644 index 4400c2dc95fb..000000000000 --- a/dev-python/pyparsing/pyparsing-2.0.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Easy-to-use Python module for text parsing" -HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples" - -RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3" - -# no contained in the tarball -RESTRICT=test - -python_install_all() { - local HTML_DOCS=( HowToUsePyparsing.html ) - if use doc; then - HTML_DOCS+=( htmldoc/. ) - dodoc docs/*.pdf - fi - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} - -python_test() { - ${PYTHON} unitTests.py || die -} diff --git a/dev-python/pyparsing/pyparsing-2.1.10.ebuild b/dev-python/pyparsing/pyparsing-2.1.10.ebuild deleted file mode 100644 index c4b4ed5e850d..000000000000 --- a/dev-python/pyparsing/pyparsing-2.1.10.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Easy-to-use Python module for text parsing" -HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples" - -# not contained in the tarball -RESTRICT=test - -PATCHES=( - # Avoid circular dep with setuptools - "${FILESDIR}/distutils.patch" -) - -python_install_all() { - local HTML_DOCS=( HowToUsePyparsing.html ) - if use doc; then - HTML_DOCS+=( htmldoc/. ) - dodoc docs/*.pdf - fi - use examples && dodoc -r examples - distutils-r1_python_install_all -} - -python_test() { - ${PYTHON} unitTests.py || die -} - -pkg_preinst() { - _remove_egg_info() { - local pyver="$("${PYTHON}" -c 'import sys; print(sys.version[:3])')" - local egginfo="${ROOT%/}$(python_get_sitedir)/${P}-py${pyver}.egg-info" - if [[ -d ${egginfo} ]]; then - einfo "Removing ${egginfo}" - rm -r "${egginfo}" || die - fi - } - python_foreach_impl _remove_egg_info -}