1 |
commit: 356ff41bb9b806651578b175bd527db99c404d7c |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 11:33:09 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 1 12:24:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356ff41b |
7 |
|
8 |
dev-ml/easy-format: Bump to 1.2.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/easy-format/Manifest | 1 + |
13 |
dev-ml/easy-format/easy-format-1.2.0.ebuild | 33 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/easy-format/Manifest b/dev-ml/easy-format/Manifest |
17 |
index 67578a6d17b..185bcbcf8d9 100644 |
18 |
--- a/dev-ml/easy-format/Manifest |
19 |
+++ b/dev-ml/easy-format/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST easy-format-1.0.2.tar.gz 13679 SHA256 f1e763a3b5962b87698786f5e1e17e46311106dc76fd2e2ef822cd8df37d941f SHA512 bb12c13b33a725f4a15616672f7a268398b50e6f054575203f1d26c49aa04978564233fa9fb88eec8b701d7fecbbaeda264422e8c31a60a52d0d8e64bfc5898f WHIRLPOOL 648472cd06aae2b6003e4e827dfd801e7f103d08458e0a6639d57ab938195b30821a74db28f3a14e44521108d1ea323a6e084c589a64279f76f05e028da4922f |
22 |
+DIST easy-format-1.2.0.tar.gz 15632 SHA256 a288fabcdc19c2262e76cf93e0fd987fe1b21493edd13309522fbae405329ffd SHA512 375849b1ecd2e37f4b32d1ee12197a95856b17a47e3eb06a7e7320a82234c241156c3c8bfb18ce17bbe73b93d31d755675478860505470aa7ab866277a99603f WHIRLPOOL 0060758c100c5183978223f69286b9193f557d08ec1a4fa1594c37b993722dfda70e737f56b44b4d5ffebfc19fca93bf3417dfbba0b2b19e214ebc0a92f597eb |
23 |
|
24 |
diff --git a/dev-ml/easy-format/easy-format-1.2.0.ebuild b/dev-ml/easy-format/easy-format-1.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..669c6909206 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/easy-format/easy-format-1.2.0.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+inherit findlib |
36 |
+ |
37 |
+DESCRIPTION="Pretty-printing library for OCaml" |
38 |
+HOMEPAGE="https://github.com/mjambon/easy-format" |
39 |
+SRC_URI="https://github.com/mjambon/easy-format/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+SLOT="0/${PV}" |
42 |
+LICENSE="BSD" |
43 |
+KEYWORDS="~amd64" |
44 |
+ |
45 |
+IUSE="examples +ocamlopt" |
46 |
+ |
47 |
+RDEPEND="dev-lang/ocaml:=[ocamlopt?]" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+src_compile() { |
51 |
+ emake all |
52 |
+ use ocamlopt && emake opt |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ findlib_src_install |
57 |
+ dodoc README.md Changes |
58 |
+ if use examples ; then |
59 |
+ dodoc -r examples |
60 |
+ docompress -x /usr/share/doc/${PF}/examples |
61 |
+ fi |
62 |
+} |