Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PORTNAME= cython | ||
PORTVERSION= 3.0.2 | ||
CATEGORIES= lang python | ||
MASTER_SITES= PYPI \ | ||
https://github.com/cython/cython/releases/download/${PORTVERSION}/ | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
DISTNAME= Cython-${PORTVERSION} | ||
PKGNAMESUFFIX= 3 | ||
|
||
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 | ||
USE_PYTHON= allflavors autoplist concurrent distutils | ||
|
||
# bin/cygdb bin/cython bin/cythonize | ||
CONFLICTS_INSTALL= py*-cython py*-cython-devel | ||
|
||
post-install: | ||
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Cython -name '*.so' -exec ${STRIP_CMD} {} + | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1694348222 | ||
SHA256 (Cython-3.0.2.tar.gz) = 9594818dca8bb22ae6580c5222da2bc5cc32334350bd2d294a00d8669bcc61b5 | ||
SIZE (Cython-3.0.2.tar.gz) = 2723546 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Cython is a Python compiler that makes writing C extensions for Python as easy | ||
as Python itself. Cython is based on Pyrex, but supports more cutting edge | ||
functionality and optimizations. | ||
|
||
Cython translates Python code to C/C++ code, but additionally supports calling C | ||
functions and declaring C types on variables and class attributes. This allows | ||
the compiler to generate very efficient C code from Cython code. | ||
|
||
This makes Cython the ideal language for wrapping external C libraries, and for | ||
fast C modules that speed up the execution of Python code. |