dev-python/pysdl3: add 0.9.8_beta8

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-08-18 11:26:41 +02:00
parent 96ba4daf0d
commit f4596d6bfd
2 changed files with 49 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pysdl3-0.9.8b6.tar.gz 1417018 BLAKE2B 638fe6479cf83e4146afcb6e457095c58a3fbcbfdec31a2798d069157ad3d941c54e0c56ae2547f61d2579350c19d118201020a3b23a699597ad99be6e181bf0 SHA512 cfc7af9026fd453eff082235fd4c59c375a5c3bde1881ede5466abbcc69f4e1d74066167d029505ef64f08f70f799b4b3600f3f6d947bc503e03daac31b8dc7c
DIST pysdl3-0.9.8b7.tar.gz 1416984 BLAKE2B 3fc870524bdb88cea14cd297e453a61c33c28e16b1ff56963395f8f29737310b142ab9d8e27f8c4449e44501d351605946a16239729bb290d0cf371139ea6093 SHA512 13bf70289bb7842b11b195836807f0e0581620ad4c0544389a750023a52c2901d8e21a94621e0ae1c005249b9ee22d85b6db8064056363154f85eeb9f7af9ab3
DIST pysdl3-0.9.8b8.tar.gz 1417014 BLAKE2B d7218ccca34069926e10d76339fdf1268599ada6abd3e24ae4fb50425f7a568b204242e1d1f14022e56c4f9c1299297c038a5b6c556f95fdc4aab2226f47f033 SHA512 ca6116534f863dd9df38c4261244bfdca2d418e461d26bf50bec2de4179ad3982c42c2a8c85b6658ff51f5c047bb0349a53513d6f076130ba5949c5d9b01418f

View File

@@ -0,0 +1,48 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="A pure Python wrapper for SDL3"
HOMEPAGE="
https://pypi.org/project/pysdl3/
https://github.com/Aermoss/PySDL3
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
"
RDEPEND="
media-libs/libsdl3
${DEPEND}
"
src_install() {
distutils-r1_src_install
cat - > 99pysdl3 <<-EOF
SDL_DISABLE_METADATA=1
SDL_DOC_GENERATOR=0
SDL_BINARY_PATH=/usr/$(get_libdir)
EOF
# Workaround for https://github.com/Aermoss/PySDL3/issues/27
doenvd 99pysdl3
}
python_test() {
SDL_DISABLE_METADATA=1 SDL_DOC_GENERATOR=0 SDL_BINARY_PATH="/usr/$(get_libdir)" \
${EPYTHON} -c 'import tests' || die
}