82 Commits

Author SHA256 Message Date
Dominique Leuenberger
16029b3723 Accepting request 906722 from devel:languages:python
- update to 1.14.6:
  * Revert "grovel: detect :float and :double in the :auto type"

OBS-URL: https://build.opensuse.org/request/show/906722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=36
2021-07-21 17:05:26 +00:00
f72f78178c - update to 1.14.6:
* Revert "grovel: detect :float and :double in the :auto type"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=81
2021-07-16 19:47:29 +00:00
Dominique Leuenberger
7a0d0e6d16 Accepting request 871527 from devel:languages:python
- update to 1.14.5:
  * Source fix for old gcc versions

OBS-URL: https://build.opensuse.org/request/show/871527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=35
2021-02-16 21:33:57 +00:00
ccfa3a1bcb - update to 1.14.5:
* Source fix for old gcc versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=79
2021-02-12 20:15:24 +00:00
Dominique Leuenberger
ce5aa36b5c Accepting request 856979 from devel:languages:python
- update to 1.14.4:
  * no upstream changelog provided

OBS-URL: https://build.opensuse.org/request/show/856979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=34
2020-12-23 13:18:55 +00:00
8a27de44e4 - update to 1.14.4:
* no upstream changelog provided

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=77
2020-12-19 10:53:46 +00:00
Dominique Leuenberger
91d610b04a Accepting request 838259 from devel:languages:python
- update to 1.14.3:
  * no upstream changelog provided

OBS-URL: https://build.opensuse.org/request/show/838259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=33
2020-10-29 08:46:10 +00:00
e70ee5ff18 - update to 1.14.3:
* no upstream changelog provided

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=75
2020-09-28 11:39:21 +00:00
Dominique Leuenberger
43e1d596b5 Accepting request 828166 from devel:languages:python
- update to 1.14.2
 * CPython 3 on Windows: we again try to compile with Py_LIMITED_API by default

OBS-URL: https://build.opensuse.org/request/show/828166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=32
2020-08-25 10:38:49 +00:00
b0ac7a1285 - update to 1.14.2
* CPython 3 on Windows: we again try to compile with Py_LIMITED_API by default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=73
2020-08-20 12:14:15 +00:00
Dominique Leuenberger
bf449840dd Accepting request 825281 from devel:languages:python
- update to 1.14.1:
  * CFFI source code is now hosted on Heptapod.
  * Improved support for typedef int my_array_t[...]; with an explicit dot-dot-dot in API mode (issue #453)
  * Windows (32 and 64 bits): multiple fixes for ABI-mode call to functions that return a structure.
  * Experimental support for MacOS 11 on aarch64.
  * and a few other minor changes and bug fixes.

OBS-URL: https://build.opensuse.org/request/show/825281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=31
2020-08-13 08:12:20 +00:00
efd9de8edf - update to 1.14.1:
* CFFI source code is now hosted on Heptapod.
  * Improved support for typedef int my_array_t[...]; with an explicit dot-dot-dot in API mode (issue #453)
  * Windows (32 and 64 bits): multiple fixes for ABI-mode call to functions that return a structure.
  * Experimental support for MacOS 11 on aarch64.
  * and a few other minor changes and bug fixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=71
2020-08-10 08:15:41 +00:00
Dominique Leuenberger
8aa45123ea 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
2020-02-26 14:01:21 +00:00
5620af39cd - 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
2020-02-24 14:59:21 +00:00
Dominique Leuenberger
90e2083099 Accepting request 749648 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/749648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=29
2019-11-22 09:26:09 +00:00
Todd R
c4413bb1dd Accepting request 749647 from home:TheBlackCat:branches:devel:languages:python
Update to 1.13.2

OBS-URL: https://build.opensuse.org/request/show/749647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=67
2019-11-19 14:50:55 +00:00
Dominique Leuenberger
0b989e8962 Accepting request 738589 from devel:languages:python
- Update to 1.13.0:
  * No changelog provided upstream

OBS-URL: https://build.opensuse.org/request/show/738589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=28
2019-11-04 16:05:57 +00:00
Tomáš Chvátal
eec0f391f1 - Update to 1.13.0:
* No changelog provided upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=65
2019-10-15 10:55:03 +00:00
Dominique Leuenberger
9bbd9d0217 Accepting request 700339 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/700339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=27
2019-05-05 19:19:35 +00:00
Tomáš Chvátal
5c4df23a24 Accepting request 699759 from home:TheBlackCat:branches:devel:languages:python
- Update to 1.12.3
  * Fix for nested struct types that end in a var-sized array (#405).
  * Add support for using U and L characters at the end of integer constants in ffi.cdef() (thanks Guillaume).
  * More 3.8 fixes.

OBS-URL: https://build.opensuse.org/request/show/699759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=63
2019-05-03 08:32:37 +00:00
Dominique Leuenberger
70ddc1805b Accepting request 682590 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=26
2019-03-12 08:44:57 +00:00
Tomáš Chvátal
9495981e5a Accepting request 682487 from home:jayvdb:py-check-failures
- Remove test suite exception which was fixed by 7a76a38153*.patch
- Add doc/*/*.rst to %doc

OBS-URL: https://build.opensuse.org/request/show/682487
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=61
2019-03-07 16:39:07 +00:00
Dominique Leuenberger
97877dc493 Accepting request 680758 from devel:languages:python
- update to 1.12.3
- drop patches: 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch
                7a76a381534012af4790e815140d1538510b7d93.patch
                e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch
 * Direct support for pkg-config.
 * ffi.from_buffer() takes a new optional first argument that gives the array
    type of the result. It also takes an optional keyword argument require_writable
    to refuse read-only Python buffers.
 * ffi.new(), ffi.gc() or ffi.from_buffer() cdata objects can now be released
    at known times, either by using the with keyword or by calling the new ffi.release().
 * Accept an expression like ffi.new("int[4]", p) if p is itself another cdata int[4].
 * CPython 2.x: ffi.dlopen() failed with non-ascii file names on Posix
 * CPython: if a thread is started from C and then runs Python code
    (with callbacks or with the embedding solution), then previous versions of cffi
    would contain possible crashes and/or memory leaks.
 * Support for ffi.cdef(..., pack=N) where N is a power of two.

OBS-URL: https://build.opensuse.org/request/show/680758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=25
2019-03-04 08:11:58 +00:00
3bca1778c0 - update to 1.12.3
- drop patches: 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch
                7a76a381534012af4790e815140d1538510b7d93.patch
                e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch
 * Direct support for pkg-config.
 * ffi.from_buffer() takes a new optional first argument that gives the array
    type of the result. It also takes an optional keyword argument require_writable
    to refuse read-only Python buffers.
 * ffi.new(), ffi.gc() or ffi.from_buffer() cdata objects can now be released
    at known times, either by using the with keyword or by calling the new ffi.release().
 * Accept an expression like ffi.new("int[4]", p) if p is itself another cdata int[4].
 * CPython 2.x: ffi.dlopen() failed with non-ascii file names on Posix
 * CPython: if a thread is started from C and then runs Python code
    (with callbacks or with the embedding solution), then previous versions of cffi
    would contain possible crashes and/or memory leaks.
 * Support for ffi.cdef(..., pack=N) where N is a power of two.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=59
2019-03-02 10:48:08 +00:00
Dominique Leuenberger
891b6e2475 Accepting request 645316 from devel:languages:python
- Add 7a76a381534012af4790e815140d1538510b7d93.patch to fix
  bsc#1111657 (we need use to proper void returning function not
  to corrupt memory in tests). (forwarded request 645313 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/645316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=24
2018-11-08 08:42:02 +00:00
0c76d6df2a Accepting request 645313 from home:mcepl:work
- Add 7a76a381534012af4790e815140d1538510b7d93.patch to fix
  bsc#1111657 (we need use to proper void returning function not
  to corrupt memory in tests).

OBS-URL: https://build.opensuse.org/request/show/645313
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=57
2018-10-29 15:31:03 +00:00
Dominique Leuenberger
2067bc3cda Accepting request 642726 from devel:languages:python
- Fix calling of py.test executor.

OBS-URL: https://build.opensuse.org/request/show/642726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=23
2018-10-25 06:09:14 +00:00
e2182e7d2a Fix *.changes file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=55
2018-10-17 16:53:51 +00:00
5b720e63b6 Fix py.test calling
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=54
2018-10-17 16:45:01 +00:00
b8ddb5dcdb Test again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=53
2018-10-17 15:28:45 +00:00
2135b5caf7 Testing upstream bug# 390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=52
2018-10-17 15:11:53 +00:00
Dominique Leuenberger
5060e23178 Accepting request 636994 from devel:languages:python
- Add 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch as
  a workardond against
  https://bitbucket.org/cffi/cffi/issues/378/ (possible bug in
  GCC, see https://bugzilla.redhat.com/1552724).
- Add e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch from
  upstream to remove some warnings.
  https://bitbucket.org/cffi/cffi/issues/384/

OBS-URL: https://build.opensuse.org/request/show/636994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=22
2018-09-26 12:53:50 +00:00
85c14cfd92 - Add 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch as
a workardond against
  https://bitbucket.org/cffi/cffi/issues/378/ (possible bug in
  GCC, see https://bugzilla.redhat.com/1552724).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=50
2018-09-21 05:26:36 +00:00
78a65200ea - Remove ignore-tests.patch -- testing what will happen
- Add e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch from
  upstream to remove some warnings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=49
2018-09-19 18:44:24 +00:00
492f71faeb - Switch off falling tests with new patch
ignore-tests.patch instead of -k parameter for py.test.
  https://bitbucket.org/cffi/cffi/issues/384/

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=48
2018-09-18 16:00:36 +00:00
Dominique Leuenberger
26df968826 Accepting request 582163 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/582163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=21
2018-03-05 12:35:18 +00:00
Tomáš Chvátal
ba986255d1 Accepting request 582117 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/582117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=46
2018-03-03 06:21:59 +00:00
Dominique Leuenberger
1e61e379fa Accepting request 578275 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/578275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=20
2018-02-25 10:35:31 +00:00
Tomáš Chvátal
b3cb3e6812 Accepting request 578239 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/578239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=44
2018-02-20 08:20:54 +00:00
Dominique Leuenberger
09058d2a56 Accepting request 567429 from devel:languages:python
- Add patch cffi-loader.patch to fix bsc#1070737
- Sort out with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/567429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=19
2018-01-20 10:20:12 +00:00
Tomáš Chvátal
60ed614164 - Add patch cffi-loader.patch to fix bsc#1070737
- Sort out with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=42
2018-01-18 13:44:02 +00:00
Tomáš Chvátal
57d6534f59 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=41 2018-01-18 13:30:58 +00:00
Dominique Leuenberger
9bd87525f3 Accepting request 540607 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/540607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=18
2017-11-12 17:00:48 +00:00
Jan Matejek
2fe88e35b4 Accepting request 538866 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/538866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=39
2017-11-06 15:39:18 +00:00
Dominique Leuenberger
77a3285120 Accepting request 531228 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/531228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=17
2017-10-10 09:34:16 +00:00
Jan Matejek
4ecbbe5c86 Accepting request 531217 from home:seanmarlow:branches:devel:languages:python
- Update pytest in spec to add c directory tests in addition to 
  testing directory.
- Omit test_init_once_multithread tests as they rely on multiple
  threads finishing in a given time. Returns sporadic pass/fail
  within build.
- Update to 1.11.1.

OBS-URL: https://build.opensuse.org/request/show/531217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=37
2017-10-04 13:07:40 +00:00
Dominique Leuenberger
155189a65f Accepting request 507344 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=16
2017-07-04 09:56:44 +00:00
546c5651a6 Accepting request 507126 from home:tbechtold:branches:devel:languages:python
- update to 1.10.0:
 * Issue #295: use calloc() directly instead of PyObject_Malloc()+memset()
   to handle ffi.new() with a default allocator. Speeds up ffi.new(large-array)
   where most of the time you never touch most of the array.
  * Some OS/X build fixes (“only with Xcode but without CLT”).
  * Improve a couple of error messages: when getting mismatched versions of
    cffi and its backend; and when calling functions which cannot be called with
    libffi because an argument is a struct that is “too complicated” (and not
    a struct pointer, which always works).
  * Add support for some unusual compilers (non-msvc, non-gcc, non-icc, non-clang)
  * Implemented the remaining cases for ffi.from_buffer. Now all
    buffer/memoryview objects can be passed. The one remaining check is against
    passing unicode strings in Python 2. (They support the buffer interface, but
    that gives the raw bytes behind the UTF16/UCS4 storage, which is most of the
    times not what you expect. In Python 3 this has been fixed and the unicode
    strings don’t support the memoryview interface any more.)
  * The C type _Bool or bool now converts to a Python boolean when reading,
    instead of the content of the byte as an integer. The potential
    incompatibility here is what occurs if the byte contains a value different
    from 0 and 1. Previously, it would just return it; with this change, CFFI
    raises an exception in this case. But this case means “undefined behavior”
    in C; if you really have to interface with a library relying on this,
    don’t use bool in the CFFI side. Also, it is still valid to use a byte
    string as initializer for a bool[], but now it must only contain \x00 or
    \x01. As an aside, ffi.string() no longer works on bool[] (but it never made
    much sense, as this function stops at the first zero).
  * ffi.buffer is now the name of cffi’s buffer type, and ffi.buffer() works
    like before but is the constructor of that type.
  * ffi.addressof(lib, "name") now works also in in-line mode, not only in
    out-of-line mode. This is useful for taking the address of global variables.

OBS-URL: https://build.opensuse.org/request/show/507126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=35
2017-06-30 12:06:28 +00:00
Dominique Leuenberger
52e136363c Accepting request 482892 from devel:languages:python
- do not generate HTML documentation for packages that are indirect
  dependencies of Sphinx
  (see docs at https://cffi.readthedocs.org/ )
- update to 1.9.1
- singlespec

OBS-URL: https://build.opensuse.org/request/show/482892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=15
2017-04-19 16:03:54 +00:00
Jan Matejek
d3eb64c85d - do not generate HTML documentation for packages that are indirect
dependencies of Sphinx
  (see docs at https://cffi.readthedocs.org/ )

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=33
2017-03-27 13:52:00 +00:00