96 Commits

Author SHA256 Message Date
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
Jan Matejek
4eb897a99c - split off -doc subpackage, to prevent build cycle with Sphinx
- separate cffi-doc subpackage to break build loop leading to Sphinx

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=32
2017-03-27 11:51:35 +00:00
Jan Matejek
3fb594641e Accepting request 480703 from devel:languages:python:singlespec
singlespec + version update

OBS-URL: https://build.opensuse.org/request/show/480703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=31
2017-03-16 18:03:17 +00:00
Dominique Leuenberger
1d06b49b21 Accepting request 398818 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/398818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=14
2016-05-31 10:11:58 +00:00
Thomas Bechtold
68f8dd10a1 Accepting request 398809 from home:badshah400:branches:openSUSE:Factory:Rings:2-TestDVD
Add upstream patch to actually fix problem with gcc >= 6; drop previous patch used to workaround issue.

OBS-URL: https://build.opensuse.org/request/show/398809
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=29
2016-05-30 07:26:32 +00:00
Jan Matejek
01151b11a5 Accepting request 398372 from home:matejcik:branches:devel:languages:python
- disable "negative left shift" warning in test suite to prevent
  failures with gcc6, until upstream fixes the undefined code
  in question (boo#981848, cffi-1.5.2-wnoerror.patch)

OBS-URL: https://build.opensuse.org/request/show/398372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=28
2016-05-27 13:52:37 +00:00
Thomas Bechtold
3edd6bed23 Accepting request 398109 from home:badshah400:branches:openSUSE:Factory:Rings:2-TestDVD
Update to v1.6.0; update fixes building against gcc >= 6

OBS-URL: https://build.opensuse.org/request/show/398109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=27
2016-05-27 09:26:18 +00:00
Dominique Leuenberger
1179e41ef2 Accepting request 396746 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/396746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=13
2016-05-23 14:38:03 +00:00
9a5dc9f790 Accepting request 396298 from home:matejcik:branches:devel:languages:python
- update to 1.5.2
  * support for cffi-based embedding
  * more robustness for shutdown logic

OBS-URL: https://build.opensuse.org/request/show/396298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=25
2016-05-19 09:44:00 +00:00
Dominique Leuenberger
da1172e6eb Accepting request 352988 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/352988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=12
2016-01-15 09:39:04 +00:00
Todd R
6a1a88ab62 Accepting request 352713 from home:stroeder:branches:devel:languages:python
update to upstream release 1.4.2 (needed for new python-cryptography 1.2.1)

OBS-URL: https://build.opensuse.org/request/show/352713
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=23
2016-01-11 08:06:05 +00:00
Stephan Kulow
1c3765c28b Accepting request 331672 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/331672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=11
2015-09-24 05:16:07 +00:00
Denisart Benjamin
0011c2876b Accepting request 331671 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/331671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=21
2015-09-17 11:31:05 +00:00
Stephan Kulow
eaecf00935 Accepting request 327584 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/327584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=10
2015-08-29 18:02:17 +00:00
67b053d1e3 Accepting request 327558 from Cloud:OpenStack:Master
- update to version 1.1.0 (fate#318838):

OBS-URL: https://build.opensuse.org/request/show/327558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=19
2015-08-27 14:38:33 +00:00
Dominique Leuenberger
ddf56f58d6 Accepting request 309865 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/309865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=9
2015-06-12 18:26:37 +00:00
Denisart Benjamin
3d13a415a1 Accepting request 309689 from home:benoit_monin:branches:devel:languages:python
- update to version 1.1.0
- add python-cffi-rpmlintrc: cffi specifically installs C headers in site-packages
- add new test dependency gcc-c++
- skip the tests on SLE11 since they fail on i586

OBS-URL: https://build.opensuse.org/request/show/309689
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=17
2015-06-02 17:47:58 +00:00
Stephan Kulow
1439a44c09 Accepting request 298718 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=8
2015-04-25 07:52:37 +00:00
Michal Čihař
f619bc917c Accepting request 298714 from home:Nijel:branches:devel:languages:python
- Update to 0.9.2
  * No upstream changelog
    See https://bitbucket.org/cffi/cffi/commits/all for a list of
    commits

OBS-URL: https://build.opensuse.org/request/show/298714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=15
2015-04-23 06:53:38 +00:00
Stephan Kulow
9bec7a1771 Accepting request 246511 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/246511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=6
2014-08-27 05:46:49 +00:00
Todd R
a9b03d166b Accepting request 246510 from home:TheBlackCat:branches:devel:languages:python
Update to 0.8.6

OBS-URL: https://build.opensuse.org/request/show/246510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=13
2014-08-26 12:50:37 +00:00
Stephan Kulow
43b767ce66 Accepting request 235633 from devel:languages:python
- update to 0.8.2
  * minor bugfixes
- remove cffi-pytest-integration.patch as it is no longer necessary (forwarded request 234745 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/235633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=5
2014-06-24 20:45:49 +00:00
Tomáš Chvátal
6dc6094763 Accepting request 234745 from home:matejcik:branches:devel:languages:python
- update to 0.8.2
  * minor bugfixes
- remove cffi-pytest-integration.patch as it is no longer necessary

OBS-URL: https://build.opensuse.org/request/show/234745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=11
2014-05-28 08:38:49 +00:00
Sascha Peilicke
15e4c2a51e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=10 2014-04-02 08:15:41 +00:00
Sascha Peilicke
627dbee2e8 - Require libffi43-devel on SLE_11_SP2 instead of using pkg-config to fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=9
2014-03-31 14:19:07 +00:00
Denisart Benjamin
18c7692885 Accepting request 223704 from home:mvyskocil:branches:devel:languages:python
- update to 0.8.1
  * fixes on Python 3 on OS/X, and some FreeBSD fixes (thanks Tobias)
- added a note wrt disabled tests
- add cffi-pytest-integration.patch: allowinf call pytest from setup.py

- update to 0.8
  * integrated support for C99 variable-sized structures
  * multi-thread safety
  * ffi.getwinerror()
  * a number of small fixes

OBS-URL: https://build.opensuse.org/request/show/223704
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=8
2014-02-24 15:15:49 +00:00
Tomáš Chvátal
7b6c9e9797 Accepting request 204531 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=4
2013-10-25 09:12:17 +00:00
Sascha Peilicke
c16ecb5be2 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=6
2013-10-24 10:59:46 +00:00
Stephan Kulow
6602b6f86b Accepting request 201444 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/201444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=3
2013-10-01 06:26:27 +00:00
Denisart Benjamin
e112c7832a Accepting request 201429 from home:mvyskocil
- use pkgconfig(libffi) to get the most recent ffi

OBS-URL: https://build.opensuse.org/request/show/201429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=4
2013-09-30 08:50:15 +00:00
Stephan Kulow
a6f1f8812f Accepting request 196675 from devel:languages:python
superseeding

OBS-URL: https://build.opensuse.org/request/show/196675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=1
2013-09-03 20:02:47 +00:00
Todd R
2bb73276b1 Accepting request 195613 from home:mvyskocil
- Update to 0.7.2
  * add implicit bool
  * standard names are handled as defaults in cdef declarations
  * enum types follow GCC rules and not just int
  * supports simple slices x[start:stop]
  * enums are handled like ints
  * new ffi.new_handle(python_object)
  * and various bugfixes

OBS-URL: https://build.opensuse.org/request/show/195613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=2
2013-08-22 14:39:36 +00:00
Sascha Peilicke
5621aee855 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=1
2013-02-10 10:02:31 +00:00