From 5b3d10dcaa582562a56144251c58d622a4e8e3a5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Jun 2019 01:00:01 +0100 Subject: [PATCH] cython: New package Makes writing Python C-API programs easier Signed-off-by: Michael Tremer --- cython/cython.nm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 cython/cython.nm diff --git a/cython/cython.nm b/cython/cython.nm new file mode 100644 index 000000000..2efcce799 --- /dev/null +++ b/cython/cython.nm @@ -0,0 +1,45 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +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