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