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/pygame/
Date: Mon, 02 Nov 2020 10:34:47
Message-Id: 1604313264.62b0cba31aba3e199ca9661c21fe6068be76a646.mgorny@gentoo
1 commit: 62b0cba31aba3e199ca9661c21fe6068be76a646
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 10:30:53 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 10:34:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b0cba3
7
8 dev-python/pygame: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygame/Manifest | 3 -
13 dev-python/pygame/pygame-2.0.0_pre18.ebuild | 91 -----------------------------
14 dev-python/pygame/pygame-2.0.0_pre22.ebuild | 91 -----------------------------
15 dev-python/pygame/pygame-2.0.0_pre24.ebuild | 91 -----------------------------
16 4 files changed, 276 deletions(-)
17
18 diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest
19 index fad79bf4293..f03c9588b08 100644
20 --- a/dev-python/pygame/Manifest
21 +++ b/dev-python/pygame/Manifest
22 @@ -1,6 +1,3 @@
23 DIST pygame-1.9.6.tar.gz 3223131 BLAKE2B a4d04c933fcad244d32bd512ef8717e60ec923f361e9e0296b5c7d57c5949d3434a040d028249c5b8f3c865ac3dcdbb32e6f0b223186678595a8625213ba2a17 SHA512 d923c554203a7c35e37921658cb4c5bf50215ab0ff4d2b869a1ee6b2e2ca31d66ec4bbde4287f5a777838ffe932cd15b993cb0224b86e43d684de61c35acbcd0
24 DIST pygame-2.0.0.dev10.tar.gz 5567274 BLAKE2B 7d78f260318cfabeb33f1073ae210f890d2f772e3ef302f243cca67724c6012355644ba60d4cae6de72db6dd61d320177deff6ee83dd355ec4cc33e841b565f7 SHA512 4cee7599fd8a6d31ddd66bfaad3bbb67cb167c1ae339f37e83322d810fea8746e81a191c224a0eeb6cc43a64bf1730ff0886c82f1a4f642e2e656ca9a837bf9e
25 -DIST pygame-2.0.0.dev18.tar.gz 5591175 BLAKE2B 3479e9161e4dc5f00123f359b29f5c133020578bd09fc972f3f2d9e55b1700f4ac5eccc904524e98fe827fa7ed871db130da1f7b9aa8a67da98f42562f2ee766 SHA512 dfa8ac023e5da1688825281dd06e22aa59fa7061dcf17b8ec1c8c84b2bda7e27d39a97be3375d9ccb15aa50a0096be74ef6c80614e5d71729157712463140af1
26 -DIST pygame-2.0.0.dev22.tar.gz 5596946 BLAKE2B 788a2e328d456198b032226f10b7d0686b7e862bf0106334ed3e26150ece43a1a9a9cbdc4f72f33e27d52e9f7c5e063292170eba9c07213474ecaf295280185a SHA512 2809f101dce256143a57f5b47aac2ceb3c2646301179c37e7545672784a7f8dfd74565d1f6a45c394f59bcfcef4a52473160bf94b494db79a982490a7ac19fd8
27 -DIST pygame-2.0.0.dev24.tar.gz 5598687 BLAKE2B d46ea0112f5a47c9721e16d26d42ef7088a498a9136577a4348271f269a1f4622ba7746efd71fe20b3930e46bbeb2569b9b650511b9a682f9ea688793493bdf7 SHA512 d75b3f49bdaee9b409acf2a075c068cb8d50e5e8e7101f5b79e2abd3db4d09b9eee5c9027177cabf6b71b5dab7f6c412c77caa535c28369e46e347f5c516d59f
28 DIST pygame-2.0.0.tar.gz 5522621 BLAKE2B 49773979af53595d3ff2db1a18e4bcd217e26db3ec28d6129d2a588f23a1bd5326fa79fab32c25aa796738cde0e68f5741bee58f62432e86f89cd49ee17a8f14 SHA512 3f65924d0e1d2863b84118a4e468b521a289e2cf174405c6f3ee2b2a2ed399cde7f9f310d57c4166351f84caaea02dd7408ee852dbcee7c205bb2955b6078fda
29
30 diff --git a/dev-python/pygame/pygame-2.0.0_pre18.ebuild b/dev-python/pygame/pygame-2.0.0_pre18.ebuild
31 deleted file mode 100644
32 index a43bd4b4223..00000000000
33 --- a/dev-python/pygame/pygame-2.0.0_pre18.ebuild
34 +++ /dev/null
35 @@ -1,91 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -PYTHON_COMPAT=( python3_{6..9} )
41 -
42 -inherit distutils-r1
43 -
44 -MY_PV=${PV/_pre/.dev}
45 -MY_P=${PN}-${MY_PV}
46 -
47 -DESCRIPTION="Python bindings for SDL multimedia library"
48 -HOMEPAGE="https://www.pygame.org/"
49 -SRC_URI="
50 - https://github.com/pygame/pygame/releases/download/${MY_PV}/${MY_P}.tar.gz"
51 -S=${WORKDIR}/${MY_P}
52 -
53 -LICENSE="LGPL-2.1"
54 -SLOT="0"
55 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
56 -IUSE="doc examples midi opengl test X"
57 -RESTRICT="!test? ( test )"
58 -
59 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
60 - media-libs/freetype
61 - >=media-libs/sdl2-image-1.2.2
62 - >=media-libs/sdl2-mixer-1.2.4
63 - >=media-libs/sdl2-ttf-2.0.6
64 - >=media-libs/smpeg2-0.4.4-r1
65 - midi? ( media-libs/portmidi )
66 - X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] )
67 - !X? ( >=media-libs/libsdl2-1.2.5[threads] )"
68 -DEPEND="${RDEPEND}
69 - test? (
70 - media-libs/sdl2-image[gif,jpeg,png]
71 - media-libs/sdl2-mixer[mp3,vorbis,wav]
72 - )"
73 -# fontconfig used for fc-list
74 -RDEPEND+="
75 - media-libs/fontconfig"
76 -# util-linux provides script
77 -BDEPEND="
78 - test? (
79 - media-libs/fontconfig
80 - sys-apps/util-linux
81 - )"
82 -
83 -src_prepare() {
84 - if ! use midi; then
85 - rm test/midi_test.py || die
86 - fi
87 - distutils-r1_src_prepare
88 -}
89 -
90 -python_configure() {
91 - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \
92 - "${EPYTHON}" "${S}"/buildconfig/config.py -auto || die
93 -
94 - # Disable automagic dependency on PortMidi.
95 - if ! use midi; then
96 - sed -e "s:^pypm :#&:" -i Setup || die "sed failed"
97 - fi
98 -}
99 -
100 -python_test() {
101 - local -x PYTHONPATH=${BUILD_DIR}/install/lib
102 - local -x SDL_VIDEODRIVER=dummy
103 - local -x SDL_AUDIODRIVER=disk
104 - esetup.py install \
105 - --root="${BUILD_DIR}"/install \
106 - --install-lib=lib
107 - script -eqc "${EPYTHON} -m pygame.tests" || die
108 -}
109 -
110 -python_install() {
111 - distutils-r1_python_install
112 -
113 - # Bug #497720
114 - rm -fr "${D}"$(python_get_sitedir)/pygame/{docs,examples,tests}/ || die
115 -}
116 -
117 -python_install_all() {
118 - distutils-r1_python_install_all
119 -
120 - if use doc; then
121 - docinto html
122 - dodoc -r docs/*
123 - fi
124 -
125 - use examples && dodoc -r examples
126 -}
127
128 diff --git a/dev-python/pygame/pygame-2.0.0_pre22.ebuild b/dev-python/pygame/pygame-2.0.0_pre22.ebuild
129 deleted file mode 100644
130 index a43bd4b4223..00000000000
131 --- a/dev-python/pygame/pygame-2.0.0_pre22.ebuild
132 +++ /dev/null
133 @@ -1,91 +0,0 @@
134 -# Copyright 1999-2020 Gentoo Authors
135 -# Distributed under the terms of the GNU General Public License v2
136 -
137 -EAPI=7
138 -PYTHON_COMPAT=( python3_{6..9} )
139 -
140 -inherit distutils-r1
141 -
142 -MY_PV=${PV/_pre/.dev}
143 -MY_P=${PN}-${MY_PV}
144 -
145 -DESCRIPTION="Python bindings for SDL multimedia library"
146 -HOMEPAGE="https://www.pygame.org/"
147 -SRC_URI="
148 - https://github.com/pygame/pygame/releases/download/${MY_PV}/${MY_P}.tar.gz"
149 -S=${WORKDIR}/${MY_P}
150 -
151 -LICENSE="LGPL-2.1"
152 -SLOT="0"
153 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
154 -IUSE="doc examples midi opengl test X"
155 -RESTRICT="!test? ( test )"
156 -
157 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
158 - media-libs/freetype
159 - >=media-libs/sdl2-image-1.2.2
160 - >=media-libs/sdl2-mixer-1.2.4
161 - >=media-libs/sdl2-ttf-2.0.6
162 - >=media-libs/smpeg2-0.4.4-r1
163 - midi? ( media-libs/portmidi )
164 - X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] )
165 - !X? ( >=media-libs/libsdl2-1.2.5[threads] )"
166 -DEPEND="${RDEPEND}
167 - test? (
168 - media-libs/sdl2-image[gif,jpeg,png]
169 - media-libs/sdl2-mixer[mp3,vorbis,wav]
170 - )"
171 -# fontconfig used for fc-list
172 -RDEPEND+="
173 - media-libs/fontconfig"
174 -# util-linux provides script
175 -BDEPEND="
176 - test? (
177 - media-libs/fontconfig
178 - sys-apps/util-linux
179 - )"
180 -
181 -src_prepare() {
182 - if ! use midi; then
183 - rm test/midi_test.py || die
184 - fi
185 - distutils-r1_src_prepare
186 -}
187 -
188 -python_configure() {
189 - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \
190 - "${EPYTHON}" "${S}"/buildconfig/config.py -auto || die
191 -
192 - # Disable automagic dependency on PortMidi.
193 - if ! use midi; then
194 - sed -e "s:^pypm :#&:" -i Setup || die "sed failed"
195 - fi
196 -}
197 -
198 -python_test() {
199 - local -x PYTHONPATH=${BUILD_DIR}/install/lib
200 - local -x SDL_VIDEODRIVER=dummy
201 - local -x SDL_AUDIODRIVER=disk
202 - esetup.py install \
203 - --root="${BUILD_DIR}"/install \
204 - --install-lib=lib
205 - script -eqc "${EPYTHON} -m pygame.tests" || die
206 -}
207 -
208 -python_install() {
209 - distutils-r1_python_install
210 -
211 - # Bug #497720
212 - rm -fr "${D}"$(python_get_sitedir)/pygame/{docs,examples,tests}/ || die
213 -}
214 -
215 -python_install_all() {
216 - distutils-r1_python_install_all
217 -
218 - if use doc; then
219 - docinto html
220 - dodoc -r docs/*
221 - fi
222 -
223 - use examples && dodoc -r examples
224 -}
225
226 diff --git a/dev-python/pygame/pygame-2.0.0_pre24.ebuild b/dev-python/pygame/pygame-2.0.0_pre24.ebuild
227 deleted file mode 100644
228 index a43bd4b4223..00000000000
229 --- a/dev-python/pygame/pygame-2.0.0_pre24.ebuild
230 +++ /dev/null
231 @@ -1,91 +0,0 @@
232 -# Copyright 1999-2020 Gentoo Authors
233 -# Distributed under the terms of the GNU General Public License v2
234 -
235 -EAPI=7
236 -PYTHON_COMPAT=( python3_{6..9} )
237 -
238 -inherit distutils-r1
239 -
240 -MY_PV=${PV/_pre/.dev}
241 -MY_P=${PN}-${MY_PV}
242 -
243 -DESCRIPTION="Python bindings for SDL multimedia library"
244 -HOMEPAGE="https://www.pygame.org/"
245 -SRC_URI="
246 - https://github.com/pygame/pygame/releases/download/${MY_PV}/${MY_P}.tar.gz"
247 -S=${WORKDIR}/${MY_P}
248 -
249 -LICENSE="LGPL-2.1"
250 -SLOT="0"
251 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
252 -IUSE="doc examples midi opengl test X"
253 -RESTRICT="!test? ( test )"
254 -
255 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
256 - media-libs/freetype
257 - >=media-libs/sdl2-image-1.2.2
258 - >=media-libs/sdl2-mixer-1.2.4
259 - >=media-libs/sdl2-ttf-2.0.6
260 - >=media-libs/smpeg2-0.4.4-r1
261 - midi? ( media-libs/portmidi )
262 - X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] )
263 - !X? ( >=media-libs/libsdl2-1.2.5[threads] )"
264 -DEPEND="${RDEPEND}
265 - test? (
266 - media-libs/sdl2-image[gif,jpeg,png]
267 - media-libs/sdl2-mixer[mp3,vorbis,wav]
268 - )"
269 -# fontconfig used for fc-list
270 -RDEPEND+="
271 - media-libs/fontconfig"
272 -# util-linux provides script
273 -BDEPEND="
274 - test? (
275 - media-libs/fontconfig
276 - sys-apps/util-linux
277 - )"
278 -
279 -src_prepare() {
280 - if ! use midi; then
281 - rm test/midi_test.py || die
282 - fi
283 - distutils-r1_src_prepare
284 -}
285 -
286 -python_configure() {
287 - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \
288 - "${EPYTHON}" "${S}"/buildconfig/config.py -auto || die
289 -
290 - # Disable automagic dependency on PortMidi.
291 - if ! use midi; then
292 - sed -e "s:^pypm :#&:" -i Setup || die "sed failed"
293 - fi
294 -}
295 -
296 -python_test() {
297 - local -x PYTHONPATH=${BUILD_DIR}/install/lib
298 - local -x SDL_VIDEODRIVER=dummy
299 - local -x SDL_AUDIODRIVER=disk
300 - esetup.py install \
301 - --root="${BUILD_DIR}"/install \
302 - --install-lib=lib
303 - script -eqc "${EPYTHON} -m pygame.tests" || die
304 -}
305 -
306 -python_install() {
307 - distutils-r1_python_install
308 -
309 - # Bug #497720
310 - rm -fr "${D}"$(python_get_sitedir)/pygame/{docs,examples,tests}/ || die
311 -}
312 -
313 -python_install_all() {
314 - distutils-r1_python_install_all
315 -
316 - if use doc; then
317 - docinto html
318 - dodoc -r docs/*
319 - fi
320 -
321 - use examples && dodoc -r examples
322 -}