commit: bd5608b95a8b57f9c3eca99fec9a326d4b81952f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jun 9 07:29:14 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 9 07:29:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5608b9
dev-python/yara-python: fix option passing Closes: https://bugs.gentoo.org/850619 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{yara-python-4.2.0-r1.ebuild => yara-python-4.2.0-r2.ebuild} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild similarity index 88% rename from dev-python/yara-python/yara-python-4.2.0-r1.ebuild rename to dev-python/yara-python/yara-python-4.2.0-r2.ebuild index 5f05588894f8..c812ebe88b86 100644 --- a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild +++ b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild @@ -21,8 +21,11 @@ DEPEND="${RDEPEND}" distutils_enable_tests unittest -python_compile() { - distutils-r1_python_compile --dynamic-linking +python_configure_all() { + cat >> setup.cfg <<-EOF + [build_ext] + dynamic-linking = True + EOF } python_test() {
