commit: 47987420afc7ac3ded5efd77fd109b39569734d9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 22 13:24:53 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Sep 22 14:05:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47987420
dev-python/apsw: Pass built_ext options via setup.cfg Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/apsw/apsw-3.39.2.1-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/apsw/apsw-3.39.2.1-r1.ebuild b/dev-python/apsw/apsw-3.39.2.1-r1.ebuild index a8edc30d8529..2e0e6c51a7da 100644 --- a/dev-python/apsw/apsw-3.39.2.1-r1.ebuild +++ b/dev-python/apsw/apsw-3.39.2.1-r1.ebuild @@ -30,10 +30,11 @@ RDEPEND=" ${DEPEND} " -python_compile() { - # Needed for e.g. bug #851741 - # Enable column-metadata to match dev-db/sqlite - distutils-r1_python_compile --enable=load_extension,column_metadata +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension,column_metadata + EOF } python_test() {