diff options
Diffstat (limited to 'dev-python/pyparsing')
-rw-r--r-- | dev-python/pyparsing/Manifest | 15 | ||||
-rw-r--r-- | dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch | 17 | ||||
-rw-r--r-- | dev-python/pyparsing/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/pyparsing/pyparsing-2.2.0.ebuild | 47 | ||||
-rw-r--r-- | dev-python/pyparsing/pyparsing-2.3.0.ebuild | 38 | ||||
-rw-r--r-- | dev-python/pyparsing/pyparsing-2.3.1.ebuild | 38 | ||||
-rw-r--r-- | dev-python/pyparsing/pyparsing-2.4.6.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pyparsing/pyparsing-2.4.7.ebuild (renamed from dev-python/pyparsing/pyparsing-2.4.0.ebuild) | 12 |
8 files changed, 9 insertions, 161 deletions
diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index a03890615dc3..9329529fd15a 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,12 +1,5 @@ -AUX pyparsing-2.2.0-distutils.patch 496 BLAKE2B 7bd4f362839ed9fa61eebbad786c9b373b8a6f7c762e6b63a44ab4ec7295a7925a15bb66a003259d3c608b763445680b9466a0bfc88818cc2c78d232829f897e SHA512 0fa30bfa6fbf08b4723e80d4f688daea62589c1aaf6ced8bbe56c1edfb438882a7b0e68969b69e5d2da59b0bbd5f2eba051423b011c1bb01c1d74e2254e66090 -DIST pyparsing-2.2.0.tar.gz 1232522 BLAKE2B 59420548fcee047e2b385d76b8ce034807eb3ac0fcdc9929f656cf4b81436c96c37d206b5d6b90ee6892e402df6b939fe9e793384d4cbe0618c8d06d5197586d SHA512 6a409f429d40a5ac202d144e4150de2c80d7c7120147f603f72a4a99797d48c50822a6437f590ec5ae4418d51aa1f6b1d4e5d95a57e19bec0a127b04e4937008 -DIST pyparsing_2.3.0.tar.gz 624393 BLAKE2B 9fd9bee7742953d455ea34310ef1668df0a7633642deb4eeff507439228ae018e4ba99d3476c5cfe374a908b58b0311527ae5f04ddec8eb7e219a2a9d4cbc8ce SHA512 2a4de9b208ee3c557fb6d050d5c3c20e35a11b21d35996fce5a0876d4f52952072bed7ae2ed157ae0ba388543dc554f4828a1da22712ae7d9f0d38a16b0a546e -DIST pyparsing_2.3.1.tar.gz 619405 BLAKE2B 4c1b9abe6ce6e511a998eff19eb32c835144473bfe47204880f43979b1ad72f5c73ff72bfc17fcaa3cf2a9b52875f184b122927cc0d9f9eca5cc4facdc4a119d SHA512 8c0e2c7a7dc7ec12f3e7c260bde25a33f325af89d9bc2329b7882ebd8a3f506fb06a36fdaba0fd8ed48040d5b7fc5288c41b01f2df84459a9980a035cb213dd0 -DIST pyparsing_2.4.0.tar.gz 625419 BLAKE2B 5555a255cbfcbb076fe4d385b2da967bc44a7110acdd1a4715fb3e22db2a3f5b7bef1ad61423f6d0419cd8cb403abe222e426a96ea755044d04e0105c2798317 SHA512 2888b60c2518b19979e00b01ea499c45cd0a98affe0551f80ea7985acd649d62b4e231e142d3efd65cdcd9e3a0182680bfe1c4d98e310fa2ac476f37ac4ff344 DIST pyparsing_2.4.6.tar.gz 647543 BLAKE2B f6c93fa1e9a7ece4cf6abcc74dae0c96becaf7f50eed5437a6410166e80768c17d429fa2d1e4d1958b2a7c5ad6ffd18218c5160bb0ebe03ae2963014612eecf3 SHA512 475b77f469d2051fb067796849f7c7d3df145f2c6cefc708c904a5b0af22661b4c229c521c2cac3c94621dde9bda6b28e428a8e31d936df6d4596d993263981e -EBUILD pyparsing-2.2.0.ebuild 1294 BLAKE2B 4bea806a81ac8020add0cccd0efc62e02c81ddf1451888dbf93dc9f6814496366f72e3c84f5adf6d8c58a247ec62dd218971b0e117d2c86eb7fea145c249eb0e SHA512 6499f2574bf11b2ceadb6b0ed74c20118a51007f6d33c6c45edc83b59770a1df4e1aab356c67d405dcfa03a421799e784fb150e406baed00c532895ba3baa182 -EBUILD pyparsing-2.3.0.ebuild 1220 BLAKE2B 84e5ba0bf10639fad9c55093af9cdb67b866fb66464c6bccf746851c018402b3afff134611d097b3fd4aa78780f1d6bf6f34248ad098a026364e77935126cf44 SHA512 482e725a276b387165a4a5f891b3893050293d9cf2cf9535a179eaa2c973dd7aed451f3b15e006fec87ee2907a7fd05bd0c0f69f85778e422eb697bdf95f646a -EBUILD pyparsing-2.3.1.ebuild 1209 BLAKE2B 8af9203de502a8f494378bcd466d50f749810d38cb4d6147bd12aea7eb662c239e99e1652f403c1b62ffba3f34c9a92552c7bbc849dfb604189fd64421bb8efa SHA512 819c8de2bf55d6a2a3c601fb0c87ae0f7e0f124f88ae12fa6c14c9a471fb6154fc6cfa313bbfa772cd4bb1b105c8fb8cfcf8194727bffa1524753feba35e0a1d -EBUILD pyparsing-2.4.0.ebuild 1174 BLAKE2B 1b5d23f54c66eca6ed5d8f006a7661e9ddcc982999c2f08118c643dd7fac5ac64328fa226d1c168d9bc034c606f65428ea2d96ee09d73d84454cfee004dfc2bf SHA512 6a582bedbeea4de7a777b4d70bcfd8e03960d9e85b1393bba6c06b98b96d208cf6f125dcd2b62e70fa4067cd66c6fbea5fcb5f8fe874161fb79cebd8b7571bf7 -EBUILD pyparsing-2.4.6.ebuild 1018 BLAKE2B bc67fb682800905232ab8d7f7ea13409f8aae62db3cc66c9051b6893806992243fe3597766ac083e34681618fd426113ecac1b1eb502ca1b8fa2b6cd5a93eeff SHA512 ddaa172df2d052e1ef0b2e94eb082910d60f4659c881346c82ca62a678437c072ccb4b9ba9b803c1d977b1ada927f63aaa5e6a3fb7b1c3f5feca013ac7a53534 -MISC metadata.xml 737 BLAKE2B 4b4199e79bc2e92c175ce249cc395d2324cdc3a3df25bb36db5884b79057ec04c63b2cef7ef27e9f656a58e0fd5aa162b8eebe076f6e673b227659a3e013df08 SHA512 2cab4251c3444c6479b4d5ff92221399e01ea5e4a6af96631ccf81cdce5f3f9cc2ab06993c9636f36469acb5b28660c41e594d0d7315c6cd9b5dbaec0deda7cf +DIST pyparsing_2.4.7.tar.gz 648158 BLAKE2B 24525b4ee7876e245b9eb270f0e3e22fe2d8b398f9777ad3b3657b8a1227dcbd25983aa64a3f3018debdbffc1a042c732e6b3a09800e081c7acac7b97da15317 SHA512 c7a546729f86a2b5176e2482b566b9fd715b03e495aaef4d720b21307bb03f385dbc849247f8d266cb3d92be0a83c34ce4995b655ce85318355d5a0d42d6991e +EBUILD pyparsing-2.4.6.ebuild 1005 BLAKE2B bed1f78b5b500b888274bdd0e7667912e6bcb974de3162e986735a4f0a7ab640eb76b83342ead7b205d87617cc615a67a976bc56dcf9ce944ff495994c065c7f SHA512 8e2027117117eb247971eade420f0fccb5712b56f822d28fd05dbf76e8a108fbb6a777e6f491898ead5d96f88c3fe44338a0cb08d491aa11dfa71c0baadf2af4 +EBUILD pyparsing-2.4.7.ebuild 1014 BLAKE2B 9f411977b9a257ec2890b76a9a18e451a08176c455cfcf109a7d3fbfd6136a791d72ccfad739666a71763dcbc282056229374f4717da39785daef86463945156 SHA512 71b50575adab31bb0ae3cbb8b79e4757a0b0b2c858f7615ea1854c94c1e02474d9456075ed190d073b87c2d2d9a10195ca6e593b4ae4bdd18c22706d821b70a5 +MISC metadata.xml 762 BLAKE2B adad994029179676a767488775141e8d79d51803f1fa9546d85c33dfbaa2a656e82bbd1c684c401bdccad5f2be763878296f149c9032097f1db87c60865dbc7a SHA512 7afb6c24b323080e02f552a35c89e7b0117482ed9edf5ad28e845553d98db9ba0d02919419ec8029bfc431ed39c5b60bc270360e6c5567d34e883c819b2ca9c1 diff --git a/dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch b/dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch deleted file mode 100644 index 6fa4a30d92ad..000000000000 --- a/dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch +++ /dev/null @@ -1,17 +0,0 @@ -Force distutils to be used instead of falling back to it after trying -setuptools in order to avoid bootstrap issues. - ---- pyparsing-2.2.0/setup.py -+++ pyparsing-2.2.0/setup.py -@@ -4,10 +4,7 @@ -
- # Setuptools depends on pyparsing (via packaging) as of version 34, so allow
- # installing without it to avoid bootstrap problems.
--try:
-- from setuptools import setup
--except ImportError:
-- from distutils.core import setup
-+from distutils.core import setup
-
- import sys
- import os
diff --git a/dev-python/pyparsing/metadata.xml b/dev-python/pyparsing/metadata.xml index 9a57fea5295c..84f7a71eb750 100644 --- a/dev-python/pyparsing/metadata.xml +++ b/dev-python/pyparsing/metadata.xml @@ -12,6 +12,7 @@ classes that client code uses to construct the grammar directly in Python code. </longdescription> + <stabilize-allarches/> <upstream> <remote-id type="sourceforge">pyparsing</remote-id> <remote-id type="pypi">pyparsing</remote-id> diff --git a/dev-python/pyparsing/pyparsing-2.2.0.ebuild b/dev-python/pyparsing/pyparsing-2.2.0.ebuild deleted file mode 100644 index f3fe63fb5ce9..000000000000 --- a/dev-python/pyparsing/pyparsing-2.2.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2004-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Easy-to-use Python module for text parsing" -HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.org/project/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-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=( "${FILESDIR}"/${P}-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 -} diff --git a/dev-python/pyparsing/pyparsing-2.3.0.ebuild b/dev-python/pyparsing/pyparsing-2.3.0.ebuild deleted file mode 100644 index 281c4c2eafe8..000000000000 --- a/dev-python/pyparsing/pyparsing-2.3.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2004-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/-/_} -DESCRIPTION="Easy-to-use Python module for text parsing" -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/" -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz" -# pypi releases and generated github tarballs lack tests -#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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples" - -# setuptools currently vendors its own copy of pyparsing to avoid bootstrapping -# issues so depend on it here for consistency -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" - -S=${WORKDIR}/${PN}-${MY_P} - -python_test() { - "${PYTHON}" unitTests.py || die "tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pyparsing/pyparsing-2.3.1.ebuild b/dev-python/pyparsing/pyparsing-2.3.1.ebuild deleted file mode 100644 index b8d78e191a62..000000000000 --- a/dev-python/pyparsing/pyparsing-2.3.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2004-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/-/_} -DESCRIPTION="Easy-to-use Python module for text parsing" -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/" -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz" -# pypi releases and generated github tarballs lack tests -#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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples" - -# setuptools currently vendors its own copy of pyparsing to avoid bootstrapping -# issues so depend on it here for consistency -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" - -S=${WORKDIR}/${PN}-${MY_P} - -python_test() { - "${PYTHON}" unitTests.py || die "tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pyparsing/pyparsing-2.4.6.ebuild b/dev-python/pyparsing/pyparsing-2.4.6.ebuild index c4c1d378835a..02bfc28f1b87 100644 --- a/dev-python/pyparsing/pyparsing-2.4.6.ebuild +++ b/dev-python/pyparsing/pyparsing-2.4.6.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="examples" distutils_enable_tests setup.py diff --git a/dev-python/pyparsing/pyparsing-2.4.0.ebuild b/dev-python/pyparsing/pyparsing-2.4.7.ebuild index e60814b8bd09..e0fceaa8ab24 100644 --- a/dev-python/pyparsing/pyparsing-2.4.0.ebuild +++ b/dev-python/pyparsing/pyparsing-2.4.7.ebuild @@ -3,6 +3,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 @@ -15,20 +16,13 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="examples" -# setuptools currently vendors its own copy of pyparsing to avoid bootstrapping -# issues so depend on it here for consistency -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" +distutils_enable_tests setup.py S=${WORKDIR}/${PN}-${MY_P} -python_test() { - esetup.py test -} - python_install_all() { if use examples; then docompress -x /usr/share/doc/${PF}/examples |