BSD Ports

devel/py-cython 3.3.0nb1 NetBSD

C-Extensions for Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
apache-2.0
Categories
devel, python
Package size
3694.6 KiB, 20224.1 KiB installed

Description

The Cython language makes writing C extensions for the Python language as easy as Python itself. Cython is a source code translator based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.

The Cython language is very close to the Python language (and most Python code is also valid Cython code), but Cython 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 writing glue code for external C libraries, and for fast C modules that speed up the execution of Python code.

Install

Binary package:

pkgin install py312-cython

From pkgsrc:

cd /usr/pkgsrc/devel/py-cython && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.3.0nb1
NetBSD 10.1 aarch643.2.5
SmartOS / illumos x86_643.3.0nb1
macOS 15 arm643.3.0nb1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py313-cython-3.3.0nb1, py314-cython-3.3.0nb1

Commit history 4

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
97917db1eb wiz py-cython: fix isfinite() problem using upstream patch.
Bump PKGREVISION.
b597f5fcfd wiz py-cython: update to 3.3.0.
3.3.0 (2026-08-22) ================== Features added -------------- * PEP-634 Pattern Matching is implemented. (Github issue :issue:`4029`) * ``except *`` (PEP-654 exception groups) is implemented for Python 3.11 and later. (Github issue :issue:`4993`) * Unpacking in comprehensions (PEP-798) is implemented for list/set/dict comprehensions. It is not yet available for generator expressions. Original patch by Morax. (Github issue :issue:`7898`) * Changes were made to adapt to Python 3.15 and its Limited API. This does not yet cover ``abi3t``. (Github issues :issue:`6405`, :issue:`7190`, :issue:`7347`, :issue:`7348`, :issue:`7358`) * Cython now uses a new export/import naming scheme for fused C functions that …
72f66fc4d7 adam py-cython: updated to 3.2.9
3.2.9 (2026-07-23) Bugs fixed * Indexing into freshly created lists with an out-of-bounds index could crash. * Function arguments with default values could end up uninitialised in closures, leading to crashes. * ``bytearray.append(None)`` could crash. The optimised code was also lacking concurrency guards. * Some rare corner cases when concatenating text strings were resolved. * Assignments of builtin string types to typedefs of `object` could erroneously be rejected. * Subscripting ``type`` failed with a ``TypeError``. * Manually disabling ``CYTHON_VECTORCALL`` in CPython could lead to invalid C code. * Some internal Limited API version checks for Py3.12 were corrected.