games/pysolfc: Update to 3.4.0

* Switch to the PEP517 build framework while I'm here.

Changelog:

https://github.com/shlomif/PySolFC/blob/pysolfc-3.4.0/NEWS.asciidoc
This commit is contained in:
Kai Knoblich 2025-06-16 06:28:57 +02:00
parent 1b5ed42e61
commit c0dc899ce5
3 changed files with 22 additions and 10 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= pysolfc
DISTVERSION= 3.2.0
PORTREVISION= 1
DISTVERSION= 3.4.0
CATEGORIES= games python
MASTER_SITES= SF/${PORTNAME}/PySolFC/${PYSOLFCDIR} \
SF/${PORTNAME}/PySolFC-Cardsets/minimal/:cardsets \
@ -21,6 +20,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 +29,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 +50,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

View File

@ -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 = 1749974967
SHA256 (pysolfc/PySolFC-3.4.0.tar.xz) = 677a79c29c228cd70ffc028615f2c05971e29638ca37cfa4c17a31b2ba477a59
SIZE (pysolfc/PySolFC-3.4.0.tar.xz) = 32914516
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

View File

@ -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',