lang/cython 3.3.0 MidnightBSD
Compiler for Writing C Extensions for the Python Language
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
11f02b8061- License
- Apache-2.0
- Categories
- lang, python
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | lang/cython | 3.3.0 |
| FreeBSD | lang/cython | 3.2.9 |
| OpenBSD | lang/cython | 3.2.9v0 |
| DragonFly | lang/cython | 0.29.37_2 |
| HardenedBSD | lang/cython | 3.2.9 |
| GhostBSD | lang/cython | 3.2.9 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}cython
From mports:
cd /usr/mports/lang/cython && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 2
Required by 2
Configuration
No options to configure.
- USES
- compiler:c11 python
- Service scripts
- none
- Conflicts with
- py*-cython py*-cython0 py*-cython3
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cython-3.3.0.tar.gz | 3.727515e+06 | eed0d93fbca7087f143b42c34b05a825849bdf17f101572c2105acfa49aa88b8 |
Master sites 2
- PYPI
- https://github.com/cython/cython/releases/download/3.3.0/