mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
62a23ef093
The switch is a collective effort of Wen Heping, Alastair Hogge, Muhammad Moinur Rahman, Antoine Brodin, Vladimir Druzenko, Thomas Zander, Daniel Engberg et al. PR: 275494 Tested by: antoine (multiple exp-runs) With hat: python
27 lines
760 B
Makefile
27 lines
760 B
Makefile
PORTNAME= cython
|
|
PORTVERSION= 0.29.37
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang python
|
|
MASTER_SITES= PYPI \
|
|
https://github.com/cython/cython/releases/download/${PORTVERSION}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Cython-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Compiler for Writing C Extensions for the Python Language
|
|
WWW= https://cython.org/ \
|
|
https://github.com/cython/cython
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= compiler:c11 python:2.7+
|
|
USE_PYTHON= allflavors autoplist concurrent distutils
|
|
|
|
CONFLICTS_INSTALL= py*-cython-devel py*-cython3 # bin/cygdb bin/cython bin/cythonize
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Cython -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|