diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-09-25 14:48:58 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:00:51 +0100 |
| commit | c6990c75dcafd87f8411bf7a6b1dd982e41cef14 (patch) | |
| tree | d058fa51985330e1d5c15296f2bce6e93bd3ff3c /meta/recipes-devtools/python/python3-cffi_1.17.1.bb | |
| parent | 8f5aa5c9ebd3b18bc38830e625d085f3c2958ef8 (diff) | |
| download | poky-c6990c75dcafd87f8411bf7a6b1dd982e41cef14.tar.gz | |
python3-cffi: upgrade 1.17.0 -> 1.17.1
Changelog:
===========
- Fix failing distutils.msvc9compiler imports under Windows
- ffibuilder.emit_python_code() and ffibuiler.emit_c_code() accept file-like objects
- ffiplatform calls are bypassed by ffibuilder.emit_python_code() and ffibuilder.emit_c_code()
(From OE-Core rev: f3bbcfcb8f1db84a2d5e51172d776970222c5e88)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cffi_1.17.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cffi_1.17.1.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cffi_1.17.1.bb b/meta/recipes-devtools/python/python3-cffi_1.17.1.bb new file mode 100644 index 0000000000..99979a73e8 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cffi_1.17.1.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | SUMMARY = "Foreign Function Interface for Python calling C code" | ||
| 2 | HOMEPAGE = "http://cffi.readthedocs.org/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf" | ||
| 5 | DEPENDS += "libffi python3-pycparser" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824" | ||
| 8 | |||
| 9 | SRC_URI += "file://run-ptest" | ||
| 10 | |||
| 11 | inherit pypi python_setuptools_build_meta ptest | ||
| 12 | |||
| 13 | do_install_ptest() { | ||
| 14 | cp -r ${S}/testing ${D}${PTEST_PATH} | ||
| 15 | # These two files from the source tree are needed by the tests | ||
| 16 | install -D -m644 ${S}/src/c/parse_c_type.c ${D}${PTEST_PATH}/src/c/parse_c_type.c | ||
| 17 | install -D -m644 ${S}/src/cffi/parse_c_type.h ${D}${PTEST_PATH}/src/cffi/parse_c_type.h | ||
| 18 | } | ||
| 19 | |||
| 20 | RDEPENDS:${PN} = " \ | ||
| 21 | python3-ctypes \ | ||
| 22 | python3-io \ | ||
| 23 | python3-pycparser \ | ||
| 24 | python3-setuptools \ | ||
| 25 | python3-shell \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | python3-pytest \ | ||
| 30 | python3-unittest-automake-output \ | ||
| 31 | python3-dev \ | ||
| 32 | gcc-symlinks \ | ||
| 33 | g++-symlinks \ | ||
| 34 | " | ||
| 35 | |||
| 36 | INSANE_SKIP:${PN}-ptest = "dev-deps" | ||
| 37 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
