diff options
Diffstat (limited to 'sys-apps/apparmor-utils')
-rwxr-xr-x[-rw-r--r--] | sys-apps/apparmor-utils/Manifest | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | sys-apps/apparmor-utils/apparmor-utils-2.13.4-r10.ebuild | 7 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/apparmor-utils/Manifest b/sys-apps/apparmor-utils/Manifest index ba3818a6..ba3818a6 100644..100755 --- a/sys-apps/apparmor-utils/Manifest +++ b/sys-apps/apparmor-utils/Manifest 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..100755 --- 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 |