ports/devel/py-protobuf4/Makefile

29 lines
750 B
Makefile

PORTNAME= protobuf
PORTVERSION= 4.25.5
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 4
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google protobuf Python Client Library
WWW= https://protobuf.dev/ \
https://github.com/protocolbuffers/protobuf \
https://github.com/protocolbuffers/protobuf/tree/main/python
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= cpe python
USE_PYTHON= autoplist concurrent pep517
CPE_VENDOR= google
PORTSCOUT= limit:^4\.
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>