cython: New package

Makes writing Python C-API programs easier

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2019-06-21 01:00:01 +01:00
parent dc32225384
commit 5b3d10dcaa
1 changed files with 45 additions and 0 deletions

45
cython/cython.nm Normal file
View File

@ -0,0 +1,45 @@
###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = cython
version = 0.29.10
release = 1
groups = Development/Tools
url = https://cython.org
license = Apache
summary = C-Extensions for Python
description
Cython is an optimising static compiler for both the Python
programming language and the extended Cython programming language
(based on Pyrex). It makes writing C extensions for Python as easy
as Python itself.
end
source_dl = https://github.com/cython/cython/archive/%{version}.tar.gz#/
build
requires
python3-devel
end
build
%{python3} setup.py build
end
install
%{python3} setup.py install \
--root=%{BUILDROOT} --skip-build
end
end
packages
package %{name}
package %{name}-debuginfo
template DEBUGINFO
end
end