summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2025-01-09 16:19:09 +0100
committerNicola Vitale <nivit@FreeBSD.org>2025-01-09 16:22:23 +0100
commite7f1d4913cb1cfb4a4d0c0b5f2be77e3604912d3 (patch)
tree91c603588a19d486d968417821ee1d5d851f19be
parentsecurity/wolfssl: Fix arm64 build. (diff)
graphics/py-fotokilof: Update to 5.1.7
- Fix app/name in the new file pyproject.toml to match PORTNAME, otherwise the build fails with the error: ===> Generating temporary packing list Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 98, in <module> _main(sys.argv[1:], "python -m installer") File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main with WheelFile.open(args.wheel) as source: File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/installer/sources.py", line 162, in open with zipfile.ZipFile(path) as f: ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/zipfile.py", line 1295, in __init__ self.fp = io.open(file, filemode) ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: /usr/local/poudriere/ports/default/graphics/py-fotokilof/work-py311/FotoKilof-5.1.7/dist/fotokilof-5.1.7*.whl *** Error code 1 Release changes: https://github.com/TeaM-TL/FotoKilof/releases/tag/5.1.7 Reported by: Tomasz Ɓuczak <notifications@github.com>
-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