Accepting request 778788 from devel:languages:python

- Update to 1.14.0
 * ffi.dlopen() can now be called with a handle (as a void *) to an already-opened C library.
 * fixed a stack overflow issue for calls like lib.myfunc([large list]).
 * fixed a memory leak inside ffi.getwinerror() on CPython 3.x.

OBS-URL: https://build.opensuse.org/request/show/778788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2020-02-26 14:01:21 +00:00 committed by Git OBS Bridge
commit 8aa45123ea
4 changed files with 15 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346
size 460243

3
cffi-1.14.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6
size 463065

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Feb 24 14:58:25 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- Update to 1.14.0
* ffi.dlopen() can now be called with a handle (as a void *) to an already-opened C library.
* fixed a stack overflow issue for calls like lib.myfunc([large list]).
* fixed a memory leak inside ffi.getwinerror() on CPython 3.x.
-------------------------------------------------------------------
Mon Nov 18 20:21:04 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-cffi
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,11 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cffi
Version: 1.13.2
Version: 1.14.0
Release: 0
Summary: Foreign Function Interface for Python calling C code
License: MIT
Group: Development/Languages/Python
URL: http://cffi.readthedocs.org
URL: https://cffi.readthedocs.org
Source0: https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz
Source1: python-cffi-rpmlintrc
BuildRequires: %{python_module devel}
@ -54,9 +53,7 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
py.test-%$python_bin_suffix -v -W ignore::UserWarning c/ testing/
}
%pytest_arch -W ignore::UserWarning c/ testing/
%files %{python_files}
%license LICENSE