commit:     35f27c16dbb066b2572491a4ba300e0e289c2f30
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  6 17:16:50 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  6 17:17:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f27c16

app-containers/docker-compose: fix DeprecatedInsinto

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-containers/docker-compose/docker-compose-1.29.2-r8.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-containers/docker-compose/docker-compose-1.29.2-r8.ebuild 
b/app-containers/docker-compose/docker-compose-1.29.2-r8.ebuild
index 1fe1984f9699..76321d632036 100644
--- a/app-containers/docker-compose/docker-compose-1.29.2-r8.ebuild
+++ b/app-containers/docker-compose/docker-compose-1.29.2-r8.ebuild
@@ -4,9 +4,9 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 
-inherit bash-completion-r1 distutils-r1
+inherit distutils-r1 shell-completion
 
 MY_PV=${PV/_/-}
 DESCRIPTION="Multi-container orchestration for Docker"
@@ -72,10 +72,8 @@ python_test() {
 }
 
 python_install_all() {
-       newbashcomp contrib/completion/bash/docker-compose ${PN}
-
-       insinto /usr/share/zsh/site-functions
-       doins contrib/completion/zsh/*
+       dobashcomp contrib/completion/bash/${PN}
+       dozshcomp contrib/completion/zsh/_${PN}
 
        distutils-r1_python_install_all
 }

Reply via email to