commit: 7f5db31ee9ef324e9b13d05cc14c90ce8eeda040 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Tue Feb 8 14:06:43 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Feb 8 14:07:33 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7f5db31e
dev-python/pyparsing: add pyparsing-2 dep of fsleyes, cleaned from ::gentoo Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/pyparsing/metadata.xml | 21 +++++++++++++++++++ dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild | 29 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/pyparsing/metadata.xml b/dev-python/pyparsing/metadata.xml new file mode 100644 index 000000000..2692e21d7 --- /dev/null +++ b/dev-python/pyparsing/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Science Project</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> + <stabilize-allarches/> + <upstream> + <remote-id type="sourceforge">pyparsing</remote-id> + <remote-id type="pypi">pyparsing</remote-id> + <remote-id type="github">pyparsing/pyparsing</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild new file mode 100644 index 000000000..55da214a2 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2004-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} 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" +S=${WORKDIR}/${PN}-${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="examples" + +distutils_enable_tests setup.py + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +}
