Compare commits

...
Sign in to create a new pull request.

121 commits

Author SHA1 Message Date
Fedora Release Engineering
f7a8a27b26 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 02:31:09 +00:00
Charalampos Stratakis
2c6f91d207 Update to 3.2.4
- Fixes: rhbz#2427014
2026-01-15 06:55:58 +01:00
Tomáš Hrnčiar
88f4ce7f6f Update to 3.2.3
- Fixes: rhbz#2419172
2025-12-15 11:56:31 +01:00
Charalampos Stratakis
c094a0ed36 Update to 3.2.1
- Fixes: rhbz#2414622
2025-11-21 23:56:53 +01:00
Charalampos Stratakis
9f329e2bce Update to 3.1.6
- Fixes: rhbz#2405056
2025-10-30 00:47:04 +01:00
Charalampos Stratakis
d26d9ef002 Update to 3.1.4
- Fixes: rhbz#2395654
2025-10-08 21:26:11 +02:00
Python Maint
36d2e823ed Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:12:56 +02:00
Python Maint
df85e60d10 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:43:36 +02:00
Charalampos Stratakis
5aacdf9933 Update to 3.1.3
- Fixes: rhbz#2388173
2025-08-13 15:06:04 +02:00
Miro Hrončok
4131df3867 CI: Use blas-devel for pip-installed pythran
[skip changelog]
2025-08-06 00:29:04 +02:00
Charalampos Stratakis
eabd7d051c Update to 3.1.2
- Fixes: rhbz#2365167, rhbz#2374314
2025-08-06 00:29:03 +02:00
Fedora Release Engineering
b19df3773e Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 15:44:56 +00:00
Python Maint
8479a40394 Unbootstrap for Python 3.14 2025-07-21 11:29:54 +02:00
Python Maint
43375bfd29 Bootstrap for Python 3.14.0b3 bytecode 2025-06-18 15:50:46 +02:00
Python Maint
63e867fd03 Bootstrap for Python 3.14 2025-06-02 20:14:40 +02:00
Charalampos Stratakis
b472f69665 Update to 3.0.12
- Fixes: rhbz#2344778
2025-03-26 22:43:04 +01:00
Miro Hrončok
99c8abe3b7 Avoid accidentally including bogus *.txt files as documentation
- Include README.rst and CHANGES.rst instead

This avoids packaging:

    COPYING.txt and LICENSE.txt (already installed as %license)
    INSTALL.txt (not relevant)
    ToDo.txt (original from pyrex)
    doc-requirements.txt
    test-requirements-27.txt
    test-requirements-312.txt
    test-requirements-34.txt
    test-requirements-36.txt
    test-requirements-cpython.txt
    test-requirements-pypy27.txt
    test-requirements.txt
2025-03-06 19:25:38 +01:00
Benjamin A. Beasley
295d3360cf On 32-bit (ix86), reduce debuginfo level in %check
- Fixes RHBZ#2339845 by avoiding memory exhaustion in test_many_expressions
2025-02-27 08:10:21 -05:00
Fedora Release Engineering
3c76406608 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 08:31:37 +00:00
Sandro
ba2dba1357
Apply patch for NumPy 2.x test failure
It appears to be a cosmetic issue rather than a real failure.
2024-12-25 13:57:51 +01:00
Charalampos Stratakis
6021cd6d27 Update to 3.0.11
- Fixes: rhbz#2303197
- Fixes: rhbz#2293086

Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
2024-08-07 10:50:30 +02:00
Miro Hrončok
35d536cf3c CI: Quadruple the necessary time
We got:

    Maximum test time '60m' exceeded.

And:

    Maximum test time '120m' exceeded.

[skip changelog]
2024-08-07 10:50:26 +02:00
Fedora Release Engineering
3bf2d16c62 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 14:49:54 +00:00
Python Maint
f7d2eb89bd Rebuilt for Python 3.13 2024-06-16 09:20:45 +02:00
Python Maint
3a774c1af3 Bootstrap for Python 3.13 2024-06-07 08:41:27 +02:00
Miro Hrončok
ccc0af1525 CI: Run upstream testsuite 2024-05-13 11:46:52 +02:00
Miro Hrončok
6396fb88bb Import CI tests from RHEL
This is from RHEL distgit tests/Cython, directory Sanity/smoke.

The original commit hash: 36cb03f34340bf13e42326bd9cb26f5f03b6fc27

Only necessary files were kept. Some outdated stuff was removed.

Co-Authored-By: Jan Kepler <jkejda@redhat.com>
Co-Authored-By: Lukáš Zachar <lzachar@redhat.com>
2024-05-07 17:48:02 +02:00
Miro Hrončok
d0c963e197 Don't BuildRequire pythran in RHEL
We've been told by RHEL scipy maintainers
they will be getting rid of the dependency.
2024-04-11 10:17:17 +02:00
Charalampos Stratakis
0e9ba50dcb Update to 3.0.9 (rhbz#2268123) 2024-03-17 18:37:33 +01:00
Miro Hrončok
ba710e631b Disable GCC warnings/errors about wrong self casts in final function calls
Numerous packages fail to build due to -Werror=incompatible-pointer-types
being the default in Fedora 40+.

The code is generated by Cython. No known fix at this time,
so better to disable the warning here than in each individual package.
2024-03-02 22:07:10 +01:00
Karolina Surma
e728dde39c Use Python 3.13.0a4 PyCFunctionFastWithKeywords 2024-02-21 12:37:58 +01:00
Miro Hrončok
f800157870 Convert to %autorelease and %autochangelog
[skip changelog]
2024-01-29 15:32:28 +01:00
Lumir Balhar
642a7aa4e1 Update to 3.0.8 (rhbz#2255460) 2024-01-23 12:44:46 +01:00
Fedora Release Engineering
c04aea32e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 20:52:34 +00:00
Fedora Release Engineering
df22711179 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 09:27:59 +00:00
Fedora Release Engineering
8f389c71bf Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-18 12:16:29 +00:00
Miro Hrončok
4f6fdd4aa8 Update to 3.0.6 2023-11-30 13:34:45 +01:00
Miro Hrončok
704bbe1117 Fix C++17 error: standard attributes in middle of decl-specifiers (CYTHON_UNUSED)
This is only relevant on Python 3.13+

Fixes (part of) https://bugzilla.redhat.com/2247486
2023-11-06 11:37:34 +01:00
Miro Hrončok
5907573e25 Convert to pyproject-rpm-macros 2023-10-31 17:07:38 +01:00
Miro Hrončok
86fdd7be24 Update to 3.0.5 2023-10-31 17:06:56 +01:00
Miro Hrončok
b652c0db5c Update to 3.0.4 2023-10-18 20:12:46 +02:00
Miro Hrončok
816bc6d12f Add more optional test dependencies to run more tests 2023-10-18 00:29:48 +02:00
Miro Hrončok
2323ac7d60 Exclude gil_in_var on i686 2023-10-18 00:29:48 +02:00
Miro Hrončok
7b55261c3d Add upstream link to the comment about skipped pstats profile tests 2023-10-13 15:00:24 +02:00
Miro Hrončok
7cb8cd1040 Update to 3.0.3 2023-10-13 12:15:25 +02:00
Miro Hrončok
8319632a82 Update to 3.0.2 2023-09-01 16:14:25 +02:00
Miro Hrončok
14926296e2 Rename python3-Cython to python3-cython 2023-07-19 07:00:16 +02:00
Miro Hrončok
87851c9fe5 Add more optional test deps 2023-07-19 07:00:16 +02:00
Miro Hrončok
1f32e41a7e Exclude tests failing on Python 3.12 2023-07-19 07:00:16 +02:00
Miro Hrončok
d2e6364600 Update to 3.0.0 2023-07-19 07:00:16 +02:00
Tomáš Hrnčiar
47185aeaea Update to 3.0.0rc2 2023-07-19 07:00:16 +02:00
Petr Viktorin
c6b945e9de Backport compile-time Python 3.12 compatibility for CYTHON_TRACE support 2023-06-30 16:52:02 +02:00
Miro Hrončok
5bbbb81a09 Bootstrap Python 3.12 with 0.29.35 2023-06-18 18:31:49 +02:00
Python Maint
4a30dd7e93 Rebuilt for Python 3.12 2023-06-16 08:21:08 +02:00
Python Maint
1c3444e22e Bootstrap for Python 3.12 2023-06-13 20:25:36 +02:00
Miro Hrončok
e08af6dcb7 Use a consistent %bcond syntax 2023-05-26 19:01:26 +02:00
Miro Hrončok
1e9bead9ab Stop shipping emacs-cython-mode in RHEL builds 2023-05-26 19:01:26 +02:00
Yaakov Selkowitz
5cc48f1485 Avoid python-jedi dependency in RHEL builds
python-jedi is unwanted in RHEL; the tests which use it are skipped
if absent, see the comment for details.

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2023-05-26 10:42:42 +02:00
Miro Hrončok
5c173e36d1 Update to 0.29.34
Includes fixes for Python 3.12.0a5 and a6.
2023-04-03 08:21:24 +02:00
Miro Hrončok
d55635fb41 Update the RPM license tag to SPDX 2023-02-17 17:47:57 +01:00
Miro Hrončok
d52e2fc9c5 Update to 0.29.33 2023-02-17 17:46:58 +01:00
Fedora Release Engineering
92cc956a76 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 19:43:47 +00:00
Miro Hrončok
4c46cbf0e0 emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters
Fixes: https://bugzilla.redhat.com/2155090
2022-12-20 01:14:01 +01:00
Miro Hrončok
7b06dc068d Avoid RPM warning
warning: line 71: Possible unexpanded macro in: Requires:       emacs(bin) >= %{_emacs_version}
2022-08-08 12:04:40 +02:00
Miro Hrončok
2f1be2ed78 Update to 0.29.32 2022-08-08 12:03:50 +02:00
Fedora Release Engineering
29491f0523 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 18:34:09 +00:00
Python Maint
6dc133adcf Rebuilt for Python 3.11 2022-06-13 18:55:39 +02:00
Python Maint
b85dfd3bda Bootstrap for Python 3.11 2022-06-13 14:53:36 +02:00
Tomáš Hrnčiar
374291e8ee Update to 0.29.30 2022-05-30 14:58:39 +02:00
Miro Hrončok
ba54d3b2cd Remove a very weird rm -rf that has not been needed for a long time 2022-03-31 13:55:10 +02:00
Miro Hrončok
db919742fc Update to 0.29.28 2022-03-31 13:55:01 +02:00
Fedora Release Engineering
6678a84899 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 19:18:59 +00:00
Miro Hrončok
f52c2ecc11 Update to 0.29.26 2022-01-07 10:44:03 +01:00
Scott Talbert
d5f7a019c7 Update to 0.29.24 to fix FTBFS with Python 3.10 2021-07-22 11:26:10 -04:00
Fedora Release Engineering
1ee3b1a90c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 15:43:52 +00:00
Fedora Release Engineering
d42d4b95f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 10:49:24 +00:00
Python Maint
5f403f6493 Rebuilt for Python 3.10 2021-06-02 22:04:38 +02:00
Python Maint
f2f31bc0ff Bootstrap for Python 3.10 2021-06-02 14:57:15 +02:00
Miro Hrončok
d66d4fa971 Adapt tracing code to Python 3.10 2021-05-19 12:25:50 +02:00
Miro Hrončok
abebf576dc General cleanup 2021-03-10 12:14:56 +01:00
Miro Hrončok
705633024a Introduce cython_compile bcond 2021-03-04 10:25:03 +01:00
Miro Hrončok
e54e595a42 Update to 0.29.22 2021-03-04 09:22:10 +01:00
Fedora Release Engineering
9a9bbcd568 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-25 22:20:58 +00:00
Miro Hrončok
88a2c0e605 Drop build dependency on coverage 2020-11-13 10:57:20 +01:00
Fedora Release Engineering
3381470c02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 10:18:11 +00:00
Gwyn Ciesla
7763f44a20 Re-enable tests. 2020-07-22 13:50:49 -05:00
Gwyn Ciesla
3e690c8211 Disable test until numpy is updates. 2020-07-22 10:47:23 -05:00
Gwyn Ciesla
4f065f5ed4 0.29.21 2020-07-22 10:30:31 -05:00
Miro Hrončok
71280f32f3 Sources for 0.29.19 2020-05-27 12:11:19 +02:00
serge-sans-paille
048c8d73ca Update to 0.29.19 2020-05-27 08:51:52 +00:00
Miro Hrončok
fcb231b125 Rebuilt for Python 3.9 2020-05-25 10:31:30 +02:00
Miro Hrončok
6d85179678 Bootstrap for Python 3.9 2020-05-22 21:39:38 +02:00
Petr Viktorin
5f0bd3ad05 Work around class- and staticmethod breakage
Note that staticmethod fused functions are still broken.
2020-05-21 15:45:00 +02:00
Petr Viktorin
d658964615 Record that Tempita is bundled 2020-05-20 22:29:28 +02:00
Marcel Plch
bae4cd93fd Update to 0.29.17 2020-04-28 13:09:46 +02:00
Miro Hrončok
616546a49d Update to 0.29.16
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1816785
2020-03-25 16:03:34 +01:00
Miro Hrončok
5ae908bc2e Update to 0.29.15 (#1800158) 2020-02-08 21:17:04 +01:00
Fedora Release Engineering
7d0ab88403 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 09:18:22 +00:00
Miro Hrončok
5c8dccc6b9 Python 3.9 compatibility 2020-01-06 11:44:46 +01:00
Miro Hrončok
1c463e3d34 Update to 0.29.14
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1768034
2019-11-04 18:25:32 +01:00
Miro Hrončok
425cf2eb63 Python 2 subpackage has been removed
See https://fedoraproject.org/wiki/Changes/RetirePython2
2019-11-04 17:34:48 +01:00
Miro Hrončok
bb14927ab1 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:49:38 +02:00
Miro Hrončok
ec111e130c Rebuilt for Python 3.8 2019-08-15 21:55:34 +02:00
Miro Hrončok
606c7b8116 Bootstrap for Python 3.8 2019-08-15 20:52:57 +02:00
Gwyn Ciesla
cfa85f0710 Rebuild. 2019-08-01 08:34:03 -05:00
Igor Gnatenko
7a42270f10
Update to 0.29.13
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-07-27 11:59:09 +02:00
Fedora Release Engineering
b2f62e883e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 15:45:55 +00:00
Petr Viktorin
582c72b5e6 Remove non-essential Python 2 test dependencies 2019-07-22 19:42:07 +02:00
Miro Hrončok
842b34e066 Update to 0.29.12 (#1727580) 2019-07-11 13:35:15 +02:00
Miro Hrončok
44e47def53 Update to 0.29.11 (#1725361) 2019-07-01 13:44:53 +02:00
Charalampos Stratakis
5623fe993a Update to 0.29.10 (#1716146) 2019-06-02 23:18:38 +02:00
Miro Hrončok
3f1cff4222 Update to 0.29.9 (#1714365) 2019-05-30 12:07:38 +02:00
Igor Gnatenko
1100c72e8f
Update to 0.29.7
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-05-13 07:11:20 +02:00
Miro Hrončok
9d494ccd6e Update to 0.29.6 (#1683661) 2019-02-27 14:31:01 +01:00
Miro Hrončok
2ea743a71a Update to 0.29.5 (#1667643) 2019-02-08 23:46:11 +01:00
Fedora Release Engineering
b5383fa6a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 11:29:01 +00:00
Miro Hrončok
8fbaae6d84 Update to 0.29.3, enable tests
Tests were entirely disabled due to Big Endian failure in one module.
This enables them back but excludes the failing tests on Big Endian.

Since the tests are quite slow, this also:

 * disables CPython regression tests
 * runs the tests in parallel with %{?_smp_mflags} (-j)

However, there are weird test errors on one of the Koji's i686 builders.
This was reported to upstream: https://github.com/cython/cython/issues/2807
Until that's sorted out, we skip a test on i686.
2019-01-21 21:59:38 +01:00
Alex Cobb
9c7f46b95b Add emacs-cython-mode subpackage 2019-01-08 12:03:00 +01:00
Igor Gnatenko
03641f599d
Update to 0.29.1
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-10 14:16:25 +01:00
Igor Gnatenko
d8e77b0d97
Update to 0.29
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-12-10 14:13:25 +01:00
Igor Gnatenko
0c9be7ea2a
Update to 0.29~rc2
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-10-03 12:35:28 +02:00
11 changed files with 668 additions and 367 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

30
.gitignore vendored
View file

@ -1,29 +1 @@
Cython-0.12.1.tar.gz
/Cython-0.13.tar.gz
/Cython-0.14.tar.gz
/Cython-0.14.1.tar.gz
/Cython-0.15.tar.gz
/Cython-0.15.1.tar.gz
/Cython-0.16.tar.gz
/Cython-0.17b3.tar.gz
/Cython-0.17.tar.gz
/Cython-0.17.1.tar.gz
/Cython-0.17.2.tar.gz
/Cython-0.17.3.tar.gz
/Cython-0.18.tar.gz
/Cython-0.19.tar.gz
/Cython-0.19.2.tar.gz
/Cython-0.20.tar.gz
/Cython-0.20.1.tar.gz
/Cython-0.21.tar.gz
/Cython-0.21.1.tar.gz
/Cython-0.22.tar.gz
/Cython-0.23.tar.gz
/Cython-0.23.4.tar.gz
/Cython-0.24.1.tar.gz
/Cython-0.25.2.tar.gz
/Cython-0.27.1.tar.gz
/Cython-0.27.3.tar.gz
/Cython-0.28.1.tar.gz
/Cython-0.28.4.tar.gz
/Cython-0.28.5.tar.gz
/Cython-*.tar.gz

View file

@ -1,375 +1,130 @@
%global srcname Cython
%global upname cython
%bcond tests 1
# https://github.com/cython/cython/issues/1982
%bcond_with tests
# This bcond allows to ship a non-compiled version
# Slower, but sometimes necessary with alpha Python versions
%bcond cython_compile 1
Name: Cython
Version: 0.28.5
Release: 1%{?dist}
Version: 3.2.4
Release: %autorelease
Summary: Language for writing Python extension modules
License: ASL 2.0
License: Apache-2.0
URL: http://www.cython.org
Source: https://github.com/cython/cython/archive/%{version}/%{srcname}-%{version}.tar.gz
Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: gcc
%if %{with tests}
BuildRequires: gcc-c++
BuildRequires: gdb
# optionally uses Python's test.support for some test
BuildRequires: python3-test
# the Python tests requirements are curated manually
# the test-requirements*.txt files mix in coverage and optional deps
BuildRequires: python3-numpy
%if %{undefined rhel}
# We don't want to pull in the following deps to RHEL just to run more tests.
# The tests use IPython.testing.globalipapp:
BuildRequires: python3-ipython+test
BuildRequires: python3-pythran
# The tests requiring jedi are optional and skipped when jedi is not installed.
# Note that the jedi tests were forcefully disabled a long time ago,
# in https://github.com/cython/cython/issues/1845 far, far away.
# We keep the dependency here so we don't forget to re-add it once the balance is restored.
BuildRequires: python3-jedi
%endif
%endif
%global _description \
This is a development version of Pyrex, a language\
for writing Python extension modules.
%if %{with cython_compile}
BuildRequires: gcc
%else
BuildArch: noarch
%endif
%global _description %{expand:
The Cython language makes writing C extensions for the Python language as easy
as Python itself. Cython is a source code translator based on Pyrex,
but supports more cutting edge functionality and optimizations.
The Cython language is a superset of the Python language (almost all Python
code is also valid Cython code), but Cython additionally supports optional
static typing to natively call C functions, operate with C++ classes and
declare fast C types on variables and class attributes.
This allows the compiler to generate very efficient C code from Cython code.
This makes Cython the ideal language for writing glue code for external C/C++
libraries, and for fast C modules that speed up the execution of Python code.}
%description %{_description}
%package -n python2-%{srcname}
%package -n python3-cython
Summary: %{summary}
%{?python_provide:%python_provide python2-%{srcname}}
Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%if %{with tests}
BuildRequires: python2-coverage
BuildRequires: python2-numpy
BuildRequires: python2-jedi
%endif
Provides: cython = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%py_provides python3-Cython
Obsoletes: python3-Cython < 3~~
%description -n python2-%{srcname} %{_description}
# A small templating library is bundled in Cython/Tempita
# Upstream version 0.5.2 is available from https://pypi.org/project/Tempita
# but the bundled copy is patched and reorganized.
# Upstream homepage is inaccessible.
Provides: bundled(python3dist(tempita))
Python 2 version.
%description -n python3-cython %{_description}
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
Conflicts: python2-%{srcname} < 0.28.4-2
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-coverage
BuildRequires: python3-numpy
BuildRequires: python3-jedi
%endif
%description -n python3-%{srcname} %{_description}
Python 3 version.
%prep
%autosetup -n %{upname}-%{version} -p1
%autosetup -n cython-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%py2_build
%py3_build
%pyproject_wheel %{!?with_cython_compile:-C--global-option=--no-cython-compile}
%install
%py2_install
rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests
rm %{buildroot}%{_bindir}/*
%py3_install
rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
%pyproject_install
%pyproject_save_files Cython cython pyximport
%if %{with tests}
%check
%{__python2} runtests.py -vv
%{__python3} runtests.py -vv
%if 0%{?__isa_bits} < 64
# On 32-bit platforms, with their inherent ~4GB/process address space
# limitation, at least test_many_expressions fails due to memory exhaustion
# unless we reduce the debuginfo level (RHBZ#2339845).
export CFLAGS="${CFLAGS} -g1"
%endif
%files -n python2-%{srcname}
%license LICENSE.txt
%doc *.txt Demos Doc Tools
%{python2_sitearch}/%{srcname}-*.egg-info/
%{python2_sitearch}/%{srcname}/
%{python2_sitearch}/pyximport/
%{python2_sitearch}/%{upname}.py*
# run.pstats_profile_test* fails on Python 3.12
# https://github.com/cython/cython/issues/5470
# run.numpy_parallel fails on i686
# https://github.com/cython/cython/issues/6200
# run.parallel fails on i686
# https://github.com/cython/cython/issues/2807
%{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \
--exclude 'run.pstats_profile_test*' \
%ifarch %{ix86}
--exclude run.parallel \
--exclude run.numpy_parallel \
%endif
%files -n python3-%{srcname}
%license LICENSE.txt
%doc *.txt Demos Doc Tools
%endif
%files -n python3-cython -f %{pyproject_files}
%doc README.rst CHANGES.rst USAGE.txt Demos Doc Tools
%{_bindir}/cython
%{_bindir}/cygdb
%{_bindir}/cythonize
%{python3_sitearch}/%{srcname}-*.egg-info/
%{python3_sitearch}/%{srcname}/
%{python3_sitearch}/pyximport/
%{python3_sitearch}/%{upname}.py
%{python3_sitearch}/__pycache__/%{upname}.*
%changelog
* Sat Aug 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.5-1
- Update to 0.28.5
* Sun Aug 05 2018 Miro Hrončok <mhroncok@redhat.com> - 0.28.4-3
- Only have one /usr/bin/cython
* Sun Jul 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.4-1
- Update to 0.28.4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.28.1-2
- Rebuilt for Python 3.7
* Mon Mar 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.1-1
- Update to 0.28.1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.3-1
- Update to 0.27.3
* Mon Oct 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.1-1
- Update to 0.27.1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed May 03 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.2-5
- Fix license
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 22 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.2-3
- Backport couple of patches
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.25.2-2
- Rebuild for Python 3.6
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.2-1
- Update to 0.25.2
* Sat Aug 27 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.1-8
- Fix provides (RHBZ #1370879)
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-7
- Run test suite
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-6
- Provide old names
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-5
- Use %%python_provide
* Tue Aug 23 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-4
- Update to 0.24.1
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.4-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> - 0.23.4-1
- Update to 0.23.4
- Ship cythonize3
- Modernize and cleanup spec
- Run tests, one python3 test fails with 3.5
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 0.23-2
- Rebuilt for Python3.5 rebuild
* Wed Aug 12 2015 Neal Becker <ndbecker2@gmail.com> - 0.23-2
- Update to 0.23
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Feb 13 2015 nbecker <ndbecker2@gmail.com> - 0.22-1
- oops, that should be 0.22 not 0.22.1
* Fri Feb 13 2015 nbecker <ndbecker2@gmail.com> - 0.22.1-1
- Update to 0.22
* Sat Nov 22 2014 nbecker <ndbecker2@gmail.com> - 0.21.1-1
- Update to 0.21.1 (br #1164297)
* Mon Sep 15 2014 nbecker <ndbecker2@gmail.com> - 0.21-5
- Add /bin/cythonize
* Mon Sep 15 2014 nbecker <ndbecker2@gmail.com> - 0.21-1
- Update to 0.21
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 28 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.20.1-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.20.1-2
- Rebuild for Python 3.4
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.20.1-1
- Update to 0.20.1
* Mon Jan 20 2014 nbecker <ndbecker2@gmail.com> - 0.20-1
- Update to 0.20
* Thu Oct 17 2013 nbecker <ndbecker2@gmail.com> - 0.19.2-2
- Fix BR 1019498
* Sun Oct 13 2013 nbecker <ndbecker2@gmail.com> - 0.19-2
- Update to 0.19.2
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Apr 19 2013 nbecker <ndbecker2@gmail.com> - 0.19-1
- Update to 0.19
* Tue Jan 29 2013 Neal Becker <ndbecker2@gmail.com> - 0.18-1
- update to 0.18
* Sat Dec 15 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.3-1
- Update to 0.17.3
* Wed Nov 21 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.2-1
- update to 0.17.2
* Wed Sep 26 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.1-1
- Update to 0.17.1
* Mon Sep 3 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-1
- Update to 0.17
* Tue Aug 28 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-3.b3
- Turn on check (temporarily)
- Add br numpy from check
* Tue Aug 28 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-1.b3
- Test 0.17b3
* Fri Aug 24 2012 David Malcolm <dmalcolm@redhat.com> - 0.16-3
- generalize egg-info logic to support RHEL (rhbz#851528)
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Apr 27 2012 Neal Becker <ndbecker2@gmail.com> - 0.16-1
- Update to 0.16
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 20 2011 Neal Becker <ndbecker2@gmail.com> - 0.15.1-1
- Update to 0.15.1
* Sat Aug 6 2011 Neal Becker <ndbecker2@gmail.com> - 0.15-1
- Update to 0.15
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Feb 5 2011 Neal Becker <ndbecker2@gmail.com> - 0.14.1-1
- Update to 0.14.1
* Wed Dec 15 2010 Neal Becker <ndbecker2@gmail.com> - 0.14-2
- Add cygdb
* Wed Dec 15 2010 Neal Becker <ndbecker2@gmail.com> - 0.14-1
- Update to 0.14
* Wed Aug 25 2010 Neal Becker <ndbecker2@gmail.com> - 0.13-1
- Update to 0.13
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.12.1-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Feb 5 2010 Neal Becker <ndbecker2@gmail.com> - 0.12.1-4
- Disable check for now as it fails on PPC
* Tue Feb 2 2010 Neal Becker <ndbecker2@gmail.com> - 0.12.1-2
- typo
- stupid rpm comments
* Mon Nov 23 2009 Neal Becker <ndbecker2@gmail.com> - 0.12-1.rc1
- Make that 0.12
* Mon Nov 23 2009 Neal Becker <ndbecker2@gmail.com> - 0.12.1-1.rc1
- Update to 0.12.1
* Sun Sep 27 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.3-1.rc1
- Update to 0.11.3rc1
- Update to 0.11.3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 20 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.2-1
- Update to 0.11.2
* Thu Apr 16 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.1-1
- Update to 0.11.1
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-2
- Missed cython.py*
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-1
- Update to 0.11
- Exclude numpy from tests so we don't have to BR it
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Dec 17 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.3-1
- Update to 0.10.3
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.2-2
- Rebuild for Python 2.6
* Mon Dec 1 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.2-1
- Update to 0.10.2
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.1-2
- Rebuild for Python 2.6
* Wed Nov 19 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.1-1
- Update to 0.10.1
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-3
- Fix typo
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-1
- Update to 0.10
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-2
- Install into python_sitearch
- Add %%check
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1
- Update to 0.9.8
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
- Remove remaining --record.
- Add more documentation (Doc and Tools).
- Add correct entry for egg-info (F9+).
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
- Change License to Python
- Install About.html
- Fix mixed spaces/tabs
- Don't use --record
* Tue Apr 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
- Update to 0.9.6.13.1
* Mon Apr 7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
- Update to 0.9.6.13
- Add docs
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
- Initial version
%autochangelog

491
changelog Normal file
View file

@ -0,0 +1,491 @@
* Tue Jan 23 2024 Lumír Balhar <lbalhar@redhat.com> - 3.0.8-1
- Update to 3.0.8 (rhbz#2255460)
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Nov 30 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.6-1
- Update to 3.0.6
- Fixes: rhbz#2251973
* Tue Oct 31 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-1
- Update to 3.0.5
* Wed Oct 18 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.4-1
- Update to 3.0.4
- Fixes: rhbz#2244865
* Fri Oct 13 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.3-1
- Update to 3.0.3
- Fixes: rhbz#2242429
* Fri Sep 01 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-1
- Update to 3.0.2
- Fixes: rhbz#2235027
* Mon Jul 17 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-1
- Update to 3.0.0
- Rename python3-Cython to python3-cython
* Thu Jul 13 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.0.0~rc2-1
- Update to 3.0.0rc2
- The emacs-cython-mode package is no longer part of this project
* Fri Jun 30 2023 Petr Viktorin <pviktori@redhat.com> - 0.29.35-2
- Compile-time Python 3.12 compatibility for CYTHON_TRACE support
* Sun Jun 18 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.35-1
- Update to 0.29.35
- Fixes: rhbz#2210064
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.29.34-3
- Bootstrap for Python 3.12
* Wed May 24 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.29.34-2
- Avoid python-jedi dependency in RHEL builds
- Stop shipping emacs-cython-mode in RHEL builds
* Mon Apr 03 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.34-1
- Update to 0.29.34
- Fixes: rhbz#1823181
- Fixes: rhbz#2172822
- Fixes: rhbz#2177838
* Fri Feb 17 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.33-1
- Update to 0.29.33
- Fix test failures with NumPy 1.24
- Update the RPM license tag to SPDX
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.32-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Dec 20 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.32-2
- emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters
- Fixes: rhbz#2155090
* Mon Aug 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.32-1
- Update to 0.29.32
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.30-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.29.30-3
- Rebuilt for Python 3.11
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.29.30-2
- Bootstrap for Python 3.11
* Mon May 30 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.29.30-1
- Update to 0.29.30
* Thu Mar 31 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.28-1
- Update to 0.29.28
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.26-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jan 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.26-1
- Update to 0.29.26
* Wed Jul 21 2021 Scott Talbert <swt@techie.net> - 0.29.24-1
- Update to 0.29.24 to fix FTBFS with Python 3.10
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.22-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.29.22-4
- Rebuilt for Python 3.10
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.29.22-3
- Bootstrap for Python 3.10
* Tue Mar 09 2021 Miro Hrončok <mhroncok@redhat.com> - 0.29.22-2
- Remove an obsoleted patch
- Remove old Obsoletes and Conflicts
- Update description
- Provide cython, python3-cython
* Thu Mar 04 2021 Miro Hrončok <mhroncok@redhat.com> - 0.29.22-1
- Update to 0.29.22
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.21-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.21-4
- Drop build dependency on coverage
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.21-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 22 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.29.21-2
- Re-enable tests.
* Wed Jul 22 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.29.21-1
- 0.29.21
* Wed May 27 2020 sguelton@redhat.com - 0.29.19-1
- Update to 0.29.19
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.17-4
- Rebuilt for Python 3.9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.17-3
- Bootstrap for Python 3.9
* Wed May 13 2020 Petr Viktorin <pviktori@redhat.com> - 0.29.17-2
- Backport classmethod fixes
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1788506
* Tue Apr 28 2020 Marcel Plch <mplch@redhat.com> - 0.29.17-1
- Update to 0.29.17
* Wed Mar 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.16-1
- Update to 0.29.16 (#1816785)
* Sat Feb 08 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.15-1
- Update to 0.29.15 (#1800158)
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 04 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.14-1
- Update to 0.29.14 (#1768034)
- Python 2 subpackage has been removed
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-5
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-4
- Rebuilt for Python 3.8
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-3
- Bootstrap for Python 3.8
* Thu Aug 01 2019 Gwyn Ciesla <gwync@protonmail.com> 0.29.13-2
- Rebuild with new numpy.
* Sat Jul 27 11:58:51 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.13-1
- Update to 0.29.13
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 22 2019 Petr Viktorin <pviktori@redhat.com> - 0.29.12-2
- Remove non-essential Python 2 test dependencies
* Thu Jul 11 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.12-1
- Update to 0.29.12 (#1727580)
* Mon Jul 01 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.11-1
- Update to 0.29.11 (#1725361)
* Sun Jun 02 2019 Charalampos Stratakis <cstratak@redhat.com> - 0.29.10-1
- Update to 0.29.10 (#1716146)
* Thu May 30 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.9-1
- Update to 0.29.9 (#1714365)
* Mon May 13 07:10:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.7-1
- Update to 0.29.7
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.6-1
- Update to 0.29.6 (#1683661)
* Fri Feb 08 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.5-1
- Update to 0.29.5 (#1667643)
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jan 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.3-1
- Update to 0.29.3 (#1667643)
* Tue Jan 08 2019 Alex Cobb <alex.cobb@smart.mit.edu> - 0.29.1-2
- Added emacs-cython-mode subpackage
* Mon Dec 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.1-1
- Update to 0.29.1
* Mon Dec 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29-1
- Update to 0.29
* Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29~rc2-1
- Update to 0.29~rc2
* Sat Aug 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.5-1
- Update to 0.28.5
* Sun Aug 05 2018 Miro Hrončok <mhroncok@redhat.com> - 0.28.4-3
- Only have one /usr/bin/cython
* Sun Jul 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.4-1
- Update to 0.28.4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.28.1-2
- Rebuilt for Python 3.7
* Mon Mar 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.1-1
- Update to 0.28.1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.3-1
- Update to 0.27.3
* Mon Oct 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.1-1
- Update to 0.27.1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed May 03 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.2-5
- Fix license
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 22 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.2-3
- Backport couple of patches
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.25.2-2
- Rebuild for Python 3.6
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.2-1
- Update to 0.25.2
* Sat Aug 27 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.1-8
- Fix provides (RHBZ #1370879)
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-7
- Run test suite
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-6
- Provide old names
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-5
- Use %%python_provide
* Tue Aug 23 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-4
- Update to 0.24.1
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.4-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> - 0.23.4-1
- Update to 0.23.4
- Ship cythonize3
- Modernize and cleanup spec
- Run tests, one python3 test fails with 3.5
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 0.23-2
- Rebuilt for Python3.5 rebuild
* Wed Aug 12 2015 Neal Becker <ndbecker2@gmail.com> - 0.23-2
- Update to 0.23
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Feb 13 2015 nbecker <ndbecker2@gmail.com> - 0.22-1
- oops, that should be 0.22 not 0.22.1
* Fri Feb 13 2015 nbecker <ndbecker2@gmail.com> - 0.22.1-1
- Update to 0.22
* Sat Nov 22 2014 nbecker <ndbecker2@gmail.com> - 0.21.1-1
- Update to 0.21.1 (br #1164297)
* Mon Sep 15 2014 nbecker <ndbecker2@gmail.com> - 0.21-5
- Add /bin/cythonize
* Mon Sep 15 2014 nbecker <ndbecker2@gmail.com> - 0.21-1
- Update to 0.21
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 28 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.20.1-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.20.1-2
- Rebuild for Python 3.4
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.20.1-1
- Update to 0.20.1
* Mon Jan 20 2014 nbecker <ndbecker2@gmail.com> - 0.20-1
- Update to 0.20
* Thu Oct 17 2013 nbecker <ndbecker2@gmail.com> - 0.19.2-2
- Fix BR 1019498
* Sun Oct 13 2013 nbecker <ndbecker2@gmail.com> - 0.19-2
- Update to 0.19.2
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Apr 19 2013 nbecker <ndbecker2@gmail.com> - 0.19-1
- Update to 0.19
* Tue Jan 29 2013 Neal Becker <ndbecker2@gmail.com> - 0.18-1
- update to 0.18
* Sat Dec 15 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.3-1
- Update to 0.17.3
* Wed Nov 21 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.2-1
- update to 0.17.2
* Wed Sep 26 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.1-1
- Update to 0.17.1
* Mon Sep 3 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-1
- Update to 0.17
* Tue Aug 28 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-3.b3
- Turn on check (temporarily)
- Add br numpy from check
* Tue Aug 28 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-1.b3
- Test 0.17b3
* Fri Aug 24 2012 David Malcolm <dmalcolm@redhat.com> - 0.16-3
- generalize egg-info logic to support RHEL (rhbz#851528)
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Apr 27 2012 Neal Becker <ndbecker2@gmail.com> - 0.16-1
- Update to 0.16
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 20 2011 Neal Becker <ndbecker2@gmail.com> - 0.15.1-1
- Update to 0.15.1
* Sat Aug 6 2011 Neal Becker <ndbecker2@gmail.com> - 0.15-1
- Update to 0.15
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Feb 5 2011 Neal Becker <ndbecker2@gmail.com> - 0.14.1-1
- Update to 0.14.1
* Wed Dec 15 2010 Neal Becker <ndbecker2@gmail.com> - 0.14-2
- Add cygdb
* Wed Dec 15 2010 Neal Becker <ndbecker2@gmail.com> - 0.14-1
- Update to 0.14
* Wed Aug 25 2010 Neal Becker <ndbecker2@gmail.com> - 0.13-1
- Update to 0.13
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.12.1-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Feb 5 2010 Neal Becker <ndbecker2@gmail.com> - 0.12.1-4
- Disable check for now as it fails on PPC
* Tue Feb 2 2010 Neal Becker <ndbecker2@gmail.com> - 0.12.1-2
- typo
- stupid rpm comments
* Mon Nov 23 2009 Neal Becker <ndbecker2@gmail.com> - 0.12-1.rc1
- Make that 0.12
* Mon Nov 23 2009 Neal Becker <ndbecker2@gmail.com> - 0.12.1-1.rc1
- Update to 0.12.1
* Sun Sep 27 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.3-1.rc1
- Update to 0.11.3rc1
- Update to 0.11.3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 20 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.2-1
- Update to 0.11.2
* Thu Apr 16 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.1-1
- Update to 0.11.1
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-2
- Missed cython.py*
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-1
- Update to 0.11
- Exclude numpy from tests so we don't have to BR it
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Dec 17 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.3-1
- Update to 0.10.3
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.2-2
- Rebuild for Python 2.6
* Mon Dec 1 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.2-1
- Update to 0.10.2
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.1-2
- Rebuild for Python 2.6
* Wed Nov 19 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.1-1
- Update to 0.10.1
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-3
- Fix typo
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-1
- Update to 0.10
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-2
- Install into python_sitearch
- Add %%check
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1
- Update to 0.9.8
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
- Remove remaining --record.
- Add more documentation (Doc and Tools).
- Add correct entry for egg-info (F9+).
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
- Change License to Python
- Install About.html
- Fix mixed spaces/tabs
- Don't use --record
* Tue Apr 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
- Update to 0.9.6.13.1
* Mon Apr 7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
- Update to 0.9.6.13
- Add docs
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
- Initial version

5
plan.fmf Normal file
View file

@ -0,0 +1,5 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (Cython-0.28.5.tar.gz) = d91f45e1ca39ca0a70fe5249c503021f4213b66fd6d057d0a0540d10de788f021205da4e68e25464bb48a5441ce160efec9566caf01aa3738bd8afe27eb51d37
SHA512 (Cython-3.2.4.tar.gz) = 5ab8e39739a79debbe89b2ff5b6d88e1b7aafd5ad34460f14f3fc2bd90c10bdc9d6aa5b5844a48e30402dde9790cb9abcba3dc2b4e8cde24c4eeee818a180099

View file

@ -0,0 +1 @@
print("Hello World")

9
tests/smoke/main.fmf Normal file
View file

@ -0,0 +1,9 @@
summary: smoke test
test: ./runtest.sh
framework: beakerlib
require:
- gcc
- python3-devel
- python3-cython
- python3-setuptools
duration: 10m

41
tests/smoke/runtest.sh Executable file
View file

@ -0,0 +1,41 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/Cython/Sanity/smoke
# Description: smoke test
# Author: Jan Kepler <jkepler@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2017 Red Hat, Inc.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
set -o pipefail
PYTHON="${PYTHON:-python3}"
rlJournalStart
rlPhaseStartTest
rlRun "$PYTHON setup.py build_ext --inplace" 0 "Building Cython file"
rlRun "$PYTHON -c 'import helloworld' | tee output.log" 0 "Running Cython file"
rlAssertGrep "Hello World" "output.log"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

6
tests/smoke/setup.py Normal file
View file

@ -0,0 +1,6 @@
from setuptools import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("helloworld.pyx")
)

20
tests/testsuite/main.fmf Normal file
View file

@ -0,0 +1,20 @@
summary: upstream testsuite
require:
- gcc
- gcc-c++
- gdb
- python3-devel
- python3-test
- python3-cython
- python3-setuptools
- python3-pip
- python3-numpy
- python3-pytest
- blas-devel # for pythran
# ipython and pythran installed from PyPI, not available in RHEL
# Add ipython again when upstream resolves https://github.com/cython/cython/issues/7075
test: |
pip install pythran==0.18.0 &&
cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) &&
python3 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*'
duration: 240m