| |
@@ -1,13 +1,12 @@
|
| |
%global srcname Cython
|
| |
%global upname cython
|
| |
|
| |
- # https://github.com/cython/cython/issues/1982
|
| |
- %bcond_with tests
|
| |
+ %bcond_without tests
|
| |
|
| |
Name: Cython
|
| |
- %global upver 0.29.1
|
| |
- Version: 0.29.1
|
| |
- Release: 2%{?dist}
|
| |
+ %global upver 0.29.3
|
| |
+ Version: %{upver}
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Language for writing Python extension modules
|
| |
|
| |
License: ASL 2.0
|
| |
@@ -99,8 +98,17 @@
|
| |
|
| |
%if %{with tests}
|
| |
%check
|
| |
- %{__python2} runtests.py -vv
|
| |
- %{__python3} runtests.py -vv
|
| |
+ for python in %{__python2} %{__python3}; do
|
| |
+
|
| |
+ $python runtests.py -vv --no-pyregr %{?_smp_mflags} \
|
| |
+ %ifarch s390x ppc64
|
| |
+ --exclude numpy_subarray # https://github.com/cython/cython/issues/1982
|
| |
+ %endif
|
| |
+ %ifarch %{ix86}
|
| |
+ --exclude run.parallel # https://github.com/cython/cython/issues/2807
|
| |
+ %endif
|
| |
+
|
| |
+ done
|
| |
%endif
|
| |
|
| |
%files -n python2-%{srcname}
|
| |
@@ -129,6 +137,9 @@
|
| |
%{_emacs_sitestartdir}/cython*.el*
|
| |
|
| |
%changelog
|
| |
+ * 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
|
| |
|
| |
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:
%{?_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 test with
--cython-only
on i686.Also, no arm builder of any of my scratch build finished yet, so no idea if those will pass.
If arm tests run longer than bearable, we might want to limit them there to a bare minimum.