1 |
commit: dc1b6e10978996452db9080b986ba482a5822bd7 |
2 |
Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Mar 30 00:22:09 2012 +0000 |
4 |
Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Mar 30 00:22:09 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=dc1b6e10 |
7 |
|
8 |
[dev-ml/zarith] version bump |
9 |
|
10 |
--- |
11 |
dev-ml/zarith/ChangeLog | 7 ++++ |
12 |
dev-ml/zarith/files/zarith-1.0-bytecode.patch | 31 -------------------- |
13 |
.../zarith/files/zarith-1.0-optnotrequired.patch | 22 -------------- |
14 |
.../{zarith-1.0.ebuild => zarith-1.1.ebuild} | 28 +++++------------- |
15 |
4 files changed, 15 insertions(+), 73 deletions(-) |
16 |
|
17 |
diff --git a/dev-ml/zarith/ChangeLog b/dev-ml/zarith/ChangeLog |
18 |
index 7c3b19f..94e7529 100644 |
19 |
--- a/dev-ml/zarith/ChangeLog |
20 |
+++ b/dev-ml/zarith/ChangeLog |
21 |
@@ -2,6 +2,13 @@ |
22 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+*zarith-1.1 (30 Mar 2012) |
26 |
+ |
27 |
+ 30 Mar 2012; Guillaume Horel <guillaume.horel@×××××.com> -zarith-1.0.ebuild, |
28 |
+ -files/zarith-1.0-bytecode.patch, -files/zarith-1.0-optnotrequired.patch, |
29 |
+ +zarith-1.1.ebuild: |
30 |
+ version bump |
31 |
+ |
32 |
*zarith-1.0 (02 Mar 2012) |
33 |
|
34 |
02 Mar 2012; Guillaume Horel <guillaume.horel@×××××.com> +zarith-1.0.ebuild, |
35 |
|
36 |
diff --git a/dev-ml/zarith/files/zarith-1.0-bytecode.patch b/dev-ml/zarith/files/zarith-1.0-bytecode.patch |
37 |
deleted file mode 100644 |
38 |
index 2de6772..0000000 |
39 |
--- a/dev-ml/zarith/files/zarith-1.0-bytecode.patch |
40 |
+++ /dev/null |
41 |
@@ -1,31 +0,0 @@ |
42 |
---- project.mak.orig 2011-11-14 18:18:05.702705850 -0500 |
43 |
-+++ project.mak 2011-11-14 18:18:58.142704311 -0500 |
44 |
-@@ -23,12 +23,14 @@ |
45 |
- |
46 |
- CMIOBJ = $(MLISRC:%.mli=%.cmi) |
47 |
- TOINSTALL = zarith.a zarith.cma zarith.cmxa zarith.cmxs libzarith.a $(MLISRC) $(CMIOBJ) |
48 |
-- |
49 |
-+TOINSTALLbyte = zarith.cma libzarith.a $(MLISRC) $(CMIOBJ) |
50 |
- |
51 |
- # build targets |
52 |
- ############### |
53 |
- |
54 |
--all: $(TOINSTALL) test |
55 |
-+all: $(TOINSTALL) |
56 |
-+ |
57 |
-+all-byte: $(TOINSTALLbyte) |
58 |
- |
59 |
- zarith.cma: $(MLSRC:%.ml=%.cmo) |
60 |
- $(OCAMLMKLIB) -o zarith $+ $(LIBS) |
61 |
-@@ -80,8 +82,9 @@ |
62 |
- |
63 |
- ifeq ($(INSTMETH),findlib) |
64 |
- install: |
65 |
-- $(OCAMLFIND) install -destdir $(INSTALLDIR) zarith META $(TOINSTALL) dllzarith.so |
66 |
-- |
67 |
-+ $(OCAMLFIND) install zarith META $(TOINSTALL) dllzarith.so |
68 |
-+install-byte: |
69 |
-+ $(OCAMLFIND) install zarith META $(TOINSTALLbyte) dllzarith.so |
70 |
- uninstall: |
71 |
- $(OCAMLFIND) remove -destdir $(INSTALLDIR) zarith |
72 |
- endif |
73 |
|
74 |
diff --git a/dev-ml/zarith/files/zarith-1.0-optnotrequired.patch b/dev-ml/zarith/files/zarith-1.0-optnotrequired.patch |
75 |
deleted file mode 100644 |
76 |
index 2bd1b4d..0000000 |
77 |
--- a/dev-ml/zarith/files/zarith-1.0-optnotrequired.patch |
78 |
+++ /dev/null |
79 |
@@ -1,22 +0,0 @@ |
80 |
-From: Mehdi Dogguy <mehdi@××××××.org> |
81 |
-Date: Sun, 2 Oct 2011 11:53:22 +0200 |
82 |
-Subject: [PATCH] ocamlopt is not really required |
83 |
- |
84 |
---- |
85 |
- configure | 2 +- |
86 |
- 1 files changed, 1 insertions(+), 1 deletions(-) |
87 |
- |
88 |
-diff --git a/configure b/configure |
89 |
-index 5bd80d3..980aedd 100755 |
90 |
---- a/configure |
91 |
-+++ b/configure |
92 |
-@@ -186,7 +186,7 @@ checkcc() |
93 |
- |
94 |
- searchbinreq $ocaml |
95 |
- searchbinreq $ocamlc |
96 |
--searchbinreq $ocamlopt |
97 |
-+searchbin $ocamlopt |
98 |
- searchbinreq $ocamldep |
99 |
- searchbinreq $ocamlmklib |
100 |
- searchbinreq $ocamldoc |
101 |
--- |
102 |
|
103 |
diff --git a/dev-ml/zarith/zarith-1.0.ebuild b/dev-ml/zarith/zarith-1.1.ebuild |
104 |
similarity index 65% |
105 |
rename from dev-ml/zarith/zarith-1.0.ebuild |
106 |
rename to dev-ml/zarith/zarith-1.1.ebuild |
107 |
index 49a1b3c..8d208be 100644 |
108 |
--- a/dev-ml/zarith/zarith-1.0.ebuild |
109 |
+++ b/dev-ml/zarith/zarith-1.1.ebuild |
110 |
@@ -8,37 +8,29 @@ inherit findlib eutils |
111 |
|
112 |
DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers" |
113 |
HOMEPAGE="https://forge.ocamlcore.org/projects/zarith/" |
114 |
-SRC_URI="http://forge.ocamlcore.org/frs/download.php/683/${P}.tgz" |
115 |
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/835/${P}.tgz" |
116 |
|
117 |
LICENSE="LGPL-2.1-linking-exception" |
118 |
SLOT="0" |
119 |
KEYWORDS="~amd64 ~x86" |
120 |
-IUSE="debug doc mpir +ocamlopt" |
121 |
+IUSE="doc mpir +ocamlopt" |
122 |
|
123 |
RDEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?] |
124 |
!mpir? ( dev-libs/gmp ) |
125 |
mpir? ( sci-libs/mpir )" |
126 |
|
127 |
-DEPEND="${DEPEND} |
128 |
+DEPEND="${RDEPEND} |
129 |
dev-lang/perl" |
130 |
|
131 |
-src_prepare() { |
132 |
- epatch "${FILESDIR}/${P}-optnotrequired.patch" |
133 |
- epatch "${FILESDIR}/${P}-bytecode.patch" |
134 |
-} |
135 |
- |
136 |
src_configure() { |
137 |
- MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}" |
138 |
+ MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir \ |
139 |
+ ${D}/usr/$(get_libdir)/ocaml" |
140 |
use mpir && MY_OPTS="${MY_OPTS} -mpir" |
141 |
./configure ${MY_OPTS}|| die |
142 |
} |
143 |
|
144 |
src_compile() { |
145 |
- if use ocamlopt; then |
146 |
- emake all |
147 |
- else |
148 |
- emake all-byte |
149 |
- fi |
150 |
+ emake all |
151 |
use doc && emake doc |
152 |
} |
153 |
|
154 |
@@ -52,11 +44,7 @@ src_test() { |
155 |
|
156 |
src_install() { |
157 |
findlib_src_preinst |
158 |
- if use ocamlopt; then |
159 |
- emake install |
160 |
- else |
161 |
- emake install-byte |
162 |
- fi |
163 |
- dodoc README |
164 |
+ emake install |
165 |
+ dodoc Changes README |
166 |
use doc && dodoc -r html/ |
167 |
} |