Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 767feb5d4f | |||
| d2ddaf7cfa | |||
| 9147c9f0b0 | |||
| b61b47e37f | |||
| 8062b8e1a3 | |||
| 66022bf2e9 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0
|
|
||||||
size 512873
|
|
||||||
BIN
cffi-1.17.1.tar.gz
LFS
Normal file
BIN
cffi-1.17.1.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,42 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 06:36:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.17.1:
|
||||||
|
* Fix failing distutils.msvc9compiler imports under Windows (#118).
|
||||||
|
* ffibuilder.emit_python_code() and ffibuiler.emit_c_code()
|
||||||
|
accept file-like objects (#115).
|
||||||
|
* ffiplatform calls are bypassed by ffibuilder.emit_python_code()
|
||||||
|
and ffibuilder.emit_c_code() (#81).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 31 12:39:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.17.0:
|
||||||
|
* Add support for Python 3.13.
|
||||||
|
* In API mode, when you get a function from a C library by writing
|
||||||
|
`fn = lib.myfunc`, you get an object of a special type for
|
||||||
|
performance reasons, instead of a `<cdata 'C-function-type'>`.
|
||||||
|
Before version 1.17 you could only call such objects.
|
||||||
|
You could write `ffi.addressof(lib, "myfunc")` in order to get
|
||||||
|
a real `<cdata>` object, based on the idea that in these cases
|
||||||
|
in C you'd usually write `&myfunc` instead of `myfunc`. In
|
||||||
|
version 1.17, the special object `lib.myfunc` can now be passed
|
||||||
|
in many places where CFFI expects
|
||||||
|
a regular `<cdata>` object. For example, you can now pass
|
||||||
|
it as a callback to a C function call, or write it inside a C
|
||||||
|
structure field of the correct pointer-to-function type, or use
|
||||||
|
`ffi.cast()` or `ffi.typeof()` on it.
|
||||||
|
- drop py313-compat.patch, py313-use-format-unraisable.patch,
|
||||||
|
py313-use-hashpointer.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 30 21:26:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add py313-compat.patch
|
||||||
|
py313-use-format-unraisable.patch
|
||||||
|
py313-use-hashpointer.patch: add upstream patches for py3.13
|
||||||
|
support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 29 09:46:12 UTC 2024 - Dan Čermák <dcermak@suse.com>
|
Thu Feb 29 09:46:12 UTC 2024 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cffi
|
# spec file for package python-cffi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.16.0
|
Version: 1.17.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Foreign Function Interface for Python calling C code
|
Summary: Foreign Function Interface for Python calling C code
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|||||||
Reference in New Issue
Block a user