commit:     fa222c2fbaa23497265f119a0f912042c3316639
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 00:52:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 00:52:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa222c2f

sys-apps/apparmor-utils: pass version to python-tools-setup.py

Avoids setuptools warning.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/apparmor-utils/apparmor-utils-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/apparmor-utils/apparmor-utils-3.0.3.ebuild 
b/sys-apps/apparmor-utils/apparmor-utils-3.0.3.ebuild
index 1127f241e487..26e8c7c92a7a 100644
--- a/sys-apps/apparmor-utils/apparmor-utils-3.0.3.ebuild
+++ b/sys-apps/apparmor-utils/apparmor-utils-3.0.3.ebuild
@@ -73,7 +73,7 @@ src_install() {
        install_python() {
                local -x PYTHONDONTWRITEBYTECODE=
                "${PYTHON}" "${S}"/utils/python-tools-setup.py install 
--prefix=/usr \
-                       --root="${D}" --optimize 2
+                       --root="${D}" --optimize 2 --version=${PV}
        }
 
        python_foreach_impl install_python

Reply via email to