mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/pysdl3: add 0.9.8_beta6
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pysdl3-0.9.8b5.tar.gz 1416932 BLAKE2B c8de2c87d77a741e75dfdf10adde2ddedfa161661202bbdcc40440a2cfb9f2dab94ff405a2a9a8eb97c13883620063967c3fdc6bda2ca219b58e1ec6ecab94fb SHA512 7c3471def81967a80da19d5aad69f38b22179889c1303dc609ad44b831945bb583f3ea0c5ef7159e66900810f42863fdaa1f63fe6d7935b438ca1acb9044e540
|
||||
DIST pysdl3-0.9.8b6.tar.gz 1417018 BLAKE2B 638fe6479cf83e4146afcb6e457095c58a3fbcbfdec31a2798d069157ad3d941c54e0c56ae2547f61d2579350c19d118201020a3b23a699597ad99be6e181bf0 SHA512 cfc7af9026fd453eff082235fd4c59c375a5c3bde1881ede5466abbcc69f4e1d74066167d029505ef64f08f70f799b4b3600f3f6d947bc503e03daac31b8dc7c
|
||||
|
||||
48
dev-python/pysdl3/pysdl3-0.9.8_beta6.ebuild
Normal file
48
dev-python/pysdl3/pysdl3-0.9.8_beta6.ebuild
Normal 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..13} )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user