git: c9222aed2301 - main - multimedia/py-av: Update version 18.1.0=>19.0.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 10 Oct 2026 19:44:32 UTC
The branch main has been updated by bofh:

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

commit c9222aed2301809fa485a3ff24cfcdfae2e30870
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-10-10 13:38:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-10-10 19:44:19 +0000

    multimedia/py-av: Update version 18.1.0=>19.0.0
    
    Changelog: https://pyav.basswood-io.com/docs/stable/development/changelog.html
---
 multimedia/py-av/Makefile | 16 +++++++++++-----
 multimedia/py-av/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/multimedia/py-av/Makefile b/multimedia/py-av/Makefile
index 9e26623ec628..376ed75f2905 100644
--- a/multimedia/py-av/Makefile
+++ b/multimedia/py-av/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	av
-DISTVERSION=	18.1.0
+DISTVERSION=	19.0.0
 CATEGORIES=	multimedia python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,20 @@ BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg
 
-USES=		python pkgconfig
+USES=		python:3.12+ pkgconfig
 USE_PYTHON=	autoplist concurrent cython pep517
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31200
+IGNORE=	does not support Python below 3.12
+.endif
+
 post-patch:
-	@${REINPLACE_CMD} '/license-files/d; s|^license = "BSD-3-Clause"|license = { text = "BSD-3-Clause" }|; s|77|63|g' \
-		${WRKSRC}/pyproject.toml
+	@${REINPLACE_CMD} '/license-files/d; s|^license = "BSD-3-Clause"|license = { text = "BSD-3-Clause" }|; s|78|63|g; \
+		s|3.3.0|3.2.9|g' ${WRKSRC}/pyproject.toml
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/av/ -name '*.so' | ${XARGS} ${STRIP_CMD}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/py-av/distinfo b/multimedia/py-av/distinfo
index 21ff79ba6dd8..85733b6c9f91 100644
--- a/multimedia/py-av/distinfo
+++ b/multimedia/py-av/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1789917063
-SHA256 (av-18.1.0.tar.gz) = 47bfc286e1bc9de7ab4681fc2b575cd2460a66919d31ffe1bd5aa54fae531a28
-SIZE (av-18.1.0.tar.gz) = 4451061
+TIMESTAMP = 1791638752
+SHA256 (av-19.0.0.tar.gz) = f04d31a42570cb8ec8216569b94491e91848cdac2ac8e7591c6141fda6cc86ee
+SIZE (av-19.0.0.tar.gz) = 4301713