Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyparsing/
Date: Tue, 31 May 2022 07:28:09
Message-Id: 1653981914.5f84fe545428e1de59e786521897dfb0c3f9f5be.mgorny@gentoo
1 commit: 5f84fe545428e1de59e786521897dfb0c3f9f5be
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 07:23:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 07:25:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f84fe54
7
8 dev-python/pyparsing: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyparsing/Manifest | 2 -
13 dev-python/pyparsing/pyparsing-3.0.7-r1.ebuild | 60 --------------------------
14 dev-python/pyparsing/pyparsing-3.0.8.ebuild | 46 --------------------
15 3 files changed, 108 deletions(-)
16
17 diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest
18 index 83bac227ea75..fef86e5a9f4d 100644
19 --- a/dev-python/pyparsing/Manifest
20 +++ b/dev-python/pyparsing/Manifest
21 @@ -1,3 +1 @@
22 -DIST pyparsing_3.0.7.tar.gz 944917 BLAKE2B bcbcd18817c69a69ac6863affb1309a5ca63fe46a45dc056d8407d79a77d1f19e4d1abce08f5d6f1aff7cbdaefb5b699787abcddfcbf64e5514e79e2b0b86ce6 SHA512 d5d5547188ebda6fb7f45928174314d3d4d10302acc8fb476cd6590fb4a75167dee5f6397ab0b63efd4cb55c0765708ffd432bcfecf28d8f808815e62615f447
23 -DIST pyparsing_3.0.8.tar.gz 948516 BLAKE2B 8df61ce3c5f0b9ef725bf750fa25c26e482a5786b6c3a03befbf7945c76f67981d0f60bfc98badeb353274e5e3c8442e105ae635d0b93681e23090e70716ce0a SHA512 5567824ac6d4c17755c0d47f2994cc2449383d9d3e9dfa374886d92af38651334483034713df420701d1c4560b331f61d763f7f8d1d7a14a7d221c022b9fc8a7
24 DIST pyparsing_3.0.9.tar.gz 967771 BLAKE2B c13c74661b9e0d53b4886c9949b01951d220991f916362a13ce0c32c0ab05a6b1cab4d5e5a626acb7563c0ec1716348ede205cb67bf22c0710904f07404ad82a SHA512 1158f27e31f8eced540217b7234b09005eac416fad74faf59678fdae93fe2f76e0e3b5f4adfd3ceb42c8aef19150950293e989c9a5189741175073eb7a03cd6d
25
26 diff --git a/dev-python/pyparsing/pyparsing-3.0.7-r1.ebuild b/dev-python/pyparsing/pyparsing-3.0.7-r1.ebuild
27 deleted file mode 100644
28 index 0ddc113a0975..000000000000
29 --- a/dev-python/pyparsing/pyparsing-3.0.7-r1.ebuild
30 +++ /dev/null
31 @@ -1,60 +0,0 @@
32 -# Copyright 2004-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
36 -EAPI=7
37 -
38 -DISTUTILS_USE_PEP517=flit
39 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
40 -inherit distutils-r1
41 -
42 -MY_P=${P/-/_}
43 -DESCRIPTION="Easy-to-use Python module for text parsing"
44 -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
45 -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz"
46 -S="${WORKDIR}/${PN}-${MY_P}"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -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"
51 -IUSE="examples"
52 -
53 -distutils_enable_tests pytest
54 -
55 -EPYTEST_IGNORE=(
56 - # railroad-diagrams not packaged (and not suitable for packaging yet)
57 - tests/test_diagram.py
58 -)
59 -
60 -EPYTEST_DESELECT=(
61 - # also railroad-diagrams
62 - tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly
63 - tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly
64 - tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly
65 - tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly
66 - tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly
67 - tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly
68 -)
69 -
70 -src_configure() {
71 - [[ -e pyproject.toml ]] &&
72 - die "Upstream added pyproject.toml, recheck"
73 - # write a custom pyproject.toml to ease setuptools bootstrap
74 - cat > pyproject.toml <<-EOF || die
75 - [build-system]
76 - requires = ["flit_core >=3.2,<4"]
77 - build-backend = "flit_core.buildapi"
78 -
79 - [project]
80 - name = "pyparsing"
81 - dynamic = ["version", "description"]
82 - EOF
83 -}
84 -
85 -python_install_all() {
86 - if use examples; then
87 - docompress -x /usr/share/doc/${PF}/examples
88 - dodoc -r examples
89 - fi
90 - distutils-r1_python_install_all
91 -}
92
93 diff --git a/dev-python/pyparsing/pyparsing-3.0.8.ebuild b/dev-python/pyparsing/pyparsing-3.0.8.ebuild
94 deleted file mode 100644
95 index 5dd04e79a482..000000000000
96 --- a/dev-python/pyparsing/pyparsing-3.0.8.ebuild
97 +++ /dev/null
98 @@ -1,46 +0,0 @@
99 -# Copyright 2004-2022 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
103 -EAPI=7
104 -
105 -DISTUTILS_USE_PEP517=flit
106 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
107 -
108 -inherit distutils-r1
109 -
110 -MY_P=${P/-/_}
111 -DESCRIPTION="Easy-to-use Python module for text parsing"
112 -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
113 -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz"
114 -S="${WORKDIR}/${PN}-${MY_P}"
115 -
116 -LICENSE="MIT"
117 -SLOT="0"
118 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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"
119 -IUSE="examples"
120 -
121 -distutils_enable_tests pytest
122 -
123 -EPYTEST_IGNORE=(
124 - # railroad-diagrams not packaged (and not suitable for packaging yet)
125 - tests/test_diagram.py
126 -)
127 -
128 -EPYTEST_DESELECT=(
129 - # also railroad-diagrams
130 - tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly
131 - tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly
132 - tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly
133 - tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly
134 - tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly
135 - tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly
136 -)
137 -
138 -python_install_all() {
139 - if use examples; then
140 - docompress -x /usr/share/doc/${PF}/examples
141 - dodoc -r examples
142 - fi
143 - distutils-r1_python_install_all
144 -}