summaryrefslogtreecommitdiff
path: root/lang/python/python-cffi/test.sh
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-10-03 22:26:02 +0800
committerJeffery To <jeffery.to@gmail.com>2023-10-03 22:35:59 +0800
commitdd5af62695e2c0fcf421adfffbea92f37d1a652d (patch)
tree40f1cc5496dce3ac662cfce713fb625ad8ea18de /lang/python/python-cffi/test.sh
parent9c2bf859005ada11c17835f74826b356cdb0fb7b (diff)
python-cffi: Update to 1.16.0
This includes a patch to unpin the version of setuptools required for build; the required version is newer than the version bundled with Python 3.11. This patch should not be necessary when Python 3.12 is available. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-cffi/test.sh')
-rw-r--r--lang/python/python-cffi/test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/python/python-cffi/test.sh b/lang/python/python-cffi/test.sh
new file mode 100644
index 000000000..48ea3adb7
--- /dev/null
+++ b/lang/python/python-cffi/test.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+[ "$1" = python3-cffi ] || exit 0
+
+python3 - << EOF
+from cffi import FFI
+ffibuilder = FFI()
+EOF