pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-game Fix PLIST for python3. Replace python in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaac7eaf2bea
branches:  trunk
changeset: 629293:aaac7eaf2bea
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 19 16:26:51 2014 +0000

description:
Fix PLIST for python3. Replace python interpreter in installed files.
Bump PKGREVISION.

diffstat:

 devel/py-game/Makefile |  43 ++++++++++++++++++++++++++++++++++++++++++-
 devel/py-game/PLIST    |   8 ++++----
 2 files changed, 46 insertions(+), 5 deletions(-)

diffs (94 lines):

diff -r 561b82f7853e -r aaac7eaf2bea devel/py-game/Makefile
--- a/devel/py-game/Makefile    Sun Jan 19 16:12:32 2014 +0000
+++ b/devel/py-game/Makefile    Sun Jan 19 16:26:51 2014 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2013/10/25 22:24:58 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2014/01/19 16:26:51 wiz Exp $
 
 DISTNAME=      pygame-1.9.1release
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/release//}
+PKGREVISION=   1
 CATEGORIES=    games
 MASTER_SITES=  http://www.pygame.org/ftp/
 
@@ -16,11 +17,51 @@
 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+=       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
+
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/SDL_ttf/buildlink3.mk"
 .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 "../../multimedia/smpeg/buildlink3.mk"
diff -r 561b82f7853e -r aaac7eaf2bea devel/py-game/PLIST
--- a/devel/py-game/PLIST       Sun Jan 19 16:12:32 2014 +0000
+++ b/devel/py-game/PLIST       Sun Jan 19 16:26:51 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2013/10/24 12:08:22 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.8 2014/01/19 16:26:51 wiz Exp $
 ${PYINC}/pygame/bitmask.h
 ${PYINC}/pygame/camera.h
 ${PYINC}/pygame/fastevents.h
@@ -25,8 +25,8 @@
 ${PYSITELIB}/pygame/_camera_vidcapture.py
 ${PYSITELIB}/pygame/_camera_vidcapture.pyc
 ${PYSITELIB}/pygame/_camera_vidcapture.pyo
-${PYSITELIB}/pygame/_numericsndarray.so
-${PYSITELIB}/pygame/_numericsurfarray.so
+${PLIST.py2x}${PYSITELIB}/pygame/_numericsndarray.so
+${PLIST.py2x}${PYSITELIB}/pygame/_numericsurfarray.so
 ${PYSITELIB}/pygame/_numpysndarray.py
 ${PYSITELIB}/pygame/_numpysndarray.pyc
 ${PYSITELIB}/pygame/_numpysndarray.pyo
@@ -311,7 +311,7 @@
 ${PYSITELIB}/pygame/readme.html
 ${PYSITELIB}/pygame/rect.so
 ${PYSITELIB}/pygame/rwobject.so
-${PYSITELIB}/pygame/scrap.so
+${PLIST.py2x}${PYSITELIB}/pygame/scrap.so
 ${PYSITELIB}/pygame/sndarray.py
 ${PYSITELIB}/pygame/sndarray.pyc
 ${PYSITELIB}/pygame/sndarray.pyo



Home | Main Index | Thread Index | Old Index