1 |
commit: 7733f5e801c0548c3f2f66d229d1817f91cf49f1 |
2 |
Author: Yichao Zhou <broken.zhoug <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Nov 20 03:58:47 2013 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 20 03:58:47 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7733f5e8 |
7 |
|
8 |
sci-mathematics/z3-4.3.1: using python-r1, remove useless dependency |
9 |
|
10 |
--- |
11 |
sci-mathematics/z3/z3-4.3.1.ebuild | 18 +++++++++--------- |
12 |
1 file changed, 9 insertions(+), 9 deletions(-) |
13 |
|
14 |
diff --git a/sci-mathematics/z3/z3-4.3.1.ebuild b/sci-mathematics/z3/z3-4.3.1.ebuild |
15 |
index c334709..7b5b287 100644 |
16 |
--- a/sci-mathematics/z3/z3-4.3.1.ebuild |
17 |
+++ b/sci-mathematics/z3/z3-4.3.1.ebuild |
18 |
@@ -8,24 +8,25 @@ DESCRIPTION="An efficient theorem prover" |
19 |
HOMEPAGE="http://z3.codeplex.com/" |
20 |
EGIT_REPO_URI="https://git01.codeplex.com/z3" |
21 |
EGIT_COMMIT="v${PV}" |
22 |
-KEYWORDS="amd64 x86" |
23 |
+KEYWORDS="~amd64 ~x86" |
24 |
|
25 |
SLOT="0" |
26 |
IUSE="" |
27 |
-DEPEND=" |
28 |
- app-arch/unzip |
29 |
- sys-devel/autoconf |
30 |
- >=net-misc/curl-7.33" |
31 |
-RDEPEND="${DEPEND}" |
32 |
+# A new curl is needed because codeplex has a bug and early version of libcurl |
33 |
+# will cause a failed git clone. |
34 |
+DEPEND=">=net-misc/curl-7.33" |
35 |
+RDEPEND="" |
36 |
|
37 |
S="${WORKDIR}/z3" |
38 |
|
39 |
src_prepare() { |
40 |
- eautoconf |
41 |
+ eautoreconf |
42 |
+ python-r1_src_prepare |
43 |
} |
44 |
|
45 |
src_configure() { |
46 |
- econf --host="" --with-python="$(which python2)" |
47 |
+ python_export_best |
48 |
+ econf --host="" --with-python="${PYTHON}" |
49 |
python2 scripts/mk_make.py |
50 |
} |
51 |
|
52 |
@@ -39,6 +40,5 @@ src_install() { |
53 |
dolib.so build/*.so |
54 |
dobin build/z3 |
55 |
|
56 |
- sed -i '1i#!/usr/bin/python2' src/api/python/*.py || die "sed failed" |
57 |
python_foreach_impl python_domodule src/api/python/*.py |
58 |
} |