<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python-semanage/test.sh, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-04-25T04:48:58Z</updated>
<entry>
<title>python-semanage: fix cross-compilation, add test.sh</title>
<updated>2026-04-25T04:48:58Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-04-03T10:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=acfafdaa03ed725a244c4b77093bd8cfa7d66e2b'/>
<id>urn:sha1:acfafdaa03ed725a244c4b77093bd8cfa7d66e2b</id>
<content type='text'>
Add HOST_PYTHON3_PIP_VARS and --no-build-isolation to MAKE_VARS.
Without --no-build-isolation, pip creates an isolated build environment
which fails during cross-compilation because _sysconfigdata is missing.
Aligns with python-selinux which already has this fix.

The libsemanage pywrap uses the host Python's EXT_SUFFIX to name the
C extension, so we will use the PYCEXT env-var to correct that.

Add basic test.sh to verify the semanage Python bindings load correctly
in environments without SELinux kernel support.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
</feed>
