diff --git a/multimedia/py-av/Makefile b/multimedia/py-av/Makefile index b37e14ed82eb..0bae1d719070 100644 --- a/multimedia/py-av/Makefile +++ b/multimedia/py-av/Makefile @@ -1,24 +1,28 @@ PORTNAME= av -DISTVERSION= 16.1.0 +DISTVERSION= 17.0.0 CATEGORIES= multimedia python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Pythonic binding for FFmpeg WWW= https://docs.mikeboers.com/pyav/develop/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libavutil.so:multimedia/ffmpeg USES= python pkgconfig -USE_PYTHON= autoplist concurrent cython distutils +USE_PYTHON= autoplist concurrent cython pep517 -CFLAGS+= -Wno-error=incompatible-function-pointer-types +post-patch: + @${REINPLACE_CMD} '/license-files/d; s|^license = "BSD-3-Clause"|license = { text = "BSD-3-Clause" }|; s|77|63|g' \ + ${WRKSRC}/pyproject.toml post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/av/ -name '*.so' | ${XARGS} ${STRIP_CMD} .include diff --git a/multimedia/py-av/distinfo b/multimedia/py-av/distinfo index b1536d22d955..7f25cb53de4c 100644 --- a/multimedia/py-av/distinfo +++ b/multimedia/py-av/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1772672547 -SHA256 (av-16.1.0.tar.gz) = a094b4fd87a3721dacf02794d3d2c82b8d712c85b9534437e82a8a978c175ffd -SIZE (av-16.1.0.tar.gz) = 4285203 +TIMESTAMP = 1787587857 +SHA256 (av-17.0.0.tar.gz) = c53685df73775a8763c375c7b2d62a6cb149d992a26a4b098204da42ade8c3df +SIZE (av-17.0.0.tar.gz) = 4410769 diff --git a/multimedia/py-av/files/patch-pyproject.toml b/multimedia/py-av/files/patch-pyproject.toml deleted file mode 100644 index 1bbab80b42cf..000000000000 --- a/multimedia/py-av/files/patch-pyproject.toml +++ /dev/null @@ -1,11 +0,0 @@ ---- pyproject.toml.orig 2026-03-05 01:46:20 UTC -+++ pyproject.toml -@@ -5,7 +5,7 @@ readme = "README.md" - name = "av" - description = "Pythonic bindings for FFmpeg's libraries." - readme = "README.md" --license = "BSD-3-Clause" -+license = {text="BSD-3-Clause"} - authors = [ - {name = "WyattBlue", email = "wyattblue@auto-editor.com"}, - {name = "Jeremy Lainé", email = "jeremy.laine@m4x.org"},