Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2026 12:43:20 +0000
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d3d9dfd1032e - main - net-im/py-zapzap: Update to 6.5.1.1
Message-ID:  <6a2aad68.46d39.38b33a70@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d3d9dfd1032e8050471fe82126b2d088c328aae7

commit d3d9dfd1032e8050471fe82126b2d088c328aae7
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-06-11 12:41:22 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-06-11 12:41:22 +0000

    net-im/py-zapzap: Update to 6.5.1.1
    
    - Add a post-patch target to fix the distribution version, otherwise
      the building process 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 115, in <module>
        _main(sys.argv[1:], "python -m installer")
      File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 100, in _main
        with WheelFile.open(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 179, in open
        with zipfile.ZipFile(path) as f:
             ^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/zipfile.py", line 1311, in __init__
        self.fp = io.open(file, filemode)
                  ^^^^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/poudriere/ports/default/net-im/py-zapzap/work-py311/zapzap-6.5.1.1/dist/zapzap-6.5.1.1*.whl'
    
    Reported by:    Rafael Tosta <notifications@github.com>
---
 net-im/py-zapzap/Makefile | 9 ++++++++-
 net-im/py-zapzap/distinfo | 6 +++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/net-im/py-zapzap/Makefile b/net-im/py-zapzap/Makefile
index 1f8facf9d9dd..5da0527f7734 100644
--- a/net-im/py-zapzap/Makefile
+++ b/net-im/py-zapzap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	zapzap
-DISTVERSION=	6.5.1
+DISTVERSION=	6.5.1.1
 CATEGORIES=	net-im python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -27,6 +27,13 @@ NO_ARCH=	yes
 PLIST_FILES=	share/applications/com.rtosta.zapzap.desktop \
 		share/icons/hicolor/scalable/apps/com.rtosta.zapzap.svg
 
+# fix dist version
+post-patch:
+	@${REINPLACE_CMD} \
+		-E -e 's/(6\.5\.1)/\1.1/1' \
+		${WRKSRC}/share/metainfo/com.rtosta.zapzap.appdata.xml \
+		${WRKSRC}/zapzap/__init__.py
+
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
 	${INSTALL_DATA} ${WRKSRC}/share/icons/com.rtosta.zapzap.svg \
diff --git a/net-im/py-zapzap/distinfo b/net-im/py-zapzap/distinfo
index af79f2e9f40a..e993bd2630fd 100644
--- a/net-im/py-zapzap/distinfo
+++ b/net-im/py-zapzap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1781104324
-SHA256 (rafatosta-zapzap-6.5.1_GH0.tar.gz) = 089f42c28afbf6cbfece329bb9c82d23bc8c49e0da841e93fcd7787977f73ac4
-SIZE (rafatosta-zapzap-6.5.1_GH0.tar.gz) = 1159669
+TIMESTAMP = 1781181214
+SHA256 (rafatosta-zapzap-6.5.1.1_GH0.tar.gz) = fcb136059d283b664b2f4802a4196737efc55f36d5e38b794dff398cbc61e136
+SIZE (rafatosta-zapzap-6.5.1.1_GH0.tar.gz) = 1160133


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a2aad68.46d39.38b33a70>