diff options
| author | Krzesimir Nowak <knowak@microsoft.com> | 2026-02-17 15:29:23 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2026-02-23 10:00:21 +0000 |
| commit | 35682fb9cc368eedd2568009b1b6a2ad81c997be (patch) | |
| tree | 7269d944d8878a737e19d692a917d39c565ea803 /dev-python/python-tests/python-tests-3.11.14.ebuild | |
| parent | c9a1848833b0be6b9afe56df15817cf4b75a414a (diff) | |
| download | gentoo-35682fb9cc368eedd2568009b1b6a2ad81c997be.tar.gz gentoo-35682fb9cc368eedd2568009b1b6a2ad81c997be.tar.bz2 gentoo-35682fb9cc368eedd2568009b1b6a2ad81c997be.zip | |
sys-libs/libselinux: Make python dependency optional
Typically, the distutils-r1.eclass pulls in dev-lang/python
unconditionally unless we set DISTUTILS_OPTIONAL variable to non-null
value. Let's do that, since the package already has a python USE flag
for gating the python dependency.
Specifying DISTUTILS_OPTIONAL requires manually invoking distutils
eclass' phase functions. So let's make sure that they are invoked only
if USE=python is enabled.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/87
Merges: https://codeberg.org/gentoo/gentoo/pulls/87
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/python-tests/python-tests-3.11.14.ebuild')
0 files changed, 0 insertions, 0 deletions
