diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 18:13:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 18:13:29 +0100 |
commit | 85dc262ae9ec9413f8172a2a8442d6d9134d02f4 (patch) | |
tree | 81768a8b154fded73a17e9475cebc90d79fd4720 /dev-python/pygame | |
parent | b6323af2602e6a5cd4920d4af06b5c2f3949b9d0 (diff) |
gentoo auto-resync : 14:08:2023 - 18:13:29
Diffstat (limited to 'dev-python/pygame')
-rw-r--r-- | dev-python/pygame/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pygame/pygame-2.5.0-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pygame/pygame-2.5.1.ebuild | 88 |
3 files changed, 92 insertions, 2 deletions
diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index 92cba97ef9d6..2be91f42abd0 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -5,11 +5,13 @@ DIST pygame-2.2.0.gh.tar.gz 6530469 BLAKE2B 301b8decd7afe7ad44d97b086ad27209a084 DIST pygame-2.3.0.gh.tar.gz 6547956 BLAKE2B 3189dc5dda7e5fc12fe2091af304816d905a24a33f6f43070040b90bd1bac1191fe6fe1a738ccfda49b5d9b472a704962c3b6aa7d8b99bc67e15317a9df06a2b SHA512 ed93cf5f0fac67b8a03f25f514ac71bf9b9a97f4df30efca9e3225396769e7616d3ce1063e6cc6ee3f4e6f1327154a9e0ec4e81b179578118af3a140bb1543bd DIST pygame-2.4.0.r1.gh.tar.gz 6602313 BLAKE2B 9720b44f55cb0454880cd96b4f8bee77064f0b3997dc3a0aec3a6ff973356a003d37cbe89ff33b62990bc1d6ac1f815c925751031b7a8ee35ce850dee0e56d41 SHA512 78e7f9d705d611c99612fe0f1274aabfeb885798faecdf6b6bf6a3e2b8a22145db757ae5a6e5595075c47382bf2228cd2edada8f708e11042cfc7dfc4d17ef94 DIST pygame-2.5.0.gh.tar.gz 6640084 BLAKE2B affa92cacee34ab1db246e80bea0ee425985c1c2a75b5702b2368536fe4b07ffb24f5e6ef345afb3ee63e7b1eccfc275082649251791a2f34a0eba019cc327a8 SHA512 741c5d11b2b52c5bc08672fb9e7420540f20879ef67b84dd18904d317f3cce7593bf08a9e7bf9d0c6470c6bb88512c9af9eb86056e654ab32d4b33532b2bf702 +DIST pygame-2.5.1.gh.tar.gz 6854761 BLAKE2B e137f73a3bb718213ef92e938ed1b065f5568d7dd2ade6edd973bc55d06425874da0e89e3c102fad39adac25f977ac97025a0c59099702cfabeffd0d3b8f109f SHA512 d7aceb2bc6e40c5dc2d7a19fdc7af18abf021b79dd98b859975f99ec10895e1b09e11fbf17fd6ab925d3aa6c64e5b3dd56c0d857ecacc67303d92fc0efb2630c EBUILD pygame-2.1.3.ebuild 1975 BLAKE2B 9d8d7ebb593c89452536e91989833bae2d208a151450f331033e08c9389ad41221f064371d9dd71732f46d059f797185bf94b473164d9525baf6c425e5465674 SHA512 1380ffd43c772136ebf8216ffcf16febdd3d12065792021052f35b2d282130c7fde6dcc09906ccb97eb2247c519c4517b1bf726c5d26cc9d54ae396039fc100c EBUILD pygame-2.2.0.ebuild 1912 BLAKE2B 31fdebb9c749217a33ba81ae930e5dfd27d5d1b7df75cb2874640ec7ce1c8610871ff72687b0f4e0fd1d5f4e494c5f7106a6307a1762329e4244030f15986390 SHA512 ddef31ada30a32e9ae3c57c0fe05ebba44b226bffe186728f5b5759fbe8340625a9494b3e3f77cdceeb60a39faffdd73041f5cadfc6a5eda0044164b93c5018f EBUILD pygame-2.3.0.ebuild 1912 BLAKE2B 31fdebb9c749217a33ba81ae930e5dfd27d5d1b7df75cb2874640ec7ce1c8610871ff72687b0f4e0fd1d5f4e494c5f7106a6307a1762329e4244030f15986390 SHA512 ddef31ada30a32e9ae3c57c0fe05ebba44b226bffe186728f5b5759fbe8340625a9494b3e3f77cdceeb60a39faffdd73041f5cadfc6a5eda0044164b93c5018f EBUILD pygame-2.4.0.ebuild 1931 BLAKE2B d17408e670610ab2bda594be78bd74818da1ebe7a48a6b4f577ba28041b163d3068f4b69d3277bab0584466646f8e4fc63c2bf7d436e4105e7d8621531b4790f SHA512 92b68a0a45822df698fe5cfb79275ac96a42ed7e32c152604c715819129d79c021113b6476c8b36d2c3f92f6414fea668b4c8fed71edf1e2f13894b4208fb9d9 EBUILD pygame-2.5.0-r1.ebuild 1981 BLAKE2B 5b707865f3cc7689f042ee4d322721ce1dde50ef2c95d170fbcd6ee04f9637bdad631994129e68f68a900473a52e3173d47dd70bb845a5a344d4a291bd26ecc8 SHA512 3f7d4ac14d50ffde1e0c181bd5108f05d593800c1af960a48e00df7d1c90aadc35aae82b9a0db9c6a6a740b8d411a83e84e0d2357dfe5081f6f9557cb0bbfdb2 -EBUILD pygame-2.5.0-r2.ebuild 1976 BLAKE2B 9762c26ab1c310a25122a1d847a4d56dc354fd2d3fedb001ed13ef0c1a059e80b24d61de28db9e86b81673eea65b757e1d8ce0974f44f7a2b42d3908fcd60bd3 SHA512 70ba47fc2f5a1d53006aae95c7f5fa3eb744e8f06dd7b6779f0954d17368a301d648ada7fecdcfae240b270de1be6bf8a07170e4fbfee63abe555e8bfccbcb87 +EBUILD pygame-2.5.0-r2.ebuild 1975 BLAKE2B eb5ccca7c949a2f05d6cd3859e19661e6e972c6acfec27bef2690ca6834e16c62d30b04227e1560bb56a2836516e1dcd5cc952a88bf8de41b008047e50960ffb SHA512 18c5262b2d5a557c7978f3b1880914caf4cf284aea6783176208acd74d5e7445b375b139f2f0ee3b60f016595d719b2bf900c23539525508e06c34a31a1eaea1 EBUILD pygame-2.5.0.ebuild 1936 BLAKE2B 416bbfdfb8c6a09ce228b7a123928f1d70deba416d6c46f445955a439965ad951bcb83fe80d557406cde0c84de99648a65bc44f4b4d877a70a81b98b8a3e23dc SHA512 b0693da90ad40b471e7897cdb315d95005f297fef58fe900eddaca1d1c1a24202d175466b5e5416f51b081e046f391d758150d932b7da6063dbe77a9e06c5503 +EBUILD pygame-2.5.1.ebuild 1933 BLAKE2B b35d9c327060244d24817665687d075a13d423274a965133980a00dae53cdcbb3fef4109695fec95125fdbc2e490aac5f7f31136951979d06e5a183ff379f107 SHA512 ee566685a3f1dcc0763113a558e2537a51d57535f14190f79834ee15fb96960aca30f84c3e174c88c10fc42f1b6cc0f2ad2aa6c762c4a9b5647871ae9e54c3be MISC metadata.xml 363 BLAKE2B a942b91aded22ec850a7b075703ce4037af9f0a61155717ac455f7d2b7779cb6f5f953b2ad8d61d7cc5254307951a20dd3edb9853e21d907e1999f7570a6b821 SHA512 15403754c9b13f9b2d8c5e7615ae0ca9359b5079e22eb5a7049424e414ebbdd8a06f6324c31594636324414e35ca34bec977b7dded9f9ea14027497b5097b060 diff --git a/dev-python/pygame/pygame-2.5.0-r2.ebuild b/dev-python/pygame/pygame-2.5.0-r2.ebuild index f62067f15093..b2fc72efec9f 100644 --- a/dev-python/pygame/pygame-2.5.0-r2.ebuild +++ b/dev-python/pygame/pygame-2.5.0-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pygame/pygame-2.5.1.ebuild b/dev-python/pygame/pygame-2.5.1.ebuild new file mode 100644 index 000000000000..e0a89e5db13a --- /dev/null +++ b/dev-python/pygame/pygame-2.5.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for SDL multimedia library" +HOMEPAGE=" + https://www.pygame.org/ + https://github.com/pygame/pygame/ + https://pypi.org/project/pygame/ +" +SRC_URI=" + https://github.com/pygame/pygame/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples opengl test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/freetype + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/portmidi + media-libs/sdl2-image + media-libs/sdl2-mixer + media-libs/sdl2-ttf + X? ( media-libs/libsdl2[opengl?,threads,video,X] ) + !X? ( media-libs/libsdl2[threads] ) +" +DEPEND=" + ${RDEPEND} + test? ( + media-libs/sdl2-image[gif,jpeg,png,tiff,webp] + media-libs/sdl2-mixer[mp3,vorbis,wav] + ) +" +# fontconfig used for fc-list +RDEPEND+=" + media-libs/fontconfig +" +# util-linux provides script +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + media-libs/fontconfig + sys-apps/util-linux + ) +" + +python_configure() { + PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ + "${EPYTHON}" "${S}"/buildconfig/config.py || die +} + +python_configure_all() { + find src_c/cython -name '*.pyx' -exec touch {} + || die + "${EPYTHON}" setup.py cython_only || die +} + +python_test() { + local -x PYTHONPATH=${BUILD_DIR}/install/lib + local -x SDL_VIDEODRIVER=dummy + local -x SDL_AUDIODRIVER=disk + script -eqc "${EPYTHON} -m pygame.tests -v" || die +} + +python_install() { + distutils-r1_python_install + + # Bug #497720 + rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples,tests}/ || die +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} |