commit:     5fe773ac4a5240bed18ff7c4c12937a5746c1806
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Thu Oct 16 17:44:21 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 19:03:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe773ac

dev-util/pwntools: disable py3.10

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/44207
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/pwntools/pwntools-9999.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-util/pwntools/pwntools-9999.ebuild 
b/dev-util/pwntools/pwntools-9999.ebuild
index 327169c86789..77feeb15da36 100644
--- a/dev-util/pwntools/pwntools-9999.ebuild
+++ b/dev-util/pwntools/pwntools-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 DISTUTILS_USE_PEP517=setuptools
-inherit bash-completion-r1 distutils-r1
+inherit distutils-r1 shell-completion
 
 DESCRIPTION="CTF framework and exploit development library"
 HOMEPAGE="https://github.com/Gallopsled/pwntools";
@@ -29,6 +29,7 @@ RDEPEND="
        >=dev-libs/capstone-3.0.5[python,${PYTHON_USEDEP}]
        >=dev-util/ROPgadget-5.3[${PYTHON_USEDEP}]
        >=dev-util/unicorn-1.0.2[python,${PYTHON_USEDEP}]
+       !=dev-util/unicorn-2.1.4-r0[python,${PYTHON_USEDEP}]
        dev-python/colored-traceback[${PYTHON_USEDEP}]
        >=dev-python/intervaltree-3.0[${PYTHON_USEDEP}]
        >=dev-python/mako-1.0.0[${PYTHON_USEDEP}]
@@ -61,9 +62,7 @@ src_install() {
 
        newbashcomp extra/bash_completion.d/pwn pwn
        newbashcomp extra/bash_completion.d/shellcraft shellcraft
-
-       insinto /usr/share/zsh/site-functions
-       doins extra/zsh_completion/_pwn
+       newzshcomp extra/zsh_completion/_pwn _pwn
 
        # Disable automatic update check (bug 915496).
        insinto /etc

Reply via email to