Deprecated: Legacy version. Does not work with newer Python versions. Use lang/cython instead
Expires: 2026-06-30
lang/cython0 0.29.37
Compiler for Writing C Extensions for the Python Language
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- lang, python
- Package size
- 1854.2 KiB, 11173.7 KiB installed
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.
Install
As a binary package — by origin, or by package name:
pkg install lang/cython0
pkg install py27-cython0
From the ports tree:
cd /usr/ports/lang/cython0/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py27-cython0>0:lang/cython0
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.29.37 | 0.29.37 | - | - | 0.29.37 |
| FreeBSD:14:quarterly | 0.29.37 | 0.29.37 | n/a | - | 0.29.37 |
| FreeBSD:15:latest | 0.29.37 | 0.29.37 | n/a | - | - |
| FreeBSD:15:quarterly | 0.29.37 | 0.29.37 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.29.37 | 0.29.37 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 22
- archivers/brotli
- devel/gettext-runtime
- devel/libffi
- devel/py-setuptools44
- devel/readline
- graphics/png
- lang/python27
- lang/tcl86
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
All run dependencies 22
- archivers/brotli
- devel/gettext-runtime
- devel/libffi
- devel/py-setuptools44
- devel/readline
- graphics/png
- lang/python27
- lang/tcl86
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
No options to configure.
- USES
- compiler:c11 python:2.7-3.12
- Service scripts
- none
- Conflicts with
- py*-cython py*-cython3
- Flavors
py311-cython0-0.29.37,py312-cython0-0.29.37
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Cython-0.29.37.tar.gz | 2.099621e+06 | f813d4a6dd94adee5d4ff266191d1d95bf6d4164a4facc535422c021b2504cfb |
Master sites 2
- PYPI
- https://github.com/cython/cython/releases/download/0.29.37/
Commit history 0
No commits in the history this site was built from.