summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/py-fotokilof/Makefile9
-rw-r--r--graphics/py-fotokilof/distinfo6
2 files changed, 7 insertions, 8 deletions
diff --git a/graphics/py-fotokilof/Makefile b/graphics/py-fotokilof/Makefile
index 763766198010..9cf647f28761 100644
--- a/graphics/py-fotokilof/Makefile
+++ b/graphics/py-fotokilof/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fotokilof
-PORTVERSION= 5.1.2
+PORTVERSION= 5.1.7
CATEGORIES= graphics
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -26,13 +26,12 @@ USE_GITHUB= yes
GH_ACCOUNT= TeaM-TL
GH_PROJECT= FotoKilof
-# the project really doesn't have PEP-517 support, but distutils/setuptools
-# creates a "wrong" entry_points script, so we use our pep517 feature
USE_PYTHON= autoplist pep517
# fix Python wheel name (lower case)
post-patch:
- ${REINPLACE_CMD} -e 's/\(__appname__ = \)"${PORTNAME}"/\1"${PORTNAME}"/1i' \
- ${WRKSRC}/fotokilof/version.py
+ ${REINPLACE_CMD} -E -e 's/^((__app)?name(__)? = )"${PORTNAME}"/\1"${PORTNAME}"/1i' \
+ ${WRKSRC}/fotokilof/version.py \
+ ${WRKSRC}/pyproject.toml
.include <bsd.port.mk>
diff --git a/graphics/py-fotokilof/distinfo b/graphics/py-fotokilof/distinfo
index 3ecbd328a866..bd5cbf1a1ad0 100644
--- a/graphics/py-fotokilof/distinfo
+++ b/graphics/py-fotokilof/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733997810
-SHA256 (TeaM-TL-FotoKilof-5.1.2_GH0.tar.gz) = d2036f31e03d48747782c70f2d0b28fe1fae2811decb647c8cf5ac1e12a08022
-SIZE (TeaM-TL-FotoKilof-5.1.2_GH0.tar.gz) = 4418705
+TIMESTAMP = 1736428832
+SHA256 (TeaM-TL-FotoKilof-5.1.7_GH0.tar.gz) = 02e5005473dfd947dd863445a295541e41d00b747440ec79c14adaea094c68e1
+SIZE (TeaM-TL-FotoKilof-5.1.7_GH0.tar.gz) = 7069667