15
0
forked from pool/python-cffi

- 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/package/show/devel:languages:python/python-cffi?expand=0&rev=69
This commit is contained in:
2020-02-24 14:59:21 +00:00
committed by Git OBS Bridge
parent c4413bb1dd
commit 5620af39cd
4 changed files with 15 additions and 10 deletions

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