diff --git a/devel/py-pylibsrtp/Makefile b/devel/py-pylibsrtp/Makefile index dbef0320a87d..7d802a60fda3 100644 --- a/devel/py-pylibsrtp/Makefile +++ b/devel/py-pylibsrtp/Makefile @@ -1,23 +1,31 @@ PORTNAME= pylibsrtp -DISTVERSION= 0.12.0 +DISTVERSION= 1.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Python wrapper around libsrtp WWW= https://github.com/aiortc/pylibsrtp LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsrtp2.so:net/libsrtp2 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} -USES= localbase python +USES= localbase python ssl USE_PYTHON= autoplist concurrent pep517 +post-patch: + @${REINPLACE_CMD} -e 's|^license = "BSD-3-Clause"|license = { text = "BSD-3-Clause" }|' \ + ${WRKSRC}/pyproject.toml + +post-stage: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pylibsrtp/_binding*.so + .include diff --git a/devel/py-pylibsrtp/distinfo b/devel/py-pylibsrtp/distinfo index ef685d5b6b41..37825c73a46f 100644 --- a/devel/py-pylibsrtp/distinfo +++ b/devel/py-pylibsrtp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744033440 -SHA256 (pylibsrtp-0.12.0.tar.gz) = f5c3c0fb6954e7bb74dc7e6398352740ca67327e6759a199fe852dbc7b84b8ac -SIZE (pylibsrtp-0.12.0.tar.gz) = 10878 +TIMESTAMP = 1782654505 +SHA256 (pylibsrtp-1.0.0.tar.gz) = b39dff075b263a8ded5377f2490c60d2af452c9f06c4d061c7a2b640612b34d4 +SIZE (pylibsrtp-1.0.0.tar.gz) = 10858