diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 14:43:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 14:43:50 +0100 |
commit | 7e8f2c69a019131eaeb989242d022260ea5a84ff (patch) | |
tree | ce769e693cf5ee40c03b9eb7ee9ea91e24645947 /dev-python/cysignals | |
parent | 1e8bc3b2037289b8577740cea9321c37c52a49a2 (diff) |
gentoo auto-resync : 26:10:2023 - 14:43:50
Diffstat (limited to 'dev-python/cysignals')
-rw-r--r-- | dev-python/cysignals/Manifest | 3 | ||||
-rw-r--r-- | dev-python/cysignals/cysignals-1.11.4.ebuild | 30 | ||||
-rw-r--r-- | dev-python/cysignals/metadata.xml | 35 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/cysignals/Manifest b/dev-python/cysignals/Manifest new file mode 100644 index 000000000000..e50d0bbe944a --- /dev/null +++ b/dev-python/cysignals/Manifest @@ -0,0 +1,3 @@ +DIST cysignals-1.11.4.tar.gz 105100 BLAKE2B c21c5cae69332885dd4b9f13d0fbe9ab836466dd699f0d51908d129107ce4922f4076fafa8dce3650983fd69d25182464f9831545a8da3535699d36d198ec6a7 SHA512 b083a62bcca71634cdd21ca6c8d1363e7754ed97d6f2ad0280b0ae97fdf1264be3dc202acf67added4c12a0815420d9641269da1212b83472ea304883d3b85ab +EBUILD cysignals-1.11.4.ebuild 687 BLAKE2B 5ac2ea65e9e2f2df4eecf8a208daabc9e24fc3d66f550e40c545965d4af8ec80f8f54dd114b5dd753c66ffd4b1879856df1c53b6f2d7b92beb68e398dd6fbeea SHA512 f3d936193098fe0e5ed859feed45bd7004438c052d0c6fad9aa553de89fab37db49eb85d877fc720ff5273981c2b6a243b112babe51a343144a151f8e74f05dc +MISC metadata.xml 1135 BLAKE2B e5b09338d238c7f65d9bc4878a969e66b6d29fc6dffe67b3d0d1776199c14b1717a5459776cd1afe9e11db3c1a72786c96d9b0add57b353aec564c937f6156bd SHA512 b79fdd39d4ad90cd68c224bd79398e50a6879b7c38602b50f8034f32dae1c4eaf7e8beffab5eb997a4368091fa3f52635a9e655906a27d8a6ff290ace548101c diff --git a/dev-python/cysignals/cysignals-1.11.4.ebuild b/dev-python/cysignals/cysignals-1.11.4.ebuild new file mode 100644 index 000000000000..2a8a65ea37c8 --- /dev/null +++ b/dev-python/cysignals/cysignals-1.11.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Interrupt and signal handling for Cython" +HOMEPAGE="https://pypi.org/project/cysignals/ + https://github.com/sagemath/cysignals" + +# setup.py has "or later" +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sci-mathematics/pari:=" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-python/cython-3.0.0[${PYTHON_USEDEP}]" + +python_test(){ + PATH="${BUILD_DIR}/scripts:${PATH}" \ + "${EPYTHON}" -B "${S}"/rundoctests.py \ + "${S}"/src/cysignals/*.pyx || die +} diff --git a/dev-python/cysignals/metadata.xml b/dev-python/cysignals/metadata.xml new file mode 100644 index 000000000000..abe39229c92a --- /dev/null +++ b/dev-python/cysignals/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <longdescription lang="en"> + 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, it normally does not check for interrupts. The cysignals + package provides mechanisms to handle interrupts (and other signals + and errors) in Cython code. + </longdescription> + + <upstream> + <remote-id type="pypi">cysignals</remote-id> + <remote-id type="github">sagemath/cysignals</remote-id> + </upstream> +</pkgmetadata> |