Compare commits

..

5 Commits

Author SHA1 Message Date
David Abdurachmanov a577aa1dac
Enable tests
Numpy is now rebuilt.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-06-06 19:46:11 +03:00
David Abdurachmanov d7c458425b
Disable tests
We need to disable test to build a new version. This allows us
to drop a cyclic dependency on numpy.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-06-06 07:52:29 +03:00
David Abdurachmanov b7a47465b7
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-06-06 07:50:53 +03:00
David Abdurachmanov 7f4dbaec44
Enable tests
Numpy has been rebuilt with Python 3.8.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-24 07:54:53 +02:00
David Abdurachmanov 315fef1920
Disable tests
We need to disable test to build a new version. This allows us
to drop a cyclic dependency on numpy.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-22 18:02:47 +02:00
4 changed files with 33 additions and 14 deletions

1
.gitignore vendored
View File

@ -44,4 +44,3 @@ Cython-0.12.1.tar.gz
/Cython-0.29.16.tar.gz
/Cython-0.29.17.tar.gz
/Cython-0.29.19.tar.gz
/Cython-0.29.21.tar.gz

View File

@ -4,9 +4,9 @@
%bcond_without tests
Name: Cython
Version: 0.29.21
Version: 0.29.19
%global upver %{version_no_tilde %{nil}}
Release: 4%{?dist}
Release: 1.1.riscv64%{?dist}
Summary: Language for writing Python extension modules
License: ASL 2.0
@ -43,6 +43,7 @@ Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-coverage
BuildRequires: python3-numpy
BuildRequires: python3-jedi
%endif
@ -117,17 +118,11 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir
%{_emacs_sitestartdir}/cython*.el*
%changelog
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.21-4
- Drop build dependency on coverage
* Sat Jun 06 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 0.29.19-1.1.riscv64
- Enable tests
* 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
* Sat Jun 06 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 0.29.19-1.0.riscv64
- Disable tests (break cyclic dependency on numpy)
* Wed May 27 2020 sguelton@redhat.com - 0.29.19-1
- Update to 0.29.19

View File

@ -25,6 +25,31 @@ diff -U3 -r cython-0.29.17.orig/Cython/Compiler/Nodes.py cython-0.29.17/Cython/C
if self.is_classmethod and env.lookup_here('classmethod'):
# classmethod() was overridden - not much we can do here ...
diff -U3 -r cython-0.29.17.orig/Cython/Utility/CythonFunction.c cython-0.29.17/Cython/Utility/CythonFunction.c
--- cython-0.29.17.orig/Cython/Utility/CythonFunction.c 2020-04-26 13:48:48.000000000 +0200
+++ cython-0.29.17/Cython/Utility/CythonFunction.c 2020-05-15 17:44:55.160172251 +0200
@@ -548,21 +548,6 @@
static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type)
{
- __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
-
- if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) {
- Py_INCREF(func);
- return func;
- }
-
- if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) {
- if (type == NULL)
- type = (PyObject *)(Py_TYPE(obj));
- return __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type)));
- }
-
- if (obj == Py_None)
- obj = NULL;
return __Pyx_PyMethod_New(func, obj, type);
}
diff -U3 -r cython-0.29.17.orig/Cython/Utility/ObjectHandling.c cython-0.29.17/Cython/Utility/ObjectHandling.c
--- cython-0.29.17.orig/Cython/Utility/ObjectHandling.c 2020-04-26 13:48:48.000000000 +0200
+++ cython-0.29.17/Cython/Utility/ObjectHandling.c 2020-05-15 17:44:55.160172251 +0200

View File

@ -1 +1 @@
SHA512 (Cython-0.29.21.tar.gz) = 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679
SHA512 (Cython-0.29.19.tar.gz) = 402f95f82099db0ae99ca2f849a9aef97558c9c6be62d3b3c66c346ecc94efbbe824ffc77f3cc6dd1d7054a2fb0332b10fe855ca1b054095f2df2ee297fd96a7