1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/lang/cython/Makefile
Ruslan Makhmatkhanov 62a23ef093 Mk/Uses/python.mk: Switch to Python 3.11 as default
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
2024-05-29 16:51:35 +03:00

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>