diff options
Diffstat (limited to 'dev-python/opcodes')
| -rw-r--r-- | dev-python/opcodes/opcodes-0.3.14-r3.ebuild (renamed from dev-python/opcodes/opcodes-0.3.14-r2.ebuild) | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/opcodes/opcodes-0.3.14-r2.ebuild b/dev-python/opcodes/opcodes-0.3.14-r3.ebuild index 54104ce11230..306490714de9 100644 --- a/dev-python/opcodes/opcodes-0.3.14-r2.ebuild +++ b/dev-python/opcodes/opcodes-0.3.14-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,7 +26,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pkg-resources[${PYTHON_USEDEP}] " DOCS=( readme.rst ) @@ -34,4 +34,12 @@ DOCS=( readme.rst ) distutils_enable_sphinx sphinx \ dev-python/sphinx-bootstrap-theme +EPYTEST_PLUGINS=() distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # actually needs pkg-resources + sed -i -e '/"setuptools"/d' setup.py || die +} |
