dev-python/pyparsing: superseded by Gentoo Main
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
d60fcd1867
commit
93a38110b9
@ -1,4 +0,0 @@
|
|||||||
*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
|
|
@ -1 +0,0 @@
|
|||||||
DIST pyparsing_2.4.5.tar.gz 645229 SHA256 8c74536281303ef5e1a5be06874d979171cc72b1eee0129f05bebd453383e5ee SHA512 156cfdd28b4eadd5a29abfec8818fe4d038b220cf27aaa9d499f68ec87867c9048dfa79fd6efd85e940d47a7e7fcb21b93d527be05d27a5b58e2900fffb6b132 WHIRLPOOL 3c4b7a33f3029999dcd8a9a378c20c8e07c6d95a59be1e4dbec3adad732726dfe82608a258e5a29e1b71d0a7e402969ac8217b08a672d273aec496fe88980e6d
|
|
@ -1,19 +0,0 @@
|
|||||||
<?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>
|
|
@ -1,38 +0,0 @@
|
|||||||
# 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
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user