summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-cffi: upgrade 1.16.0 -> 1.17.0Tim Orling2024-08-151-38/+0
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-cffi/cffi/compare/v1.17.0...v1.16.0 https://cffi.readthedocs.io/en/latest/whatsnew.html#v1-17 v1.17 * 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. (From OE-Core rev: 375e59bfb4d610f89dd04c93f912d5847a5fac4f) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: enable ptestRoss Burton2024-07-261-1/+21
| | | | | | | (From OE-Core rev: 5beb30cdf389490aa00f63a1c377680deb747bbc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: generalise RDEPENDSRoss Burton2024-07-261-1/+1
| | | | | | | | | There's no need to mark these RDEPENDS as target-only. (From OE-Core rev: 8b2332c355d603027e965e9a6a5045f9eb1f024c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: use python_setuptools_build_meta build classRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: efabc00ca509b6e2f154248e7de7f6ae8babf412) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Drop ${PYTHON_PN}Richard Purdie2024-02-201-5/+5
| | | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. The definition in python3-dir.bbclass is left for now for other layers. (From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: upgrade 1.15.1 -> 1.16.0Wang Mingyu2023-10-191-0/+18
Changelog: =========== -Add support for Python 3.12. -Drop support for end-of-life Python versions (2.7, 3.6, 3.7). -Add support for PEP517 builds; setuptools is now a required build dependency. -Declare python_requires metadata for Python 3.8+. This allows unsupported Pythons to continue using previously released sdists and wheels. -Move project source under src/; a more standard layout that also enables CI to more easily catch packaging errors. (From OE-Core rev: 6107d1553905ab43875f84aafc09fbb21b7da6d9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>