summaryrefslogtreecommitdiff
path: root/dev-python/PySDL2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-10-20 10:22:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2021-10-20 10:22:14 +0100
commit46eedbedafdb0040c37884982d4c775ce277fb7b (patch)
treedb33a91259730be84999e13a8d8168c799f50ac0 /dev-python/PySDL2
parente23a08d0c97a0cc415aaa165da840b056f93c997 (diff)
gentoo resync : 20.10.2021
Diffstat (limited to 'dev-python/PySDL2')
-rw-r--r--dev-python/PySDL2/Manifest5
-rw-r--r--dev-python/PySDL2/PySDL2-0.9.7.ebuild61
-rw-r--r--dev-python/PySDL2/PySDL2-0.9.8.ebuild55
-rw-r--r--dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch24
4 files changed, 0 insertions, 145 deletions
diff --git a/dev-python/PySDL2/Manifest b/dev-python/PySDL2/Manifest
index a2f4941af19c..ac2cb3042d8f 100644
--- a/dev-python/PySDL2/Manifest
+++ b/dev-python/PySDL2/Manifest
@@ -1,8 +1,3 @@
-AUX PySDL2-0.9.7-nameerror.patch 942 BLAKE2B e8f0bb42f4e1ab6ec975a68911a82da2b2bc726dfb88ddde6a6eacdc65cc44acdac1de9aa4c1fd77c4ebd059b5230d267f02730235042dfa4a4a0db7ce26c195 SHA512 e0fa73ab8408384771769a24e016776c7a7878900cf84e622312847243b6c63634a7133599b79d31969c17a6107b692f7a0e927aba6d4275c81587570ba51513
-DIST PySDL2-0.9.7.tar.gz 1079253 BLAKE2B 986a21d8c2f4f45df683d85a8369be7b39f102e59a1b3fd37e2941065a1174d5cd6dd056f78fbc66663e2cf50228ee40abf67352e5ae75176a9c000fb6f672fb SHA512 10d40063762272eaaae1cb6290e007481887806938ba0ba17d28974a3a3c8b36570054587001d00eb9ab4aa2375c616c43a81c7e7308fbb9b61b55b3eb7da5ac
-DIST PySDL2-0.9.8.tar.gz 742279 BLAKE2B 403fba93f446f6eeb8c3b365f02207e5447c4fc16a08835ef81a1846491a4a3745ea1b7694f3b5ec3e7058975f33c20885065a4521f50aaf5c290728dbac9dd0 SHA512 674af175b1c5bd9b4100f94738c41b9b5517d2d536a7d6f7a356aafa81b67bce8349c74c166ae9289b8f746a9a16c785f88595bc48399d834d62af5355c59344
DIST PySDL2-0.9.9.tar.gz 743302 BLAKE2B 1e9e0eeea48b838227d3fe6ea93311d445b1d3a15588f4b83d075d18306b419ba3512826e44c5e4ecc2aec59ad44da73372ec740ebf6106271fd0b77175b88d7 SHA512 52b469735b1229392ea2f73b2dfcf1e75cedf7582a488461be9b06bc072f82a5c8c559d345a0c3668829c0f8bb2996005d538465ed7d2a45fb8480001fd0ccce
-EBUILD PySDL2-0.9.7.ebuild 1544 BLAKE2B 3ce6adc5e9fbd9e395b908d1cc114535427729d111030be0a9c22cae1720ad9f1f0e16b6ae6442a4bf45e7d85e249f7a9978ca7436edb801b8994ed25b883ac1 SHA512 7113cf7aaa61cd630532e4cc4e2d3545902612629c4d326db8de88e7166f9b4515b0580e0ade8c49a08c0b20ec0da6bb592802e3e827fd05ff1f265db754e60c
-EBUILD PySDL2-0.9.8.ebuild 1470 BLAKE2B 7fc6e28e999dad910cc51c4ba37c016e983ffcd1f5c226b402f824bccde5aecdbee8fe9d446b9d145b2c0a6bd9415536a531f248fd6b7cb91f346aea41e10373 SHA512 d05ed9743dc77ca0c39cba979322c02090b9f5b4e8eb36ea1a7f954a97fe752426862f9f65ae70f6543d4a333bc31616b11e58d24068463932024c7da8c118de
EBUILD PySDL2-0.9.9.ebuild 1470 BLAKE2B 7fc6e28e999dad910cc51c4ba37c016e983ffcd1f5c226b402f824bccde5aecdbee8fe9d446b9d145b2c0a6bd9415536a531f248fd6b7cb91f346aea41e10373 SHA512 d05ed9743dc77ca0c39cba979322c02090b9f5b4e8eb36ea1a7f954a97fe752426862f9f65ae70f6543d4a333bc31616b11e58d24068463932024c7da8c118de
MISC metadata.xml 452 BLAKE2B af30151f34ac5bc3eb54885a9bc3d27f2a2aa382b4645304f75e7cae5fecba1861d792b351ebbd3728ab4de19be4dfb5783e70354fe055e0e86611c0a0a7ae16 SHA512 4a64c9e36268fdf570a1b5eb8362f1d3e6c6c9159bf4a7200b37491d6c37ea6da988f569440f53ed62d69efe4ec23d44ba6da0d341abe7457a8b259f089bc5c7
diff --git a/dev-python/PySDL2/PySDL2-0.9.7.ebuild b/dev-python/PySDL2/PySDL2-0.9.7.ebuild
deleted file mode 100644
index 8508908fc726..000000000000
--- a/dev-python/PySDL2/PySDL2-0.9.7.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-DESCRIPTION="Python (ctypes) bindings for SDL2 libraries"
-HOMEPAGE="https://github.com/marcusva/py-sdl2 https://pypi.org/project/PySDL2/"
-SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
-
-LICENSE="|| ( public-domain CC0-1.0 ZLIB )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Optional deps:
-# - dev-python/numpy,
-# - dev-python/pillow,
-# - media-libs/sdl2-* (loaded dynamically via ctypes).
-#
-# If a reverse dependency needs the specific module, it should
-# explicitly depend on the optional module in question. You also
-# probably need to explicitly require some media-libs/libsdl2 flags.
-RDEPEND="media-libs/libsdl2"
-
-# Require all of SDL2 libraries and at least the most common subsystems
-# for better test coverage.
-DEPEND="
- test? (
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pillow[${PYTHON_USEDEP}]
- media-libs/libsdl2[joystick,sound,video]
- media-libs/sdl2-gfx
- media-libs/sdl2-image
- media-libs/sdl2-mixer
- media-libs/sdl2-ttf
- )"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-nameerror.patch
-)
-
-src_prepare() {
- # tarball uses DOS line endings
- find '(' -name '*.py' -o -name '*.rst' -o -name '*.txt' ')' \
- -type f -exec sed -i -e 's/\r$//' {} + || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- # from .travis.yml
- local -x SDL_VIDEODRIVER=dummy
- local -x SDL_AUDIODRIVER=dummy
- local -x SDL_RENDER_DRIVER=software
-
- distutils-r1_src_test
-}
diff --git a/dev-python/PySDL2/PySDL2-0.9.8.ebuild b/dev-python/PySDL2/PySDL2-0.9.8.ebuild
deleted file mode 100644
index e3b42a45db2c..000000000000
--- a/dev-python/PySDL2/PySDL2-0.9.8.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python (ctypes) bindings for SDL2 libraries"
-HOMEPAGE="https://github.com/marcusva/py-sdl2 https://pypi.org/project/PySDL2/"
-SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
-
-LICENSE="|| ( public-domain CC0-1.0 ZLIB )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Optional deps:
-# - dev-python/numpy,
-# - dev-python/pillow,
-# - media-libs/sdl2-* (loaded dynamically via ctypes).
-#
-# If a reverse dependency needs the specific module, it should
-# explicitly depend on the optional module in question. You also
-# probably need to explicitly require some media-libs/libsdl2 flags.
-RDEPEND="media-libs/libsdl2"
-
-# Require all of SDL2 libraries and at least the most common subsystems
-# for better test coverage.
-DEPEND="
- test? (
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pillow[${PYTHON_USEDEP}]
- media-libs/libsdl2[joystick,sound,video]
- media-libs/sdl2-gfx
- media-libs/sdl2-image[gif,jpeg,png,tiff,webp]
- || (
- media-libs/sdl2-mixer[flac]
- media-libs/sdl2-mixer[midi]
- media-libs/sdl2-mixer[mod]
- media-libs/sdl2-mixer[mp3]
- media-libs/sdl2-mixer[opus]
- )
- media-libs/sdl2-ttf
- )"
-
-distutils_enable_tests pytest
-
-src_test() {
- # from .travis.yml
- local -x SDL_VIDEODRIVER=dummy
- local -x SDL_AUDIODRIVER=dummy
- local -x SDL_RENDER_DRIVER=software
-
- distutils-r1_src_test
-}
diff --git a/dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch b/dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch
deleted file mode 100644
index c94d354c576f..000000000000
--- a/dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 635048e81402f3dcc9719c060a67f33e6950649c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sun, 12 Jul 2020 08:18:06 +0200
-Subject: [PATCH] Fix NameError when calling SDL_SetColorKey()
-
----
- sdl2/ext/image.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/sdl2/ext/image.py b/sdl2/ext/image.py
-index 1a413e1..49d897d 100644
---- a/sdl2/ext/image.py
-+++ b/sdl2/ext/image.py
-@@ -154,6 +154,6 @@ def load_image(fname, enforce=None):
- # If the image has a single transparent palette index, set
- # that index as the color key to make blitting correct.
- if 'transparency' in image.info and isinstance(image.info['transparency'], int):
-- sdl2.SDL_SetColorKey(imgsurface, True, image.info['transparency'])
-+ surface.SDL_SetColorKey(imgsurface, True, image.info['transparency'])
-
- return imgsurface
---
-2.27.0
-