diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /dev-python/pyparsing | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'dev-python/pyparsing')
-rw-r--r-- | dev-python/pyparsing/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyparsing/pyparsing-2.3.0.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index c093db630e2a..45133a4f2ec4 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,4 +1,6 @@ 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 EBUILD pyparsing-2.2.0.ebuild 1327 BLAKE2B 3d0ebd9515c50ddeb36275a1d68b2598e16f05cd375774483746f2a67b5f5d9cd466d821aad9e10e6b17cc0d9d610935d5d4d6470a0e307169f868c25a4a453b SHA512 b06c25f684600d222beb8cb7ab095c778833d8ea81dec25a6cea511252ce12992c3141b6521d858f10901fc02a48ece807e0096eccf1fe1d6dfeca1574376f9e +EBUILD pyparsing-2.3.0.ebuild 1254 BLAKE2B 5d5f57fdf6f3c1cf3e731954731a972303ac2518edd1170d70cecc384be72839d59f6e7ac919206d0f2656d6833d19f1287fd0c4db5d162ac5b98485c990c714 SHA512 9d09c7a3df3780e04501e210a5fe25914ff17558d206ef5df4280e2958b8790c760dae9e3220885b7be8fc6607861bfa0042590f4ceb0346c94b5f81dc35b7f2 MISC metadata.xml 737 BLAKE2B 4b4199e79bc2e92c175ce249cc395d2324cdc3a3df25bb36db5884b79057ec04c63b2cef7ef27e9f656a58e0fd5aa162b8eebe076f6e673b227659a3e013df08 SHA512 2cab4251c3444c6479b4d5ff92221399e01ea5e4a6af96631ccf81cdce5f3f9cc2ab06993c9636f36469acb5b28660c41e594d0d7315c6cd9b5dbaec0deda7cf diff --git a/dev-python/pyparsing/pyparsing-2.3.0.ebuild b/dev-python/pyparsing/pyparsing-2.3.0.ebuild new file mode 100644 index 000000000000..1817465ad323 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-2.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy 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-fbsd ~x86-fbsd ~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 +} |