dev-python/pygame_sdl2: Drop old
authorPacho Ramos <pacho@gentoo.org>
Sun, 22 May 2016 19:05:48 +0000 (21:05 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 22 May 2016 19:31:12 +0000 (21:31 +0200)
Package-Manager: portage-2.3.0_rc1

dev-python/pygame_sdl2/Manifest
dev-python/pygame_sdl2/files/pygame_sdl2-6.99.5-cython-0.23.patch [deleted file]
dev-python/pygame_sdl2/pygame_sdl2-6.99.5.ebuild [deleted file]

index ace3f54136513116cee949a8edcb28b76685c29e..e95c3c29fa2fa43660a2fe57409758431fba83e3 100644 (file)
@@ -1,2 +1 @@
-DIST pygame_sdl2-for-renpy-6.99.5.tar.bz2 131886 SHA256 3cfe05da83fa115c7fa10ae7aac88979ba9b5ba73986205b89b3bb25c4687230 SHA512 9aa66af47f4ba4bd0ad7d9fa96cbca08b5997e028ca4ba9a4b7f5880d0ce0241002570e687b65fa0176584bee59294760835bfd4addec086fd1cc6d1c67a887c WHIRLPOOL 7f5a132285b821650551790b169a66f7d69c29a246728efe48b33a4c615cad63e6c45c545b292684024c6dac8a65a3e7d2711b4369f1916d307dfef8e993c4c5
 DIST pygame_sdl2-for-renpy-6.99.6.tar.bz2 133501 SHA256 a6ae1891a3a7fcbf9c4486da708dd90fbfb5d5c489790f0de8985ec07e695403 SHA512 de1a40f7e8acdb46a7e0b13250c7fffdf848bd44c07408928aab6214afbc741aa77e1e8314d9049324328d9ffc645cafe077a468457a721f36e49f98e5217d53 WHIRLPOOL 0e13889f95323cb9ca2315b2915584c53f3578eb959a713802874c101c405c44e9b3b757ead86a2dbaa56b12d031f12ffbd12bc6776804fe1cb6efaec0246ab6
diff --git a/dev-python/pygame_sdl2/files/pygame_sdl2-6.99.5-cython-0.23.patch b/dev-python/pygame_sdl2/files/pygame_sdl2-6.99.5-cython-0.23.patch
deleted file mode 100644 (file)
index 7ef65e0..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-From b3acbed1942f63dbbeacfe2d4736be97ae2c8ab9 Mon Sep 17 00:00:00 2001
-From: Tom Rothamel <tom@rothamel.us>
-Date: Tue, 11 Aug 2015 20:58:46 -0400
-Subject: [PATCH] Fix integer division with cython 0.23.
-
-Fixes #13.
----
- src/pygame_sdl2/rwobject.pyx  | 2 +-
- src/pygame_sdl2/transform.pyx | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/pygame_sdl2/rwobject.pyx b/src/pygame_sdl2/rwobject.pyx
-index 4445fb7..11ae7eb 100644
---- a/src/pygame_sdl2/rwobject.pyx
-+++ b/src/pygame_sdl2/rwobject.pyx
-@@ -146,7 +146,7 @@ cdef size_t subfile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxn
-     cdef size_t rv;
-     if size * maxnum > left:
--        maxnum = left / size
-+        maxnum = left // size
-     if maxnum == 0:
-         return 0
-diff --git a/src/pygame_sdl2/transform.pyx b/src/pygame_sdl2/transform.pyx
-index 933bfce..1afe87e 100644
---- a/src/pygame_sdl2/transform.pyx
-+++ b/src/pygame_sdl2/transform.pyx
-@@ -115,13 +115,13 @@ cdef uint32_t get_at(SDL_Surface *surf, int x, int y) nogil:
-         y = surf.h - 1
-     cdef uint32_t *p = <uint32_t*>surf.pixels
--    p += y * (surf.pitch / sizeof(uint32_t))
-+    p += y * (surf.pitch // sizeof(uint32_t))
-     p += x
-     return p[0]
- cdef void set_at(SDL_Surface *surf, int x, int y, uint32_t color) nogil:
-     cdef uint32_t *p = <uint32_t*>surf.pixels
--    p += y * (surf.pitch / sizeof(uint32_t))
-+    p += y * (surf.pitch // sizeof(uint32_t))
-     p += x
-     p[0] = color
diff --git a/dev-python/pygame_sdl2/pygame_sdl2-6.99.5.ebuild b/dev-python/pygame_sdl2/pygame_sdl2-6.99.5.ebuild
deleted file mode 100644 (file)
index e162a6e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
-inherit distutils-r1
-
-DESCRIPTION="Reimplementation of portions of the pygame API using SDL2"
-HOMEPAGE="https://github.com/renpy/pygame_sdl2"
-SRC_URI="http://www.renpy.org/dl/${PV}/pygame_sdl2-for-renpy-${PV}.tar.bz2"
-
-LICENSE="LGPL-2.1 ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
-       media-libs/libpng:0
-       media-libs/libsdl2[video]
-       media-libs/sdl2-image[png,jpeg]
-       media-libs/sdl2-mixer
-       media-libs/sdl2-ttf
-       virtual/jpeg:62
-"
-DEPEND="${RDEPEND}
-       dev-python/cython[${PYTHON_USEDEP}]"
-
-S=${WORKDIR}/pygame-sdl2-for-renpy-${PV}
-
-PATCHES=( "${FILESDIR}"/${P}-cython-0.23.patch )