forked from pool/python-Cython
Accepting request 906304 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/906304 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=60
This commit is contained in:
commit
d2b5b14043
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a0d31452f0245daacb14c979c77e093eb1a546c760816b5eed0047686baad8e
|
||||
size 2073944
|
3
Cython-0.29.24.tar.gz
Normal file
3
Cython-0.29.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cdf04d07c3600860e8c2ebaad4e8f52ac3feb212453c1764a49ac08c827e8443
|
||||
size 2076225
|
@ -1,33 +0,0 @@
|
||||
From 452627ce99f3fa180f85838b8208a3cb3fcf0b71 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Behnel <stefan_ml@behnel.de>
|
||||
Date: Sun, 27 Jan 2019 16:43:41 +0100
|
||||
Subject: [PATCH] Docs: switch from outdated "pngmath" sphinx package to
|
||||
"imgmath", and use "svg" as output format. See #2818.
|
||||
|
||||
---
|
||||
docs/conf.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/docs/conf.py b/docs/conf.py
|
||||
index 10662e28ca..c20a57574e 100644
|
||||
--- a/docs/conf.py
|
||||
+++ b/docs/conf.py
|
||||
@@ -41,7 +41,7 @@
|
||||
extensions = [
|
||||
'ipython_console_highlighting',
|
||||
'cython_highlighting',
|
||||
- 'sphinx.ext.pngmath',
|
||||
+ 'sphinx.ext.imgmath',
|
||||
'sphinx.ext.todo',
|
||||
'sphinx.ext.intersphinx',
|
||||
'sphinx.ext.autodoc'
|
||||
@@ -132,6 +132,9 @@
|
||||
# If true, keep warnings as "system message" paragraphs in the built documents.
|
||||
#keep_warnings = False
|
||||
|
||||
+# The output image format. The default is 'png'. It should be either 'png' or 'svg'.
|
||||
+imgmath_image_format = "svg"
|
||||
+
|
||||
|
||||
# -- Options for HTML output ---------------------------------------------------
|
||||
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 14 08:28:08 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 0.29.24:
|
||||
* Inline functions in pxd files that used memory views could lead to invalid
|
||||
C code if the module that imported from them does not use memory views.
|
||||
* Several declarations in ``libcpp.string`` were added and corrected.
|
||||
* Pickling unbound Cython compiled methods failed.
|
||||
* The tracing code was adapted to work with CPython 3.10.
|
||||
* The optimised ``in`` operator failed on unicode strings in Py3.9 and later
|
||||
that were constructed from an external ``wchar_t`` source.
|
||||
Also, related C compiler warnings about deprecated C-API usage were resolved.
|
||||
* Some compiler crashes were resolved.
|
||||
* An incorrect warning about 'unused' generator expressions was removed.
|
||||
* The attributes ``gen.gi_frame`` and ``coro.cr_frame`` of Cython compiled
|
||||
generators and coroutines now return an actual frame object for introspection,
|
||||
instead of ``None``.
|
||||
- Drop cython_use_imgmath.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 21:19:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -19,15 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-Cython
|
||||
Version: 0.29.23
|
||||
Version: 0.29.24
|
||||
Release: 0
|
||||
Summary: The Cython compiler for writing C extensions for the Python language
|
||||
License: Apache-2.0
|
||||
URL: http://www.cython.org
|
||||
Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz
|
||||
Source1: python-Cython-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM -- cython_use_imgmath.patch -- Don't use removed pngmath Sphinx extension -- gh#cython/cython#2818
|
||||
Patch0: cython_use_imgmath.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
@ -55,7 +53,6 @@ allows the compiler to generate very efficient C code from Cython code.
|
||||
|
||||
%prep
|
||||
%setup -q -n Cython-%{version}
|
||||
%patch0 -p1
|
||||
# Fix non-executable scripts
|
||||
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user