mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 10:17:17 +04:00
Refresh sha256 from PyPI sdist. Drop the macOS cross-compile patch;
2.1.1 already carries the sysconfig.get_platform() fix upstream.
Add test-version.sh: 2.1.1 ships the cffi-gen-src console tool, a
subcommand CLI with no version flag, so the generic per-executable
version probe fails the package ("No executables in the package
provided version"). test-version.sh skips that probe, and test.sh now
asserts cffi.__version__ against the packaged version.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
17 lines
396 B
Bash
Executable File
17 lines
396 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
# cffi 2.x ships the cffi-gen-src console tool, a subcommand CLI with no version
|
|
# flag, so the generic per-executable version check cannot read the version from
|
|
# it. The version is asserted by the import check in test.sh instead.
|
|
case "$PKG_NAME" in
|
|
python3-cffi | python3-cffi-src)
|
|
exit 0
|
|
;;
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|