diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-30 12:20:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-30 12:20:44 +0100 |
commit | 1304264d6db97d622783a1a3d6c9933e029e1dae (patch) | |
tree | 512ab2680ded6dd9cc21ecccd66c20b8da7edc20 /sys-apps | |
parent | 1ca20f8af778c6f7b860fc093f779d63804e83a2 (diff) | |
parent | b68bd360ef1c8817650e105f9c8187b82e428765 (diff) |
Merge branch 'edge' into next
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/apparmor-utils/apparmor-utils-2.13.4-r10.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.13.4-r10.ebuild b/sys-apps/apparmor-utils/apparmor-utils-2.13.4-r10.ebuild index 47a94917..f753e04d 100644 --- a/sys-apps/apparmor-utils/apparmor-utils-2.13.4-r10.ebuild +++ b/sys-apps/apparmor-utils/apparmor-utils-2.13.4-r10.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python{3_6,3_7} ) inherit eapi7-ver perl-module python-r1 toolchain-funcs MY_PV="$(ver_cut 1-2)" @@ -28,7 +28,7 @@ DEPEND="${COMMON_DEPEND} sys-devel/gettext " RDEPEND="${COMMON_DEPEND} - ~sys-libs/libapparmor-${PV}[perl,python] + ~sys-libs/libapparmor-${PV}[perl,python,${PYTHON_USEDEP}] ~sys-apps/apparmor-${PV} dev-perl/Locale-gettext dev-perl/RPC-XML @@ -70,8 +70,9 @@ src_install() { VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install install_python() { + local -x PYTHONDONTWRITEBYTECODE= "${PYTHON}" "${S}"/utils/python-tools-setup.py install --prefix=/usr \ - --root="${D}" --version="${PV}" + --root="${D}" --optimize 2 } python_foreach_impl install_python |