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/, dev-python/pyparsing/files/
Date: Sat, 28 Mar 2020 18:03:10
Message-Id: 1585418573.8e993c9e7b0ec0a1edf3e2a06c223b4cbf0794d4.mgorny@gentoo
1 commit: 8e993c9e7b0ec0a1edf3e2a06c223b4cbf0794d4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 17:59:39 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 18:02:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e993c9e
7
8 dev-python/pyparsing: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyparsing/Manifest | 4 --
13 .../files/pyparsing-2.2.0-distutils.patch | 17 --------
14 dev-python/pyparsing/pyparsing-2.2.0.ebuild | 47 ----------------------
15 dev-python/pyparsing/pyparsing-2.3.0.ebuild | 38 -----------------
16 dev-python/pyparsing/pyparsing-2.3.1.ebuild | 38 -----------------
17 dev-python/pyparsing/pyparsing-2.4.0.ebuild | 38 -----------------
18 6 files changed, 182 deletions(-)
19
20 diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest
21 index 446e08a733d..cf6a79c6692 100644
22 --- a/dev-python/pyparsing/Manifest
23 +++ b/dev-python/pyparsing/Manifest
24 @@ -1,5 +1 @@
25 -DIST pyparsing-2.2.0.tar.gz 1232522 BLAKE2B 59420548fcee047e2b385d76b8ce034807eb3ac0fcdc9929f656cf4b81436c96c37d206b5d6b90ee6892e402df6b939fe9e793384d4cbe0618c8d06d5197586d SHA512 6a409f429d40a5ac202d144e4150de2c80d7c7120147f603f72a4a99797d48c50822a6437f590ec5ae4418d51aa1f6b1d4e5d95a57e19bec0a127b04e4937008
26 -DIST pyparsing_2.3.0.tar.gz 624393 BLAKE2B 9fd9bee7742953d455ea34310ef1668df0a7633642deb4eeff507439228ae018e4ba99d3476c5cfe374a908b58b0311527ae5f04ddec8eb7e219a2a9d4cbc8ce SHA512 2a4de9b208ee3c557fb6d050d5c3c20e35a11b21d35996fce5a0876d4f52952072bed7ae2ed157ae0ba388543dc554f4828a1da22712ae7d9f0d38a16b0a546e
27 -DIST pyparsing_2.3.1.tar.gz 619405 BLAKE2B 4c1b9abe6ce6e511a998eff19eb32c835144473bfe47204880f43979b1ad72f5c73ff72bfc17fcaa3cf2a9b52875f184b122927cc0d9f9eca5cc4facdc4a119d SHA512 8c0e2c7a7dc7ec12f3e7c260bde25a33f325af89d9bc2329b7882ebd8a3f506fb06a36fdaba0fd8ed48040d5b7fc5288c41b01f2df84459a9980a035cb213dd0
28 -DIST pyparsing_2.4.0.tar.gz 625419 BLAKE2B 5555a255cbfcbb076fe4d385b2da967bc44a7110acdd1a4715fb3e22db2a3f5b7bef1ad61423f6d0419cd8cb403abe222e426a96ea755044d04e0105c2798317 SHA512 2888b60c2518b19979e00b01ea499c45cd0a98affe0551f80ea7985acd649d62b4e231e142d3efd65cdcd9e3a0182680bfe1c4d98e310fa2ac476f37ac4ff344
29 DIST pyparsing_2.4.6.tar.gz 647543 BLAKE2B f6c93fa1e9a7ece4cf6abcc74dae0c96becaf7f50eed5437a6410166e80768c17d429fa2d1e4d1958b2a7c5ad6ffd18218c5160bb0ebe03ae2963014612eecf3 SHA512 475b77f469d2051fb067796849f7c7d3df145f2c6cefc708c904a5b0af22661b4c229c521c2cac3c94621dde9bda6b28e428a8e31d936df6d4596d993263981e
30
31 diff --git a/dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch b/dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch
32 deleted file mode 100644
33 index 6fa4a30d92a..00000000000
34 --- a/dev-python/pyparsing/files/pyparsing-2.2.0-distutils.patch
35 +++ /dev/null
36 @@ -1,17 +0,0 @@
37 -Force distutils to be used instead of falling back to it after trying
38 -setuptools in order to avoid bootstrap issues.
39 -
40 ---- pyparsing-2.2.0/setup.py
41 -+++ pyparsing-2.2.0/setup.py
42 -@@ -4,10 +4,7 @@
43 -
44 - # Setuptools depends on pyparsing (via packaging) as of version 34, so allow
45 - # installing without it to avoid bootstrap problems.
46 --try:
47 -- from setuptools import setup
48 --except ImportError:
49 -- from distutils.core import setup
50 -+from distutils.core import setup
51 -
52 - import sys
53 - import os
54
55 diff --git a/dev-python/pyparsing/pyparsing-2.2.0.ebuild b/dev-python/pyparsing/pyparsing-2.2.0.ebuild
56 deleted file mode 100644
57 index d361c4fe6c4..00000000000
58 --- a/dev-python/pyparsing/pyparsing-2.2.0.ebuild
59 +++ /dev/null
60 @@ -1,47 +0,0 @@
61 -# Copyright 2004-2020 Gentoo Authors
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI=6
65 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
66 -
67 -inherit distutils-r1
68 -
69 -DESCRIPTION="Easy-to-use Python module for text parsing"
70 -HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.org/project/pyparsing/"
71 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
72 -
73 -LICENSE="MIT"
74 -SLOT="0"
75 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
76 -IUSE="doc examples"
77 -
78 -# not contained in the tarball
79 -RESTRICT=test
80 -
81 -PATCHES=( "${FILESDIR}"/${P}-distutils.patch )
82 -
83 -python_install_all() {
84 - local HTML_DOCS=( HowToUsePyparsing.html )
85 - if use doc; then
86 - HTML_DOCS+=( htmldoc/. )
87 - dodoc docs/*.pdf
88 - fi
89 - use examples && dodoc -r examples
90 - distutils-r1_python_install_all
91 -}
92 -
93 -python_test() {
94 - ${PYTHON} unitTests.py || die
95 -}
96 -
97 -pkg_preinst() {
98 - _remove_egg_info() {
99 - local pyver="$("${PYTHON}" -c 'import sys; print(sys.version[:3])')"
100 - local egginfo="${ROOT%/}$(python_get_sitedir)/${P}-py${pyver}.egg-info"
101 - if [[ -d ${egginfo} ]]; then
102 - einfo "Removing ${egginfo}"
103 - rm -r "${egginfo}" || die
104 - fi
105 - }
106 - python_foreach_impl _remove_egg_info
107 -}
108
109 diff --git a/dev-python/pyparsing/pyparsing-2.3.0.ebuild b/dev-python/pyparsing/pyparsing-2.3.0.ebuild
110 deleted file mode 100644
111 index 40d6df647e9..00000000000
112 --- a/dev-python/pyparsing/pyparsing-2.3.0.ebuild
113 +++ /dev/null
114 @@ -1,38 +0,0 @@
115 -# Copyright 2004-2020 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=7
119 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
120 -
121 -inherit distutils-r1
122 -
123 -MY_P=${P/-/_}
124 -DESCRIPTION="Easy-to-use Python module for text parsing"
125 -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
126 -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz"
127 -# pypi releases and generated github tarballs lack tests
128 -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
129 -
130 -LICENSE="MIT"
131 -SLOT="0"
132 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
133 -IUSE="examples"
134 -
135 -# setuptools currently vendors its own copy of pyparsing to avoid bootstrapping
136 -# issues so depend on it here for consistency
137 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
138 -RDEPEND=""
139 -
140 -S=${WORKDIR}/${PN}-${MY_P}
141 -
142 -python_test() {
143 - "${PYTHON}" unitTests.py || die "tests failed with ${EPYTHON}"
144 -}
145 -
146 -python_install_all() {
147 - if use examples; then
148 - docompress -x /usr/share/doc/${PF}/examples
149 - dodoc -r examples
150 - fi
151 - distutils-r1_python_install_all
152 -}
153
154 diff --git a/dev-python/pyparsing/pyparsing-2.3.1.ebuild b/dev-python/pyparsing/pyparsing-2.3.1.ebuild
155 deleted file mode 100644
156 index d1656de438a..00000000000
157 --- a/dev-python/pyparsing/pyparsing-2.3.1.ebuild
158 +++ /dev/null
159 @@ -1,38 +0,0 @@
160 -# Copyright 2004-2020 Gentoo Authors
161 -# Distributed under the terms of the GNU General Public License v2
162 -
163 -EAPI=7
164 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
165 -
166 -inherit distutils-r1
167 -
168 -MY_P=${P/-/_}
169 -DESCRIPTION="Easy-to-use Python module for text parsing"
170 -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
171 -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz"
172 -# pypi releases and generated github tarballs lack tests
173 -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
174 -
175 -LICENSE="MIT"
176 -SLOT="0"
177 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
178 -IUSE="examples"
179 -
180 -# setuptools currently vendors its own copy of pyparsing to avoid bootstrapping
181 -# issues so depend on it here for consistency
182 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
183 -RDEPEND=""
184 -
185 -S=${WORKDIR}/${PN}-${MY_P}
186 -
187 -python_test() {
188 - "${PYTHON}" unitTests.py || die "tests failed with ${EPYTHON}"
189 -}
190 -
191 -python_install_all() {
192 - if use examples; then
193 - docompress -x /usr/share/doc/${PF}/examples
194 - dodoc -r examples
195 - fi
196 - distutils-r1_python_install_all
197 -}
198
199 diff --git a/dev-python/pyparsing/pyparsing-2.4.0.ebuild b/dev-python/pyparsing/pyparsing-2.4.0.ebuild
200 deleted file mode 100644
201 index b24dee689cb..00000000000
202 --- a/dev-python/pyparsing/pyparsing-2.4.0.ebuild
203 +++ /dev/null
204 @@ -1,38 +0,0 @@
205 -# Copyright 2004-2020 Gentoo Authors
206 -# Distributed under the terms of the GNU General Public License v2
207 -
208 -EAPI=7
209 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
210 -
211 -inherit distutils-r1
212 -
213 -MY_P=${P/-/_}
214 -DESCRIPTION="Easy-to-use Python module for text parsing"
215 -HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
216 -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz"
217 -# pypi releases and generated github tarballs lack tests
218 -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
219 -
220 -LICENSE="MIT"
221 -SLOT="0"
222 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
223 -IUSE="examples"
224 -
225 -# setuptools currently vendors its own copy of pyparsing to avoid bootstrapping
226 -# issues so depend on it here for consistency
227 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
228 -RDEPEND=""
229 -
230 -S=${WORKDIR}/${PN}-${MY_P}
231 -
232 -python_test() {
233 - esetup.py test
234 -}
235 -
236 -python_install_all() {
237 - if use examples; then
238 - docompress -x /usr/share/doc/${PF}/examples
239 - dodoc -r examples
240 - fi
241 - distutils-r1_python_install_all
242 -}