BSD Ports

devel/py-cysignals 1.12.6 FreeBSD

Interrupt and signal handling for Cython

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
578ce00b23
License
LGPL3
Categories
devel, python
Package size
186.1 KiB, 803.3 KiB installed

Description

When writing Cython code, special care must be taken to ensure that the code can be interrupted with CTRL-C. Since Cython optimizes for speed, Cython normally does not check for interrupts. For example, code like the following cannot be interrupted in Cython:

while True: pass

The cysignals package provides mechanisms to handle interrupts (and other signals and errors) in Cython code.

See also: https://github.com/sagemath/cysignals

In the other systems

SystemPortVersion
FreeBSDdevel/py-cysignals1.12.6
DragonFlydevel/py-cysignals1.12.3
HardenedBSDdevel/py-cysignals1.12.6
GhostBSDdevel/py-cysignals1.12.6

Install

Binary package:

pkg install py312-cysignals

From the ports tree:

cd /usr/ports/devel/py-cysignals/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-cysignals>0:devel/py-cysignals

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.12.61.12.61.11.2_11.12.41.12.6
FreeBSD:14:quarterly1.12.61.12.6n/a1.12.31.12.6
FreeBSD:15:latest1.12.61.12.6n/a1.12.41.12.4
FreeBSD:15:quarterly1.12.61.12.6n/an/an/a
FreeBSD:16:latest1.12.61.12.6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 54
Run dependencies 8

Configuration

Options name: devel_cysignals

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
compiler:c++11-lang pkgconfig python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
cysignals-1.12.6.tar.gz795833ef3a37bdb244821b85475a08e2762ca1019570b369e321504995fa9a54675ce
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
578ce00b23 Charlie Li devel/py-cysignals: use USE_PYTHON=autoplist
Fixes packaging with free-threaded Python. Also specify USE_PYTHON=pytest instead of USES=pytest PR: 299133 Approved by: thierry (maintainer)