]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
cython: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jun 2019 00:00:01 +0000 (01:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jun 2019 00:00:01 +0000 (01:00 +0100)
Makes writing Python C-API programs easier

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
cython/cython.nm [new file with mode: 0644]

diff --git a/cython/cython.nm b/cython/cython.nm
new file mode 100644 (file)
index 0000000..2efcce7
--- /dev/null
@@ -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