1 |
commit: 0824a358659678c52ada46bc9bb44af359586a96 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 06:22:37 2016 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 24 06:23:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0824a358 |
7 |
|
8 |
app-crypt/gpgme: even simpler distutils usage |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-crypt/gpgme/gpgme-1.7.0.ebuild | 13 +++---------- |
13 |
1 file changed, 3 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/app-crypt/gpgme/gpgme-1.7.0.ebuild b/app-crypt/gpgme/gpgme-1.7.0.ebuild |
16 |
index 7ea80be..2ffe8f3 100644 |
17 |
--- a/app-crypt/gpgme/gpgme-1.7.0.ebuild |
18 |
+++ b/app-crypt/gpgme/gpgme-1.7.0.ebuild |
19 |
@@ -45,7 +45,7 @@ PATCHES=( |
20 |
do_python() { |
21 |
if use python; then |
22 |
pushd lang/python > /dev/null || die |
23 |
- binary_builddir="${S}" distutils-r1_src_${EBUILD_PHASE} |
24 |
+ distutils-r1_src_${EBUILD_PHASE} |
25 |
popd > /dev/null |
26 |
fi |
27 |
} |
28 |
@@ -71,20 +71,13 @@ src_configure() { |
29 |
--enable-languages="${languages[*]}" \ |
30 |
$(use_enable static-libs static) |
31 |
|
32 |
- python_conf() { |
33 |
- econf --enable-languages= |
34 |
- } |
35 |
- use python && python_foreach_impl python_conf |
36 |
+ use python && make -C lang/python prepare |
37 |
+ |
38 |
do_python |
39 |
} |
40 |
|
41 |
src_compile() { |
42 |
default |
43 |
- |
44 |
- python_build() { |
45 |
- make -C lang/python prepare |
46 |
- } |
47 |
- use python && python_foreach_impl python_build |
48 |
do_python |
49 |
} |