mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/pyparsing: Clean old versions up
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST pyparsing-1.5.6.tar.gz 1418892 SHA256 5c84aa4500e82d5aa2c0842d5628c5da985e68ac1fb33554e0e5547eb3c85a75 SHA512 614c1a016d121b7c4ecf90a164bbe323affd6cf72319c8494e9a583078ffa233c351627fc3e793307e407e043570f8301f112c4d86645dcd130220ed976289c8 WHIRLPOOL 278d37581a950a570ac3cca2a5f8b674c909220fddc47072d9d52c38b8dfc30b335530dffd3c522cd18e58e9bddcc5e48d9184cdaf4b09203bbba308607e24a4
|
||||
DIST pyparsing-2.0.3.tar.gz 1462653 SHA256 06e729e1cbf5274703b1f47b6135ed8335999d547f9d8cf048b210fb8ebf844f SHA512 9771851f4b0191c7d3f8d2a2a6d2a9198b173120d3f133d08284b71e792fc59a906d571edea8f44ba04ab00c1d906e1974d1e8a2d6155d492de1358ba99c575a WHIRLPOOL 42b9c7aa0b8d4d91436a01a60cbca64a9c8f7798b7aeb60bd2c4af085f9e13167a5ac5132d55bd890b4890c00428e908dfae32ed78ec153c868ee02ed3cdaa3f
|
||||
DIST pyparsing-2.1.10.tar.gz 1230829 SHA256 811c3e7b0031021137fc83e051795025fcb98674d07eb8fe922ba4de53d39188 SHA512 21af73d6f479d52746f269c8fbaf90c1107a8aec756d30af8c7c4e6a2ff0ea9659cc07816b7ea19286bc12d43497f5e8e63351453bf18daf6a1cb380a195532e WHIRLPOOL 1ffbad12d00b99a260cd77c61503aa1800f97028be7c40e67f582c1b497ed1872e51d33887e278cd5203ec379d27886edd9455d1d8f7bef9d1b2d7df38185cc4
|
||||
DIST pyparsing-2.1.8.tar.gz 1222883 SHA256 03a4869b9f3493807ee1f1cb405e6d576a1a2ca4d81a982677c0c1ad6177c56b SHA512 0fb98d3704f9725926b20d72f770a6188a1be6f9856c371afd25d496519b794ba0026e4f9dbeeed6e5188edb99134d8909b595fca5536b1914c5e5832ebabdb2 WHIRLPOOL aba4e55c0312342a9d8525bdecea70bf322b52a52097b25c1ea412e4270145945b05dd72cbe0b5252447d75be2e0a2afdc5a99e3864845c5bface6ae3c9cd743
|
||||
DIST pyparsing-2.2.0.tar.gz 1232522 SHA256 0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04 SHA512 6a409f429d40a5ac202d144e4150de2c80d7c7120147f603f72a4a99797d48c50822a6437f590ec5ae4418d51aa1f6b1d4e5d95a57e19bec0a127b04e4937008 WHIRLPOOL dde3e3ec016671f76976f4b585a027070b3087b46a336363c994dc3e97ad699b5551dc439b8f52230ca48bdd6a50d3ac3576440dcac4802e29e6f9ca4494f2d9
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
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 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"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
# Build system copies the module from py2/py3 version to the regular
|
||||
# name before installing.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# resorted to sed, fixed in June upstream, bug ID: 3381439.
|
||||
# See Bug #443836.
|
||||
sed -e "s/26 June 2011 10:53/16 June 2012 03:08/" \
|
||||
-e 's:exc.__traceback__:pe.__traceback__:' \
|
||||
-i pyparsing_py3.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
|
||||
if use doc; then
|
||||
dohtml -r htmldoc/*
|
||||
doins docs/*.pdf
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
@@ -1,36 +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 ~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"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# not 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 && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
||||
Reference in New Issue
Block a user