1 |
commit: 6722eadd1161180ea529da2ecc844d1533e89cbd |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 11:18:16 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 13:28:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6722eadd |
7 |
|
8 |
dev-ml/reactiveData: bump to 0.2.1 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
dev-ml/reactiveData/Manifest | 1 + |
13 |
dev-ml/reactiveData/reactiveData-0.2.1.ebuild | 46 +++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/reactiveData/Manifest b/dev-ml/reactiveData/Manifest |
17 |
index 4fd5561..534844d 100644 |
18 |
--- a/dev-ml/reactiveData/Manifest |
19 |
+++ b/dev-ml/reactiveData/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST reactiveData-0.2.1.tar.gz 21219 SHA256 6e936dd738f5b48470c0479f8e184bce69c3162ed1c08ae66541450bca079a71 SHA512 e4dad870fd1f669566394d9c2ab52665a3d27f6b2dd3807dba245d89ca90eda08b98b266fb0795bcfa5cb4ffed7a86aa719f8db5c316b0d920ee3c342493d029 WHIRLPOOL 0044466c7a7965985ee2a633af1bdb0e00ee84e97f3430cfd5c7523d7437c9e55cc51367014804a1540b28cc69c6286c532d4c458b537c1a90bdd7fd3e75f66a |
22 |
DIST reactiveData-0.2.tar.gz 21063 SHA256 d80d425d2746ffc7bd1b88e9528b8236a5ca13cca636662dee1a59e96d675367 SHA512 ed6c82b499f7a740dcf3c39825dd9a98b73ab32d15159e372253a2ca9c8406301cd569654d02f5be2530b491b101587bb628984b0b6f1ce1cc21aab010e518cf WHIRLPOOL 819a6d999d84056967c34c9e451655b86840d30bf88903eb1a55bff41dbf552c6bac9dfa61b2d1a6c76c7806f6f61e307b27f382fc66ee7f380c2da5a4f72817 |
23 |
|
24 |
diff --git a/dev-ml/reactiveData/reactiveData-0.2.1.ebuild b/dev-ml/reactiveData/reactiveData-0.2.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..59dac46 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/reactiveData/reactiveData-0.2.1.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI="5" |
35 |
+ |
36 |
+DESCRIPTION="Functional reactive programming with incremental changes in data structures" |
37 |
+HOMEPAGE="https://github.com/ocsigen/reactiveData" |
38 |
+ |
39 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
40 |
+ inherit git-r3 |
41 |
+ SRC_URI="" |
42 |
+ EGIT_REPO_URI="https://github.com/ocsigen/reactiveData" |
43 |
+ KEYWORDS="" |
44 |
+else |
45 |
+ SRC_URI="https://github.com/ocsigen/reactiveData/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~amd64" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="LGPL-3-with-linking-exception" |
50 |
+SLOT="0/${PV}" |
51 |
+IUSE="+ocamlopt" |
52 |
+ |
53 |
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?] |
54 |
+ dev-ml/react:=" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ dev-ml/findlib |
57 |
+ dev-ml/opam |
58 |
+ dev-ml/ocamlbuild |
59 |
+" |
60 |
+ |
61 |
+src_compile() { |
62 |
+ ocaml pkg/build.ml \ |
63 |
+ native=$(usex ocamlopt true false) \ |
64 |
+ native-dynlink=$(usex ocamlopt true false) \ |
65 |
+ || die |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ opam-installer \ |
70 |
+ --prefix="${ED}/usr" \ |
71 |
+ --libdir="${D}/$(ocamlc -where)" \ |
72 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
73 |
+ || die |
74 |
+ dodoc README.md |
75 |
+} |