setools: bump to 4.6.0
authorAlexandru Ardelean <redacted>
Fri, 3 Apr 2026 12:29:11 +0000 (15:29 +0300)
committerAlexandru Ardelean <redacted>
Sat, 4 Apr 2026 03:36:47 +0000 (06:36 +0300)
commit46c35610db75cfa7529ca89b3bf10579edf7c342
treef06ed1a642ab4ed689f1d494a67821914e9e51dd
parent8c583808c71ef9bebf87efc1769274b0a5240d0e
setools: bump to 4.6.0

Fix dependency with python3-pkg-resources (it got removed).
And add test.sh

- Bump from 4.5.1 to 4.6.0
- Drop python3-pkg-resources dependency: setools uses
  'from importlib import resources as pkg_resources' which is stdlib,
  not the external pkg_resources package
- Update 010-no-gui.patch: pyproject.toml now manages script-files and
  package-data (was setup.py in 4.5.1); rewrite patch to target it
- Update 030-remove-host-paths.patch: lib_dirs now uses list[str] type
  hint; fix hunk header line numbers to match new upstream layout
- Add test.sh: verify core query classes (SELinuxPolicy, BoolQuery,
  TypeQuery, RoleQuery, UserQuery) are accessible

Signed-off-by: Alexandru Ardelean <redacted>
utils/setools/Makefile
utils/setools/patches/010-no-gui.patch
utils/setools/patches/030-remove-host-paths.patch
utils/setools/test.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT