1
0
mirror of synced 2024-12-22 21:00:20 +01:00

dev-python/pyparsing: version bump 2.4.5 ahead of Gentoo Main

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2019-12-04 05:22:51 +01:00
parent 6b0196ac73
commit a15e2a42c4
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,4 @@
*pyparsing-2.4.5 (04 Dec 2019)
04 Dec 2019; <chymera@gentoo.org> +metadata.xml, +pyparsing-2.4.5.ebuild:
dev-python/pyparsing: version bump 2.4.5 ahead of Gentoo Main

View File

@ -0,0 +1 @@
DIST pyparsing_2.4.5.tar.gz 645229 SHA256 8c74536281303ef5e1a5be06874d979171cc72b1eee0129f05bebd453383e5ee SHA512 156cfdd28b4eadd5a29abfec8818fe4d038b220cf27aaa9d499f68ec87867c9048dfa79fd6efd85e940d47a7e7fcb21b93d527be05d27a5b58e2900fffb6b132 WHIRLPOOL 3c4b7a33f3029999dcd8a9a378c20c8e07c6d95a59be1e4dbec3adad732726dfe82608a258e5a29e1b71d0a7e402969ac8217b08a672d273aec496fe88980e6d

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">
The pyparsing module is an alternative approach to creating and
executing simple grammars, vs. the traditional lex/yacc approach, or the
use of regular expressions. The pyparsing module provides a library of
classes that client code uses to construct the grammar directly in
Python code.
</longdescription>
<upstream>
<remote-id type="sourceforge">pyparsing</remote-id>
<remote-id type="pypi">pyparsing</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,38 @@
# Copyright 2004-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{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-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() {
esetup.py test
}
python_install_all() {
if use examples; then
docompress -x /usr/share/doc/${PF}/examples
dodoc -r examples
fi
distutils-r1_python_install_all
}