File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ DIST pyparsing_2.4.7.tar.gz 648158 BLAKE2B 24525b4ee7876e245b9eb270f0e3e22fe2d8b398f9777ad3b3657b8a1227dcbd25983aa64a3f3018debdbffc1a042c732e6b3a09800e081c7acac7b97da15317 SHA512 c7a546729f86a2b5176e2482b566b9fd715b03e495aaef4d720b21307bb03f385dbc849247f8d266cb3d92be0a83c34ce4995b655ce85318355d5a0d42d6991e
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3+ <pkgmetadata >
4+ <maintainer type =" project" >
5+ <email >sci@gentoo.org</email >
6+ <name >Science Project</name >
7+ </maintainer >
8+ <longdescription lang =" en" >
9+ The pyparsing module is an alternative approach to creating and
10+ executing simple grammars, vs. the traditional lex/yacc approach, or the
11+ use of regular expressions. The pyparsing module provides a library of
12+ classes that client code uses to construct the grammar directly in
13+ Python code.
14+ </longdescription >
15+ <stabilize-allarches />
16+ <upstream >
17+ <remote-id type =" sourceforge" >pyparsing</remote-id >
18+ <remote-id type =" pypi" >pyparsing</remote-id >
19+ <remote-id type =" github" >pyparsing/pyparsing</remote-id >
20+ </upstream >
21+ </pkgmetadata >
Original file line number Diff line number Diff line change 1+ # Copyright 2004-2022 Gentoo Authors
2+ # Distributed under the terms of the GNU General Public License v2
3+
4+ # please keep this ebuild at EAPI 7 -- sys-apps/portage dep
5+ EAPI=7
6+
7+ PYTHON_COMPAT=( python3_{7..10} pypy3 )
8+ inherit distutils-r1
9+
10+ MY_P=${P/ -/ _}
11+ DESCRIPTION=" Easy-to-use Python module for text parsing"
12+ HOMEPAGE=" https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
13+ SRC_URI=" https://github.com/${PN} /${PN} /archive/${MY_P} .tar.gz"
14+ S=${WORKDIR} /${PN} -${MY_P}
15+
16+ LICENSE=" MIT"
17+ SLOT=" 0"
18+ 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"
19+ IUSE=" examples"
20+
21+ distutils_enable_tests setup.py
22+
23+ python_install_all () {
24+ if use examples; then
25+ docompress -x /usr/share/doc/${PF} /examples
26+ dodoc -r examples
27+ fi
28+ distutils-r1_python_install_all
29+ }
You can’t perform that action at this time.
0 commit comments