Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2026 13:52:51 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 582cd9c1386d - main - net/py-avahi: Fix staging after Python 3.12 upgrade
Message-ID:  <6a3fd5b3.185e0.5586aa40@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

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

commit 582cd9c1386dc8a771ee29a03c2423d12f5d0402
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-06-27 13:19:52 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-06-27 13:52:43 +0000

    net/py-avahi: Fix staging after Python 3.12 upgrade
---
 net/py-avahi/Makefile  | 4 +++-
 net/py-avahi/pkg-plist | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/net/py-avahi/Makefile b/net/py-avahi/Makefile
index 37f3f28bb176..ad66a082435b 100644
--- a/net/py-avahi/Makefile
+++ b/net/py-avahi/Makefile
@@ -7,7 +7,8 @@ MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Python interface to the Avahi mDNS system
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gdbm>0:databases/py-gdbm@${PY_FLAVOR} \
-		${PYTHON_SITELIBDIR}/dbus/_dbus.py:devel/py-dbus@${PY_FLAVOR}
+		${PYTHON_SITELIBDIR}/dbus/_dbus.py:devel/py-dbus@${PY_FLAVOR} \
+		${LOCALBASE}/share/automake-1.18/py-compile:devel/automake
 LIB_DEPENDS=	libavahi-client.so:net/avahi-app
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gdbm>0:databases/py-gdbm@${PY_FLAVOR} \
 		${PYTHON_SITELIBDIR}/dbus/_dbus.py:devel/py-dbus@${PY_FLAVOR} \
@@ -33,6 +34,7 @@ post-extract:
 	${CP} ${FILESDIR}/build-db ${WRKSRC}/service-type-database
 
 do-build:
+	${CP} ${LOCALBASE}/share/automake-1.18/py-compile ${WRKSRC}/
 	@${DO_MAKE_BUILD} -C ${BUILD_WRKSRC}
 	@${DO_MAKE_BUILD} -C ${WRKSRC}/service-type-database
 
diff --git a/net/py-avahi/pkg-plist b/net/py-avahi/pkg-plist
index c62fc06d3dd9..3c8c9bb6268a 100644
--- a/net/py-avahi/pkg-plist
+++ b/net/py-avahi/pkg-plist
@@ -7,5 +7,6 @@ lib/avahi/service-types.db
 %%PYTHON_SITELIBDIR%%/avahi/__init__.py
 %%PYTHON_SITELIBDIR%%/avahi/__init__.pyc
 %%PYTHON_SITELIBDIR%%/avahi/__init__.pyo
+%%PYTHON_SITELIBDIR%%/avahi/__pycache__/__init__%%PYTHON_TAG%%.opt-2.pyc
 share/applications/avahi-discover.desktop
 share/man/man1/avahi-bookmarks.1.gz


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3fd5b3.185e0.5586aa40>