summaryrefslogtreecommitdiff
path: root/games/pysolfc
diff options
context:
space:
mode:
Diffstat (limited to 'games/pysolfc')
-rw-r--r--games/pysolfc/Makefile8
-rw-r--r--games/pysolfc/distinfo10
-rw-r--r--games/pysolfc/files/patch-setup.py13
3 files changed, 22 insertions, 9 deletions
diff --git a/games/pysolfc/Makefile b/games/pysolfc/Makefile
index 5c7fba00b638..990f7b09175d 100644
--- a/games/pysolfc/Makefile
+++ b/games/pysolfc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pysolfc
-DISTVERSION= 3.2.0
+DISTVERSION= 3.4.1
PORTREVISION= 1
CATEGORIES= games python
MASTER_SITES= SF/${PORTNAME}/PySolFC/${PYSOLFCDIR} \
@@ -21,6 +21,8 @@ LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
LICENSE_DISTFILES_GPLv2+ = ${CARDSETDIST} ${MUSICDIST}
LICENSE_DISTFILES_GPLv3+ = ${PYSOLFCDIST}
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=18.2.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR} \
@@ -28,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=18.2.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
USES= python shebangfix tar:xz
-USE_PYTHON= distutils noflavors autoplist
+USE_PYTHON= autoplist noflavors pep517
SHEBANG_FILES= data/themes/clearlooks/convert_imgs.sh
NO_ARCH= yes
@@ -49,7 +51,7 @@ SOUND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR}
PYSOLFCDIR= PySolFC-${DISTVERSION}
PYSOLFCDIST= ${PYSOLFCDIR}${EXTRACT_SUFX}
-CARDSETDIR= PySolFC-Cardsets--Minimal-3.0.0
+CARDSETDIR= PySolFC-Cardsets--Minimal-3.1.0
CARDSETDIST= ${CARDSETDIR}.tar.xz
MUSICDIR= PySol-Music-4.50
MUSICDIST= ${MUSICDIR:tl}.tar.xz
diff --git a/games/pysolfc/distinfo b/games/pysolfc/distinfo
index 8c806fee2257..6d4d722e4b46 100644
--- a/games/pysolfc/distinfo
+++ b/games/pysolfc/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1737893461
-SHA256 (pysolfc/PySolFC-3.2.0.tar.xz) = cda078ba2e82eb0e47d48e5f4a887bfa0e8d5be100bd119fb68d6fb87b4dbad0
-SIZE (pysolfc/PySolFC-3.2.0.tar.xz) = 32808092
-SHA256 (pysolfc/PySolFC-Cardsets--Minimal-3.0.0.tar.xz) = faf70f5d1955cc46f2e840f7600df2933b06890fdc874b0bf5da446d1fab288b
-SIZE (pysolfc/PySolFC-Cardsets--Minimal-3.0.0.tar.xz) = 25188212
+TIMESTAMP = 1756454122
+SHA256 (pysolfc/PySolFC-3.4.1.tar.xz) = 3b9bfb91f8f75b7cb9cc836424606975c5a0868c7b50c6917e51367a7c82e6cb
+SIZE (pysolfc/PySolFC-3.4.1.tar.xz) = 32915536
+SHA256 (pysolfc/PySolFC-Cardsets--Minimal-3.1.0.tar.xz) = f894b667936382cf721105a08b6cc41b8b87aac8386117868f749f32f8e67a9d
+SIZE (pysolfc/PySolFC-Cardsets--Minimal-3.1.0.tar.xz) = 25083116
SHA256 (pysolfc/pysol-music-4.50.tar.xz) = 3cfade86db88c1d97589c50441808ee082e68256be788012503818c42728783d
SIZE (pysolfc/pysol-music-4.50.tar.xz) = 2144764
diff --git a/games/pysolfc/files/patch-setup.py b/games/pysolfc/files/patch-setup.py
index c84bcde1e9a7..2a0712ba81cb 100644
--- a/games/pysolfc/files/patch-setup.py
+++ b/games/pysolfc/files/patch-setup.py
@@ -4,7 +4,9 @@
* Skip locale files if NLS is disabled (otherwise enable it via
post-patch target).
---- setup.py.orig 2024-03-31 16:23:14 UTC
+* Normalize the bdist wheel name to avoid staging errors.
+
+--- setup.py.orig 2024-12-22 21:32:17 UTC
+++ setup.py
@@ -14,6 +14,8 @@ def get_data_files(source, destination):
destination using the data_files keyword of setuptools.setup."""
@@ -24,3 +26,12 @@
if os.name == 'posix':
for size in os.listdir('data/images/icons'):
+@@ -65,7 +67,7 @@ kw = {
+ '''
+
+ kw = {
+- 'name': 'PySolFC',
++ 'name': 'pysolfc',
+ 'version': VERSION,
+ 'url': PACKAGE_URL,
+ 'author': 'Skomoroh',