mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 09:11:50 -04:00
25 lines
788 B
Makefile
25 lines
788 B
Makefile
PORTNAME= google-crc32c
|
|
PORTVERSION= 1.5.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Wrapper of the C library Google CRC32C
|
|
WWW= https://github.com/googleapis/python-crc32c
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
LIB_DEPENDS= libcrc32c.so:devel/crc32c
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
|
|
|
|
USES= localbase python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|