summaryrefslogtreecommitdiff
path: root/devel/py-game
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-11-10 23:10:34 +0000
committerwiz <wiz@pkgsrc.org>2008-11-10 23:10:34 +0000
commit94e6a783c810e04d0c96d2c8b452b80d65d7f565 (patch)
tree3185a77232221ef47f1c4ba79b069f71412faeee /devel/py-game
parentbf3b1b2c0cdac021cc9c5cd0f98ec7122a4a0d61 (diff)
downloadpkgsrc-94e6a783c810e04d0c96d2c8b452b80d65d7f565.tar.gz
Update to 1.8.1:
1.8.1: Many bug fixes and improvements, including: * BLEND_RGBA_* blitters and blenders to go with the BLEND_RGB_* blend modes. * documentation updates (mainly for new sprite classes released in 1.8.0) * sound fixes, and streaming some music from file like objects * image saving fixes * greatly expanded tests * Pixelarray, and surfarray updates and fixes. * Enhanced Color class, reimplemented in C for speed. * New Windows and Mac binary installers. 1.8.0: Besides features such as * pygame.mask for collision masks * pygame.scrap for clipboard support * new and improved sprite groups * blending support for filling and blitting surfaces * saving surfaces as jpeg and png * buffer access for Surface and Sound objects * numpy support for pygame.surfarray and pygame.pixelarray * New Windows and Mac installers. it contains tons of bug fixes and improvements in nearly all areas.
Diffstat (limited to 'devel/py-game')
-rw-r--r--devel/py-game/Makefile7
-rw-r--r--devel/py-game/PLIST51
-rw-r--r--devel/py-game/distinfo10
-rw-r--r--devel/py-game/patches/patch-ac18
4 files changed, 62 insertions, 24 deletions
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile
index d7c0daf0e93..24463d57d7f 100644
--- a/devel/py-game/Makefile
+++ b/devel/py-game/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:28 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/11/10 23:10:34 wiz Exp $
#
-DISTNAME= pygame-1.7.1release
-PKGNAME= ${PYPKGPREFIX}-game-1.7.1
-PKGREVISION= 4
+DISTNAME= pygame-1.8.1release
+PKGNAME= ${PYPKGPREFIX}-game-1.8.1
CATEGORIES= devel
MASTER_SITES= http://pygame.org/ftp/
diff --git a/devel/py-game/PLIST b/devel/py-game/PLIST
index 1eb40607527..674d1860de7 100644
--- a/devel/py-game/PLIST
+++ b/devel/py-game/PLIST
@@ -1,17 +1,29 @@
-@comment $NetBSD: PLIST,v 1.2 2005/10/12 14:52:52 drochner Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/11/10 23:10:34 wiz Exp $
+${PYINC}/pygame/bitmask.h
${PYINC}/pygame/fastevents.h
${PYINC}/pygame/ffmovie.h
${PYINC}/pygame/font.h
${PYINC}/pygame/mixer.h
+${PYINC}/pygame/pgopengl.h
${PYINC}/pygame/pygame.h
+${PYINC}/pygame/pygamedocs.h
+${PYINC}/pygame/scrap.h
+${PYINC}/pygame/surface.h
${PYSITELIB}/pygame/__init__.py
${PYSITELIB}/pygame/__init__.pyc
${PYSITELIB}/pygame/__init__.pyo
+${PYSITELIB}/pygame/_numericsndarray.so
+${PYSITELIB}/pygame/_numericsurfarray.so
+${PYSITELIB}/pygame/_numpysndarray.py
+${PYSITELIB}/pygame/_numpysndarray.pyc
+${PYSITELIB}/pygame/_numpysndarray.pyo
+${PYSITELIB}/pygame/_numpysurfarray.py
+${PYSITELIB}/pygame/_numpysurfarray.pyc
+${PYSITELIB}/pygame/_numpysurfarray.pyo
${PYSITELIB}/pygame/base.so
+${PYSITELIB}/pygame/bufferproxy.so
${PYSITELIB}/pygame/cdrom.so
-${PYSITELIB}/pygame/color.py
-${PYSITELIB}/pygame/color.pyc
-${PYSITELIB}/pygame/color.pyo
+${PYSITELIB}/pygame/color.so
${PYSITELIB}/pygame/colordict.py
${PYSITELIB}/pygame/colordict.pyc
${PYSITELIB}/pygame/colordict.pyo
@@ -25,6 +37,15 @@ ${PYSITELIB}/pygame/event.so
${PYSITELIB}/pygame/fastevent.so
${PYSITELIB}/pygame/font.so
${PYSITELIB}/pygame/freesansbold.ttf
+${PYSITELIB}/pygame/gp2x/__init__.py
+${PYSITELIB}/pygame/gp2x/__init__.pyc
+${PYSITELIB}/pygame/gp2x/__init__.pyo
+${PYSITELIB}/pygame/gp2x/constants.py
+${PYSITELIB}/pygame/gp2x/constants.pyc
+${PYSITELIB}/pygame/gp2x/constants.pyo
+${PYSITELIB}/pygame/gp2x/locals.py
+${PYSITELIB}/pygame/gp2x/locals.pyc
+${PYSITELIB}/pygame/gp2x/locals.pyo
${PYSITELIB}/pygame/image.so
${PYSITELIB}/pygame/imageext.so
${PYSITELIB}/pygame/joystick.so
@@ -32,14 +53,19 @@ ${PYSITELIB}/pygame/key.so
${PYSITELIB}/pygame/locals.py
${PYSITELIB}/pygame/locals.pyc
${PYSITELIB}/pygame/locals.pyo
+${PYSITELIB}/pygame/mac_scrap.py
+${PYSITELIB}/pygame/mac_scrap.pyc
+${PYSITELIB}/pygame/mac_scrap.pyo
${PYSITELIB}/pygame/macosx.py
${PYSITELIB}/pygame/macosx.pyc
${PYSITELIB}/pygame/macosx.pyo
+${PYSITELIB}/pygame/mask.so
${PYSITELIB}/pygame/mixer.so
${PYSITELIB}/pygame/mixer_music.so
${PYSITELIB}/pygame/mouse.so
${PYSITELIB}/pygame/movie.so
${PYSITELIB}/pygame/overlay.so
+${PYSITELIB}/pygame/pixelarray.so
${PYSITELIB}/pygame/pkgdata.py
${PYSITELIB}/pygame/pkgdata.pyc
${PYSITELIB}/pygame/pkgdata.pyo
@@ -49,20 +75,33 @@ ${PYSITELIB}/pygame/pygame_icon.icns
${PYSITELIB}/pygame/pygame_icon.tiff
${PYSITELIB}/pygame/rect.so
${PYSITELIB}/pygame/rwobject.so
-${PYSITELIB}/pygame/sndarray.so
+${PYSITELIB}/pygame/scrap.so
+${PYSITELIB}/pygame/sndarray.py
+${PYSITELIB}/pygame/sndarray.pyc
+${PYSITELIB}/pygame/sndarray.pyo
${PYSITELIB}/pygame/sprite.py
${PYSITELIB}/pygame/sprite.pyc
${PYSITELIB}/pygame/sprite.pyo
${PYSITELIB}/pygame/surface.so
-${PYSITELIB}/pygame/surfarray.so
+${PYSITELIB}/pygame/surfarray.py
+${PYSITELIB}/pygame/surfarray.pyc
+${PYSITELIB}/pygame/surfarray.pyo
${PYSITELIB}/pygame/surflock.so
${PYSITELIB}/pygame/sysfont.py
${PYSITELIB}/pygame/sysfont.pyc
${PYSITELIB}/pygame/sysfont.pyo
+${PYSITELIB}/pygame/threads/Py25Queue.py
+${PYSITELIB}/pygame/threads/Py25Queue.pyc
+${PYSITELIB}/pygame/threads/Py25Queue.pyo
+${PYSITELIB}/pygame/threads/__init__.py
+${PYSITELIB}/pygame/threads/__init__.pyc
+${PYSITELIB}/pygame/threads/__init__.pyo
${PYSITELIB}/pygame/time.so
${PYSITELIB}/pygame/transform.so
${PYSITELIB}/pygame/version.py
${PYSITELIB}/pygame/version.pyc
${PYSITELIB}/pygame/version.pyo
+@dirrm ${PYSITELIB}/pygame/threads
+@dirrm ${PYSITELIB}/pygame/gp2x
@dirrm ${PYSITELIB}/pygame
@dirrm ${PYINC}/pygame
diff --git a/devel/py-game/distinfo b/devel/py-game/distinfo
index 6a0b1845ab4..3df83af6c28 100644
--- a/devel/py-game/distinfo
+++ b/devel/py-game/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/10/12 14:52:52 drochner Exp $
+$NetBSD: distinfo,v 1.3 2008/11/10 23:10:34 wiz Exp $
-SHA1 (pygame-1.7.1release.tar.gz) = cf6940e3ec4f48930ef8e4600c6decfa13ebbbea
-RMD160 (pygame-1.7.1release.tar.gz) = 2cb7a60f3f57468958d452f8daf4cf81063e1955
-Size (pygame-1.7.1release.tar.gz) = 1279697 bytes
-SHA1 (patch-ac) = 9cd95899639ad489e3083677e20ac761a2263f97
+SHA1 (pygame-1.8.1release.tar.gz) = 62d2ad452a0cc1486f877d5a2ae736b6703548cc
+RMD160 (pygame-1.8.1release.tar.gz) = dc3374e2185a3fbc36cc74ac3b050e7e57f0a4ce
+Size (pygame-1.8.1release.tar.gz) = 1705162 bytes
+SHA1 (patch-ac) = f58e9dd8944e3e74ebb2f27b3d66bc7ea23c6225
diff --git a/devel/py-game/patches/patch-ac b/devel/py-game/patches/patch-ac
index e17710a6999..e83448852eb 100644
--- a/devel/py-game/patches/patch-ac
+++ b/devel/py-game/patches/patch-ac
@@ -1,13 +1,13 @@
-$NetBSD: patch-ac,v 1.1 2005/10/12 14:52:52 drochner Exp $
+$NetBSD: patch-ac,v 1.2 2008/11/10 23:10:34 wiz Exp $
---- src/display.c.orig 2005-08-17 20:28:16.000000000 +0200
+--- src/display.c.orig 2008-07-07 05:57:32.000000000 +0000
+++ src/display.c
-@@ -410,7 +410,7 @@ static PyObject* get_wm_info(PyObject* s
- return dict;
+@@ -318,7 +318,7 @@ get_wm_info (PyObject* self)
/*scary #ifdef's match SDL_syswm.h*/
--#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
-+#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__) || defined(__NetBSD__)) && \
- (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX) && \
- !defined(__QNXNTO__))
- PyDict_SetItemString(dict, "window", PyInt_FromLong(info.info.x11.window));
+ #if (defined(unix) || defined(__unix__) || \
+- defined(_AIX) || defined(__OpenBSD__)) && \
++ defined(_AIX) || defined(__OpenBSD__) || defined(__NetBSD__)) && \
+ (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && \
+ !defined(ENABLE_NANOX) && !defined(__QNXNTO__))
+