mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
- Introduce USE_PYTHON=cryptography{,_build,_test} - Switch all 96 ports from USES=pycryptography to with USE_PYTHON=cryptography{,_build,_test} - Remove Mk/Uses/pycryptography.mk PR: 273727 Approved by: tcberner (portmgr) Exp-run by: antoine
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
PORTNAME= aiortc
|
|
PORTVERSION= 1.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel multimedia python www
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= WebRTC and ORTC in Python
|
|
WWW= https://github.com/aiortc/aiortc/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
|
|
LIB_DEPENDS= libopus.so:audio/opus \
|
|
libvpx.so:multimedia/libvpx
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}aioice>=0.9.0:devel/py-aioice@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}av>=9.0.0:multimedia/py-av@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}google-crc32c>=1.1:devel/py-google-crc32c@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}openssl>=23.1.0:security/py-openssl@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyee>=9.0.0:devel/py-pyee@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pylibsrtp>=0.5.6:devel/py-pylibsrtp@${PY_FLAVOR}
|
|
|
|
USES= localbase python
|
|
USE_PYTHON= autoplist concurrent cryptography distutils
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/codecs/*.so
|
|
|
|
.include <bsd.port.mk>
|