pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-game Pygame 1.9.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b281be29bf83
branches:  trunk
changeset: 364047:b281be29bf83
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jun 20 17:00:07 2017 +0000

description:
Pygame 1.9.3:
This is a bugfix release which fixes a couple of key issues which came up with 1.9.2. It also adds wheels for Python 3.6 on Linux, Mac and Windows.

diffstat:

 devel/py-game/Makefile                        |   68 ++-----
 devel/py-game/PLIST                           |  207 +++++++++++++------------
 devel/py-game/buildlink3.mk                   |   16 +-
 devel/py-game/distinfo                        |   16 +-
 devel/py-game/patches/patch-Setup.in          |   29 ++-
 devel/py-game/patches/patch-Setup__Unix.in    |   10 +
 devel/py-game/patches/patch-aa                |   27 ---
 devel/py-game/patches/patch-config__darwin.py |   15 +
 devel/py-game/patches/patch-config__unix.py   |   36 ++++
 9 files changed, 229 insertions(+), 195 deletions(-)

diffs (truncated from 697 to 300 lines):

diff -r e180b1492c83 -r b281be29bf83 devel/py-game/Makefile
--- a/devel/py-game/Makefile    Tue Jun 20 16:11:05 2017 +0000
+++ b/devel/py-game/Makefile    Tue Jun 20 17:00:07 2017 +0000
@@ -1,60 +1,35 @@
-# $NetBSD: Makefile,v 1.34 2015/04/25 14:20:39 tnn Exp $
+# $NetBSD: Makefile,v 1.35 2017/06/20 17:00:07 adam Exp $
 
-DISTNAME=      pygame-1.9.1release
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/release//}
-PKGREVISION=   2
+DISTNAME=      pygame-1.9.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    games
-MASTER_SITES=  http://www.pygame.org/ftp/
+MASTER_SITES=  ${MASTER_SITE_PYPI:=P/Pygame/}
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      http://www.pygame.org/
 COMMENT=       Set of Python modules designed for writing games
 LICENSE=       gnu-lgpl-v2.1
 
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mclang)
-CFLAGS+=       -no-integrated-as
-.endif
-
 REPLACE_PYTHON+=       bundle_docs.py
 REPLACE_PYTHON+=       config.py
-REPLACE_PYTHON+=       examples/aacircle.py
-REPLACE_PYTHON+=       examples/aliens.py
-REPLACE_PYTHON+=       examples/arraydemo.py
-REPLACE_PYTHON+=       examples/blend_fill.py
-REPLACE_PYTHON+=       examples/blit_blends.py
-REPLACE_PYTHON+=       examples/camera.py
-REPLACE_PYTHON+=       examples/chimp.py
-REPLACE_PYTHON+=       examples/cursors.py
-REPLACE_PYTHON+=       examples/eventlist.py
-REPLACE_PYTHON+=       examples/fastevents.py
-REPLACE_PYTHON+=       examples/fonty.py
-REPLACE_PYTHON+=       examples/glcube.py
-REPLACE_PYTHON+=       examples/headless_no_windows_needed.py
-REPLACE_PYTHON+=       examples/liquid.py
-REPLACE_PYTHON+=       examples/macosx/aliens_app_example/aliens.py
-REPLACE_PYTHON+=       examples/mask.py
-REPLACE_PYTHON+=       examples/midi.py
-REPLACE_PYTHON+=       examples/moveit.py
-REPLACE_PYTHON+=       examples/movieplayer.py
-REPLACE_PYTHON+=       examples/oldalien.py
-REPLACE_PYTHON+=       examples/overlay.py
-REPLACE_PYTHON+=       examples/pixelarray.py
-REPLACE_PYTHON+=       examples/scaletest.py
-REPLACE_PYTHON+=       examples/scrap_clipboard.py
-REPLACE_PYTHON+=       examples/scroll.py
-REPLACE_PYTHON+=       examples/sound.py
-REPLACE_PYTHON+=       examples/sound_array_demos.py
-REPLACE_PYTHON+=       examples/stars.py
-REPLACE_PYTHON+=       examples/testsprite.py
-REPLACE_PYTHON+=       examples/vgrade.py
+REPLACE_PYTHON+=       examples/*.py
 REPLACE_PYTHON+=       makeref.py
-REPLACE_PYTHON+=       msys_build_deps.py
-REPLACE_PYTHON+=       msys_link_VC_2008_dlls.py
 REPLACE_PYTHON+=       run_tests.py
 REPLACE_PYTHON+=       setup.py
-REPLACE_PYTHON+=       test/test_utils/unittest.py
+
+SUBST_CLASSES+=                fixpath
+SUBST_STAGE.fixpath=   pre-configure
+SUBST_MESSAGE.fixpath= Fixing paths.
+SUBST_FILES.fixpath=   config_darwin.py config_unix.py
+SUBST_SED.fixpath=     -e 's,/usr/local,${PREFIX},g'
+
+.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+=           darwin
+.if ${OPSYS} != "Darwin"
+.  include "../../x11/libX11/buildlink3.mk"
+.else
+PLIST.darwin=          yes
+.endif
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
@@ -62,8 +37,7 @@
 .include "../../graphics/SDL_image/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
-.include "../../mk/jpeg.buildlink3.mk"
+.include "../../lang/python/egg.mk"
 .include "../../multimedia/smpeg/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e180b1492c83 -r b281be29bf83 devel/py-game/PLIST
--- a/devel/py-game/PLIST       Tue Jun 20 16:11:05 2017 +0000
+++ b/devel/py-game/PLIST       Tue Jun 20 17:00:07 2017 +0000
@@ -1,32 +1,39 @@
-@comment $NetBSD: PLIST,v 1.8 2014/01/19 16:26:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2017/06/20 17:00:07 adam Exp $
+${PYINC}/pygame/_camera.h
+${PYINC}/pygame/_pygame.h
+${PYINC}/pygame/_surface.h
 ${PYINC}/pygame/bitmask.h
 ${PYINC}/pygame/camera.h
 ${PYINC}/pygame/fastevents.h
-${PYINC}/pygame/ffmovie.h
 ${PYINC}/pygame/font.h
+${PYINC}/pygame/freetype.h
 ${PYINC}/pygame/mask.h
 ${PYINC}/pygame/mixer.h
 ${PYINC}/pygame/pgarrinter.h
+${PYINC}/pygame/pgbufferproxy.h
 ${PYINC}/pygame/pgcompat.h
 ${PYINC}/pygame/pgopengl.h
 ${PYINC}/pygame/pygame.h
-${PYINC}/pygame/pygamedocs.h
 ${PYINC}/pygame/scrap.h
 ${PYINC}/pygame/surface.h
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pygame/LGPL
 ${PYSITELIB}/pygame/__init__.py
 ${PYSITELIB}/pygame/__init__.pyc
 ${PYSITELIB}/pygame/__init__.pyo
-${PYSITELIB}/pygame/_arraysurfarray.so
 ${PYSITELIB}/pygame/_camera_opencv_highgui.py
 ${PYSITELIB}/pygame/_camera_opencv_highgui.pyc
 ${PYSITELIB}/pygame/_camera_opencv_highgui.pyo
 ${PYSITELIB}/pygame/_camera_vidcapture.py
 ${PYSITELIB}/pygame/_camera_vidcapture.pyc
 ${PYSITELIB}/pygame/_camera_vidcapture.pyo
-${PLIST.py2x}${PYSITELIB}/pygame/_numericsndarray.so
-${PLIST.py2x}${PYSITELIB}/pygame/_numericsurfarray.so
+${PYSITELIB}/pygame/_dummybackend.py
+${PYSITELIB}/pygame/_dummybackend.pyc
+${PYSITELIB}/pygame/_dummybackend.pyo
+${PYSITELIB}/pygame/_freetype.so
 ${PYSITELIB}/pygame/_numpysndarray.py
 ${PYSITELIB}/pygame/_numpysndarray.pyc
 ${PYSITELIB}/pygame/_numpysndarray.pyo
@@ -57,78 +64,12 @@
 ${PYSITELIB}/pygame/docs/__main__.py
 ${PYSITELIB}/pygame/docs/__main__.pyc
 ${PYSITELIB}/pygame/docs/__main__.pyo
-${PYSITELIB}/pygame/docs/index.html
 ${PYSITELIB}/pygame/docs/logos.html
 ${PYSITELIB}/pygame/docs/pygame_logo.gif
 ${PYSITELIB}/pygame/docs/pygame_powered.gif
 ${PYSITELIB}/pygame/docs/pygame_small.gif
 ${PYSITELIB}/pygame/docs/pygame_tiny.gif
-${PYSITELIB}/pygame/docs/ref/camera.html
-${PYSITELIB}/pygame/docs/ref/cdrom.html
-${PYSITELIB}/pygame/docs/ref/color.html
-${PYSITELIB}/pygame/docs/ref/cursors.html
-${PYSITELIB}/pygame/docs/ref/display.html
-${PYSITELIB}/pygame/docs/ref/draw.html
-${PYSITELIB}/pygame/docs/ref/event.html
-${PYSITELIB}/pygame/docs/ref/examples.html
-${PYSITELIB}/pygame/docs/ref/font.html
-${PYSITELIB}/pygame/docs/ref/gfxdraw.html
-${PYSITELIB}/pygame/docs/ref/image.html
-${PYSITELIB}/pygame/docs/ref/index.html
-${PYSITELIB}/pygame/docs/ref/joystick.html
-${PYSITELIB}/pygame/docs/ref/key.html
-${PYSITELIB}/pygame/docs/ref/locals.html
-${PYSITELIB}/pygame/docs/ref/mask.html
-${PYSITELIB}/pygame/docs/ref/midi.html
-${PYSITELIB}/pygame/docs/ref/mixer.html
-${PYSITELIB}/pygame/docs/ref/mouse.html
-${PYSITELIB}/pygame/docs/ref/movie.html
-${PYSITELIB}/pygame/docs/ref/music.html
-${PYSITELIB}/pygame/docs/ref/overlay.html
-${PYSITELIB}/pygame/docs/ref/pixelarray.html
-${PYSITELIB}/pygame/docs/ref/pygame.html
-${PYSITELIB}/pygame/docs/ref/pygame_cursor.html
-${PYSITELIB}/pygame/docs/ref/rect.html
-${PYSITELIB}/pygame/docs/ref/scrap.html
-${PYSITELIB}/pygame/docs/ref/sndarray.html
-${PYSITELIB}/pygame/docs/ref/sprite.html
-${PYSITELIB}/pygame/docs/ref/surface.html
-${PYSITELIB}/pygame/docs/ref/surfarray.html
-${PYSITELIB}/pygame/docs/ref/tests.html
-${PYSITELIB}/pygame/docs/ref/time.html
-${PYSITELIB}/pygame/docs/ref/transform.html
-${PYSITELIB}/pygame/docs/tut/DisplayModes.html
-${PYSITELIB}/pygame/docs/tut/ImportInit.html
-${PYSITELIB}/pygame/docs/tut/MoveIt.html
-${PYSITELIB}/pygame/docs/tut/SpriteIntro.html
-${PYSITELIB}/pygame/docs/tut/chimp/ChimpLineByLine.html
-${PYSITELIB}/pygame/docs/tut/chimp/chimp.py.html
-${PYSITELIB}/pygame/docs/tut/chimp/chimpshot.gif
-${PYSITELIB}/pygame/docs/tut/intro/ball.gif
-${PYSITELIB}/pygame/docs/tut/intro/blade.jpg
-${PYSITELIB}/pygame/docs/tut/intro/freedom.jpg
-${PYSITELIB}/pygame/docs/tut/intro/intro.html
-${PYSITELIB}/pygame/docs/tut/newbieguide.html
-${PYSITELIB}/pygame/docs/tut/surfarray/SurfarrayIntro.html
-${PYSITELIB}/pygame/docs/tut/surfarray/allblack.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/flipped.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/imgarray.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/redimg.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/scaledown.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/scaleup.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/soften.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/striped.jpg
-${PYSITELIB}/pygame/docs/tut/surfarray/xfade.jpg
-${PYSITELIB}/pygame/docs/tut/tom/MakeGames.html
-${PYSITELIB}/pygame/docs/tut/tom/basic.png
-${PYSITELIB}/pygame/docs/tut/tom/event-flowchart.png
-${PYSITELIB}/pygame/docs/tut/tom/formulae.png
-${PYSITELIB}/pygame/docs/tut/tom/games2.html
-${PYSITELIB}/pygame/docs/tut/tom/games3.html
-${PYSITELIB}/pygame/docs/tut/tom/games4.html
-${PYSITELIB}/pygame/docs/tut/tom/games5.html
-${PYSITELIB}/pygame/docs/tut/tom/games6.html
-${PYSITELIB}/pygame/docs/tut/tom/radians.png
+${PYSITELIB}/pygame/docs/ref/docscomments.json
 ${PYSITELIB}/pygame/draw.so
 ${PYSITELIB}/pygame/event.so
 ${PYSITELIB}/pygame/examples/__init__.py
@@ -171,8 +112,10 @@
 ${PYSITELIB}/pygame/examples/data/blue.mpg
 ${PYSITELIB}/pygame/examples/data/bomb.gif
 ${PYSITELIB}/pygame/examples/data/boom.wav
+${PYSITELIB}/pygame/examples/data/brick.png
 ${PYSITELIB}/pygame/examples/data/car_door.wav
 ${PYSITELIB}/pygame/examples/data/chimp.bmp
+${PYSITELIB}/pygame/examples/data/city.png
 ${PYSITELIB}/pygame/examples/data/danger.gif
 ${PYSITELIB}/pygame/examples/data/explosion1.gif
 ${PYSITELIB}/pygame/examples/data/fist.bmp
@@ -184,6 +127,7 @@
 ${PYSITELIB}/pygame/examples/data/oldplayer.gif
 ${PYSITELIB}/pygame/examples/data/player1.gif
 ${PYSITELIB}/pygame/examples/data/punch.wav
+${PYSITELIB}/pygame/examples/data/sans.ttf
 ${PYSITELIB}/pygame/examples/data/secosmic_lo.wav
 ${PYSITELIB}/pygame/examples/data/shot.gif
 ${PYSITELIB}/pygame/examples/data/static.png
@@ -198,6 +142,9 @@
 ${PYSITELIB}/pygame/examples/fonty.py
 ${PYSITELIB}/pygame/examples/fonty.pyc
 ${PYSITELIB}/pygame/examples/fonty.pyo
+${PYSITELIB}/pygame/examples/freetype_misc.py
+${PYSITELIB}/pygame/examples/freetype_misc.pyc
+${PYSITELIB}/pygame/examples/freetype_misc.pyo
 ${PYSITELIB}/pygame/examples/glcube.py
 ${PYSITELIB}/pygame/examples/glcube.pyc
 ${PYSITELIB}/pygame/examples/glcube.pyo
@@ -226,9 +173,6 @@
 ${PYSITELIB}/pygame/examples/moveit.py
 ${PYSITELIB}/pygame/examples/moveit.pyc
 ${PYSITELIB}/pygame/examples/moveit.pyo
-${PYSITELIB}/pygame/examples/movieplayer.py
-${PYSITELIB}/pygame/examples/movieplayer.pyc
-${PYSITELIB}/pygame/examples/movieplayer.pyo
 ${PYSITELIB}/pygame/examples/oldalien.py
 ${PYSITELIB}/pygame/examples/oldalien.pyc
 ${PYSITELIB}/pygame/examples/oldalien.pyo
@@ -238,7 +182,12 @@
 ${PYSITELIB}/pygame/examples/pixelarray.py
 ${PYSITELIB}/pygame/examples/pixelarray.pyc
 ${PYSITELIB}/pygame/examples/pixelarray.pyo
-${PYSITELIB}/pygame/examples/readme.txt
+${PYSITELIB}/pygame/examples/playmus.py
+${PYSITELIB}/pygame/examples/playmus.pyc
+${PYSITELIB}/pygame/examples/playmus.pyo
+${PYSITELIB}/pygame/examples/prevent_display_stretching.py
+${PYSITELIB}/pygame/examples/prevent_display_stretching.pyc
+${PYSITELIB}/pygame/examples/prevent_display_stretching.pyo
 ${PYSITELIB}/pygame/examples/scaletest.py
 ${PYSITELIB}/pygame/examples/scaletest.pyc
 ${PYSITELIB}/pygame/examples/scaletest.pyo
@@ -266,6 +215,12 @@
 ${PYSITELIB}/pygame/fastevent.so
 ${PYSITELIB}/pygame/font.so
 ${PYSITELIB}/pygame/freesansbold.ttf
+${PYSITELIB}/pygame/freetype.py
+${PYSITELIB}/pygame/freetype.pyc
+${PYSITELIB}/pygame/freetype.pyo
+${PYSITELIB}/pygame/ftfont.py
+${PYSITELIB}/pygame/ftfont.pyc
+${PYSITELIB}/pygame/ftfont.pyo
 ${PYSITELIB}/pygame/gfxdraw.so
 ${PYSITELIB}/pygame/gp2x/__init__.py
 ${PYSITELIB}/pygame/gp2x/__init__.pyc
@@ -284,22 +239,21 @@
 ${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



Home | Main Index | Thread Index | Old Index