Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2026 10:07:59 +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: 49d91087e4cc - main - net-im/py-zapzap: Update to 6.4.0
Message-ID:  <69ccee7f.3d890.4caf8493@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=49d91087e4ccc3cb69e9b23d30784200ef7fae41

commit 49d91087e4ccc3cb69e9b23d30784200ef7fae41
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-04-01 09:46:33 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-04-01 10:07:20 +0000

    net-im/py-zapzap: Update to 6.4.0
    
    - Update list of build dependencies
    - Add a post-patch target to fix the program version that does not match
      the distribution version. This discrepancy causes the following 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 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.4.0/dist/zapzap-6.4.0*.whl'
    *** Error code 1
    
    ChangeLog:      https://github.com/rafatosta/zapzap/releases/tag/6.4.0
    Reported by:    Rafael Tosta <notifications@github.com>
    
    ChangeLog:      https://github.com/rafatosta/zapzap/releases/tag/6.4.0
    Reported by:    Rafael Tosta <notifications@github.com>
---
 net-im/py-zapzap/Makefile | 9 +++++++--
 net-im/py-zapzap/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/net-im/py-zapzap/Makefile b/net-im/py-zapzap/Makefile
index d4a22ffd73d6..e2d757060b17 100644
--- a/net-im/py-zapzap/Makefile
+++ b/net-im/py-zapzap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	zapzap
-DISTVERSION=	6.3.4.1
+DISTVERSION=	6.4.0
 CATEGORIES=	net-im python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,7 +10,8 @@ WWW=		https://rtosta.com/zapzap/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}installer>=0.7.0:devel/py-installer@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0.45.1:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=1.3.2:devel/py-dbus@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-gettext>=3.0:textproc/py-python-gettext@${PY_FLAVOR}
@@ -26,6 +27,10 @@ NO_ARCH=	yes
 PLIST_FILES=	share/applications/com.rtosta.zapzap.desktop \
 		share/icons/hicolor/scalable/apps/com.rtosta.zapzap.svg
 
+post-patch:
+	${REINPLACE_CMD} -E -e "s/(^__version__ = )'6.4'$$/\1'${DISTVERSION}'/1" \
+		${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 93d7b2791e0b..ab85a1322caa 100644
--- a/net-im/py-zapzap/distinfo
+++ b/net-im/py-zapzap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1773305828
-SHA256 (rafatosta-zapzap-6.3.4.1_GH0.tar.gz) = 06f489c14d7e2ed135220c3ecc892eb313707af94fe01b84cc9dedd98c914d03
-SIZE (rafatosta-zapzap-6.3.4.1_GH0.tar.gz) = 1060140
+TIMESTAMP = 1775034603
+SHA256 (rafatosta-zapzap-6.4.0_GH0.tar.gz) = c5cedf6d8b77de46c51af6457d475b5c822f23e6eff3a34d01f54ad1e97032aa
+SIZE (rafatosta-zapzap-6.4.0_GH0.tar.gz) = 1132213


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ccee7f.3d890.4caf8493>