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/PySDL2/
Date: Mon, 16 May 2022 13:24:34
Message-Id: 1652707269.67092cdd97cc8b053adb5a42bcf6d7b19e12e4b7.mgorny@gentoo
1 commit: 67092cdd97cc8b053adb5a42bcf6d7b19e12e4b7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 16 13:21:09 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 13:21:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67092cdd
7
8 dev-python/PySDL2: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/PySDL2/Manifest | 2 --
13 dev-python/PySDL2/PySDL2-0.9.10.ebuild | 55 ----------------------------------
14 dev-python/PySDL2/PySDL2-0.9.9.ebuild | 55 ----------------------------------
15 3 files changed, 112 deletions(-)
16
17 diff --git a/dev-python/PySDL2/Manifest b/dev-python/PySDL2/Manifest
18 index 3986d0fc6426..d604a9de88f7 100644
19 --- a/dev-python/PySDL2/Manifest
20 +++ b/dev-python/PySDL2/Manifest
21 @@ -1,3 +1 @@
22 -DIST PySDL2-0.9.10.tar.gz 5228778 BLAKE2B 1aac6ac3a33dd5cb56aad7e9fdcfe5ec62f7b406b9779aa04f92ec4f051cbe5f03596de06aa2d5688724c811c86959edefe40dab1e39980a8410c6b09c10c5ab SHA512 86517734d356ba7685914ce6e4583c8131bc2e84bf2318f985119407d39794878aeb8fdb84464e1e35c3b4cc1569777239dedb16f4669169f9f0302dacd8689e
23 DIST PySDL2-0.9.11.tar.gz 736026 BLAKE2B ebf5a98958681cc61155aeffdb67ca9d1aeef8143ca876b63772ce95b7bf23cc5708a01cfa83d3128d4fe20c2b714bf2f1e7dc64454c7d063590c55cfc236f24 SHA512 4e3383ef64f4f164d60a69a5a2c6ea153269b45661c9bba988d4c44a5cce7195cec0d29384d1855e9c9d507af2608bc808b9885449aea61c5ee51fc2d4f4af6f
24 -DIST PySDL2-0.9.9.tar.gz 743302 BLAKE2B 1e9e0eeea48b838227d3fe6ea93311d445b1d3a15588f4b83d075d18306b419ba3512826e44c5e4ecc2aec59ad44da73372ec740ebf6106271fd0b77175b88d7 SHA512 52b469735b1229392ea2f73b2dfcf1e75cedf7582a488461be9b06bc072f82a5c8c559d345a0c3668829c0f8bb2996005d538465ed7d2a45fb8480001fd0ccce
25
26 diff --git a/dev-python/PySDL2/PySDL2-0.9.10.ebuild b/dev-python/PySDL2/PySDL2-0.9.10.ebuild
27 deleted file mode 100644
28 index 08911e560403..000000000000
29 --- a/dev-python/PySDL2/PySDL2-0.9.10.ebuild
30 +++ /dev/null
31 @@ -1,55 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Python (ctypes) bindings for SDL2 libraries"
41 -HOMEPAGE="https://github.com/marcusva/py-sdl2 https://pypi.org/project/PySDL2/"
42 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="|| ( public-domain CC0-1.0 ZLIB )"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -
48 -# Optional deps:
49 -# - dev-python/numpy,
50 -# - dev-python/pillow,
51 -# - media-libs/sdl2-* (loaded dynamically via ctypes).
52 -#
53 -# If a reverse dependency needs the specific module, it should
54 -# explicitly depend on the optional module in question. You also
55 -# probably need to explicitly require some media-libs/libsdl2 flags.
56 -RDEPEND="media-libs/libsdl2"
57 -
58 -# Require all of SDL2 libraries and at least the most common subsystems
59 -# for better test coverage.
60 -DEPEND="
61 - test? (
62 - dev-python/numpy[${PYTHON_USEDEP}]
63 - dev-python/pillow[${PYTHON_USEDEP}]
64 - media-libs/libsdl2[joystick,sound,video]
65 - media-libs/sdl2-gfx
66 - media-libs/sdl2-image[gif,jpeg,png,tiff,webp]
67 - || (
68 - media-libs/sdl2-mixer[flac]
69 - media-libs/sdl2-mixer[midi]
70 - media-libs/sdl2-mixer[mod]
71 - media-libs/sdl2-mixer[mp3]
72 - media-libs/sdl2-mixer[opus]
73 - )
74 - media-libs/sdl2-ttf
75 - )"
76 -
77 -distutils_enable_tests pytest
78 -
79 -src_test() {
80 - # from .travis.yml
81 - local -x SDL_VIDEODRIVER=dummy
82 - local -x SDL_AUDIODRIVER=dummy
83 - local -x SDL_RENDER_DRIVER=software
84 -
85 - distutils-r1_src_test
86 -}
87
88 diff --git a/dev-python/PySDL2/PySDL2-0.9.9.ebuild b/dev-python/PySDL2/PySDL2-0.9.9.ebuild
89 deleted file mode 100644
90 index e3b42a45db2c..000000000000
91 --- a/dev-python/PySDL2/PySDL2-0.9.9.ebuild
92 +++ /dev/null
93 @@ -1,55 +0,0 @@
94 -# Copyright 1999-2021 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=8
98 -
99 -PYTHON_COMPAT=( python3_{8..10} )
100 -inherit distutils-r1
101 -
102 -DESCRIPTION="Python (ctypes) bindings for SDL2 libraries"
103 -HOMEPAGE="https://github.com/marcusva/py-sdl2 https://pypi.org/project/PySDL2/"
104 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
105 -
106 -LICENSE="|| ( public-domain CC0-1.0 ZLIB )"
107 -SLOT="0"
108 -KEYWORDS="~amd64 ~x86"
109 -
110 -# Optional deps:
111 -# - dev-python/numpy,
112 -# - dev-python/pillow,
113 -# - media-libs/sdl2-* (loaded dynamically via ctypes).
114 -#
115 -# If a reverse dependency needs the specific module, it should
116 -# explicitly depend on the optional module in question. You also
117 -# probably need to explicitly require some media-libs/libsdl2 flags.
118 -RDEPEND="media-libs/libsdl2"
119 -
120 -# Require all of SDL2 libraries and at least the most common subsystems
121 -# for better test coverage.
122 -DEPEND="
123 - test? (
124 - dev-python/numpy[${PYTHON_USEDEP}]
125 - dev-python/pillow[${PYTHON_USEDEP}]
126 - media-libs/libsdl2[joystick,sound,video]
127 - media-libs/sdl2-gfx
128 - media-libs/sdl2-image[gif,jpeg,png,tiff,webp]
129 - || (
130 - media-libs/sdl2-mixer[flac]
131 - media-libs/sdl2-mixer[midi]
132 - media-libs/sdl2-mixer[mod]
133 - media-libs/sdl2-mixer[mp3]
134 - media-libs/sdl2-mixer[opus]
135 - )
136 - media-libs/sdl2-ttf
137 - )"
138 -
139 -distutils_enable_tests pytest
140 -
141 -src_test() {
142 - # from .travis.yml
143 - local -x SDL_VIDEODRIVER=dummy
144 - local -x SDL_AUDIODRIVER=dummy
145 - local -x SDL_RENDER_DRIVER=software
146 -
147 - distutils-r1_src_test
148 -}