From cf03cf6a1f39d049367d4efeb515be68e72692b2 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 17 Jan 2023 00:45:17 -0500 Subject: dev-python/pgzero: enable py3.11, use pep517 Tests pass, just enabled 3.11 on pygame so drive-by enabling here too. Signed-off-by: Ionen Wolkens --- dev-python/pgzero/Manifest | 2 +- dev-python/pgzero/pgzero-1.2.1-r1.ebuild | 39 -------------------------------- dev-python/pgzero/pgzero-1.2.1-r2.ebuild | 39 ++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 dev-python/pgzero/pgzero-1.2.1-r1.ebuild create mode 100644 dev-python/pgzero/pgzero-1.2.1-r2.ebuild diff --git a/dev-python/pgzero/Manifest b/dev-python/pgzero/Manifest index 32ceddb74fd3..d0753acdb6b3 100644 --- a/dev-python/pgzero/Manifest +++ b/dev-python/pgzero/Manifest @@ -1 +1 @@ -DIST pgzero-1.2.1.tar.gz 2503205 BLAKE2B 616129da20cc5db67bfe826816bd454a76016d80a155296bbbe8e6febbb48aa2070fac1701b22ce7a522597f85b2e272151828f9dfbac367e33e3e0b35e9d260 SHA512 7988d114f6c037fe5ef4690ded878c63f73589e56fb7f79fa3604a7b4bc8433d75aabb80229159921a3dd6af4e3fe6740520a33f2a6b29aba034a63e6e154c33 +DIST pgzero-1.2.1.gh.tar.gz 2503205 BLAKE2B 616129da20cc5db67bfe826816bd454a76016d80a155296bbbe8e6febbb48aa2070fac1701b22ce7a522597f85b2e272151828f9dfbac367e33e3e0b35e9d260 SHA512 7988d114f6c037fe5ef4690ded878c63f73589e56fb7f79fa3604a7b4bc8433d75aabb80229159921a3dd6af4e3fe6740520a33f2a6b29aba034a63e6e154c33 diff --git a/dev-python/pgzero/pgzero-1.2.1-r1.ebuild b/dev-python/pgzero/pgzero-1.2.1-r1.ebuild deleted file mode 100644 index c4ba9229ee28..000000000000 --- a/dev-python/pgzero/pgzero-1.2.1-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 - -MY_PV="${PV/_p/.post}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="A zero-boilerplate games programming framework based on Pygame" -HOMEPAGE="https://pygame-zero.readthedocs.io/" -SRC_URI="https://github.com/lordmauve/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pygame[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - media-libs/sdl2-image[png] - media-libs/sdl2-mixer[vorbis] - ) -" -distutils_enable_tests unittest - -python_test() { - # Allow the tests to pass without real audio or video. - local -x SDL_AUDIODRIVER=dummy SDL_VIDEODRIVER=dummy - eunittest -} diff --git a/dev-python/pgzero/pgzero-1.2.1-r2.ebuild b/dev-python/pgzero/pgzero-1.2.1-r2.ebuild new file mode 100644 index 000000000000..8b2903c837aa --- /dev/null +++ b/dev-python/pgzero/pgzero-1.2.1-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +MY_PV="${PV/_p/.post}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A zero-boilerplate games programming framework based on Pygame" +HOMEPAGE="https://pygame-zero.readthedocs.io/" +SRC_URI="https://github.com/lordmauve/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygame[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + media-libs/sdl2-image[png] + media-libs/sdl2-mixer[vorbis] + ) +" +distutils_enable_tests unittest + +python_test() { + # Allow the tests to pass without real audio or video. + local -x SDL_AUDIODRIVER=dummy SDL_VIDEODRIVER=dummy + eunittest +} -- cgit v1.2.3-65-gdbad