pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/py-renpy



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Apr 29 14:37:31 UTC 2024

Modified Files:
        pkgsrc/games/py-renpy: Makefile PLIST

Log Message:
py-renpy: Fix PLIST for different Python versions

Right now packaging will fail unless the user has the exact same
Python version as the last person to update the package, which is not
an ideal situation.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/games/py-renpy/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/py-renpy/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/py-renpy/Makefile
diff -u pkgsrc/games/py-renpy/Makefile:1.35 pkgsrc/games/py-renpy/Makefile:1.36
--- pkgsrc/games/py-renpy/Makefile:1.35 Sat Apr  6 08:05:36 2024
+++ pkgsrc/games/py-renpy/Makefile      Mon Apr 29 14:37:31 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2024/04/06 08:05:36 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2024/04/29 14:37:31 nia Exp $
 
 DISTNAME=      renpy-8.1.3-source
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-source//}
@@ -27,6 +27,8 @@ USE_TOOLS+=   pax
 PYSETUPSUBDIR= module
 EGG_NAME=      Ren_Py-${PKGVERSION_NOREV}.23091805
 
+PLIST_SUBST+=  PYTHON_VERSION=${PYTHON_VERSION}
+
 RENPY_DEPS_INSTALL+=   ${BUILDLINK_PREFIX.SDL2}
 RENPY_DEPS_INSTALL+=   ${BUILDLINK_PREFIX.freetype2}
 RENPY_DEPS_INSTALL+=   ${BUILDLINK_PREFIX.zlib}

Index: pkgsrc/games/py-renpy/PLIST
diff -u pkgsrc/games/py-renpy/PLIST:1.7 pkgsrc/games/py-renpy/PLIST:1.8
--- pkgsrc/games/py-renpy/PLIST:1.7     Thu Nov 23 15:41:21 2023
+++ pkgsrc/games/py-renpy/PLIST Mon Apr 29 14:37:31 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2023/11/23 15:41:21 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.8 2024/04/29 14:37:31 nia Exp $
 bin/renpy
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -351,7 +351,7 @@ share/renpy/launcher/game/androidstrings
 share/renpy/launcher/game/androidstrings.rpyc
 share/renpy/launcher/game/archiver.rpy
 share/renpy/launcher/game/archiver.rpyc
-share/renpy/launcher/game/cache/bytecode-311.rpyb
+share/renpy/launcher/game/cache/bytecode-${PYTHON_VERSION}.rpyb
 share/renpy/launcher/game/cache/py3analysis.rpyb
 share/renpy/launcher/game/cache/screens.rpyb
 share/renpy/launcher/game/change_icon.py
@@ -1465,7 +1465,7 @@ share/renpy/the_question/android-icon_fo
 share/renpy/the_question/android.json
 share/renpy/the_question/android.keystore
 share/renpy/the_question/bundle.keystore
-share/renpy/the_question/game/cache/bytecode-311.rpyb
+share/renpy/the_question/game/cache/bytecode-${PYTHON_VERSION}.rpyb
 share/renpy/the_question/game/cache/py3analysis.rpyb
 share/renpy/the_question/game/cache/screens.rpyb
 share/renpy/the_question/game/gui.rpy
@@ -1621,7 +1621,7 @@ share/renpy/tutorial/game/01director_sup
 share/renpy/tutorial/game/01director_support.rpyc
 share/renpy/tutorial/game/01example.rpy
 share/renpy/tutorial/game/01example.rpyc
-share/renpy/tutorial/game/cache/bytecode-311.rpyb
+share/renpy/tutorial/game/cache/bytecode-${PYTHON_VERSION}.rpyb
 share/renpy/tutorial/game/cache/py3analysis.rpyb
 share/renpy/tutorial/game/cache/screens.rpyb
 share/renpy/tutorial/game/examples.rpy



Home | Main Index | Thread Index | Old Index