python-selinux: fix cross-compilation, add test.sh
authorAlexandru Ardelean <redacted>
Thu, 2 Apr 2026 16:40:43 +0000 (19:40 +0300)
committerAlexandru Ardelean <redacted>
Sat, 25 Apr 2026 04:48:58 +0000 (07:48 +0300)
commite2e727e6869182f4b74a0ee139f48a42c8020d95
tree0fd726e8aa66aff6091c7394a95282ab40b4d405
parentf64dd10a4112ff37d3bd8f890e0e55baeed8dee2
python-selinux: fix cross-compilation, add test.sh

Add --no-build-isolation to PYTHON_SETUP_ARGS. Without it, pip creates
an isolated build environment which fails during cross-compilation
because _sysconfigdata is missing for the target arch.

Add test.sh with basic import and API sanity checks.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-selinux/Makefile
lang/python/python-selinux/test.sh [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT