1 |
commit: fa91054b5cdd8053e3a1625c4ebb53abf4b2ac6b |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 21:18:47 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 21:18:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa91054b |
7 |
|
8 |
dev-ml/logs: bump version to 0.6.3 and 0.7.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/logs/Manifest | 2 ++ |
14 |
dev-ml/logs/logs-0.6.3.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
dev-ml/logs/logs-0.7.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++++ |
16 |
dev-ml/logs/metadata.xml | 5 +++- |
17 |
4 files changed, 116 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-ml/logs/Manifest b/dev-ml/logs/Manifest |
20 |
index 136aad2e16f..0ba203fd3cf 100644 |
21 |
--- a/dev-ml/logs/Manifest |
22 |
+++ b/dev-ml/logs/Manifest |
23 |
@@ -1 +1,3 @@ |
24 |
DIST logs-0.6.2.tbz 18558 BLAKE2B 824bad0b568c3cc08343cb99eab3848d6e8f7deca548599caf12a05f5980e5ecf78978480e5fd95e938ca4b06fb94cee8b4ecf241f4a0238c3d3851c4be8c9f5 SHA512 a669e373652bac6789626ad1d58e414c6d156c646bf0706c9d55b04151850113d45a5c28077707514d1a27d46fcc0f90b39b8652ce7a3980f79675e9874db8b4 |
25 |
+DIST logs-0.6.3.tbz 17670 BLAKE2B bea90590913c83ef0ac32bb63551542d52cdc63f761e0198ff747f9e03987dcbfacd1b1e351a826218f71768020df8ebe1caa7272fd79e2c1b634645d728bdd6 SHA512 6cdcb3ee19eadb824500e90235a62326194ff5d2a44dca598d2727f2ad358273a79240197965b682aa80986870bb859ee1e57f2cb29c684c92ca146cac8094d1 |
26 |
+DIST logs-0.7.0.tbz 18458 BLAKE2B 091d1778166af0b67e17e932a775a73e31e5d167b94b1b378063a7112c21bf1ac935c7e51fe29bcc0121cd5e60ea46ed3c7381f4db5df400b463feedfbe89663 SHA512 657f66eeaf5788947a3ff4b2a179f7e192ad4ce086fc8968286066d4b83af476523b3befce50ee58abf2d9b8c8dc65573ba8ed62f9c5e7933db29a7fb769646a |
27 |
|
28 |
diff --git a/dev-ml/logs/logs-0.6.3.ebuild b/dev-ml/logs/logs-0.6.3.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7e256da93be |
31 |
--- /dev/null |
32 |
+++ b/dev-ml/logs/logs-0.6.3.ebuild |
33 |
@@ -0,0 +1,55 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit findlib |
40 |
+ |
41 |
+DESCRIPTION="Logging infrastructure for OCaml" |
42 |
+HOMEPAGE="https://erratique.ch/software/logs https://github.com/dbuenzli/logs" |
43 |
+SRC_URI="https://erratique.ch/software/logs/releases/${P}.tbz" |
44 |
+ |
45 |
+LICENSE="ISC" |
46 |
+SLOT="0/${PV}" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="javascript +fmt cli +lwt test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-ml/result:=[ocamlopt] |
53 |
+ dev-lang/ocaml:=[ocamlopt] |
54 |
+ javascript? ( dev-ml/js_of_ocaml:= ) |
55 |
+ fmt? ( dev-ml/fmt:= ) |
56 |
+ cli? ( dev-ml/cmdliner:=[ocamlopt] ) |
57 |
+ lwt? ( dev-ml/lwt:= ) |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ dev-ml/opam |
61 |
+ dev-ml/topkg |
62 |
+ dev-ml/ocamlbuild |
63 |
+ dev-ml/findlib |
64 |
+ test? ( dev-ml/mtime ) |
65 |
+" |
66 |
+ |
67 |
+src_compile() { |
68 |
+ ocaml pkg/pkg.ml build \ |
69 |
+ --with-js_of_ocaml $(usex javascript true false) \ |
70 |
+ --with-fmt $(usex fmt true false) \ |
71 |
+ --with-cmdliner $(usex cli true false) \ |
72 |
+ --with-lwt $(usex fmt true false) \ |
73 |
+ --tests $(usex test true false) \ |
74 |
+ || die |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ ocaml pkg/pkg.ml test || die |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ opam-installer -i \ |
83 |
+ --prefix="${ED}/usr" \ |
84 |
+ --libdir="${D}/$(ocamlc -where)" \ |
85 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
86 |
+ ${PN}.install || die |
87 |
+ dodoc CHANGES.md README.md |
88 |
+} |
89 |
|
90 |
diff --git a/dev-ml/logs/logs-0.7.0.ebuild b/dev-ml/logs/logs-0.7.0.ebuild |
91 |
new file mode 100644 |
92 |
index 00000000000..7e256da93be |
93 |
--- /dev/null |
94 |
+++ b/dev-ml/logs/logs-0.7.0.ebuild |
95 |
@@ -0,0 +1,55 @@ |
96 |
+# Copyright 1999-2021 Gentoo Authors |
97 |
+# Distributed under the terms of the GNU General Public License v2 |
98 |
+ |
99 |
+EAPI=7 |
100 |
+ |
101 |
+inherit findlib |
102 |
+ |
103 |
+DESCRIPTION="Logging infrastructure for OCaml" |
104 |
+HOMEPAGE="https://erratique.ch/software/logs https://github.com/dbuenzli/logs" |
105 |
+SRC_URI="https://erratique.ch/software/logs/releases/${P}.tbz" |
106 |
+ |
107 |
+LICENSE="ISC" |
108 |
+SLOT="0/${PV}" |
109 |
+KEYWORDS="~amd64" |
110 |
+IUSE="javascript +fmt cli +lwt test" |
111 |
+RESTRICT="!test? ( test )" |
112 |
+ |
113 |
+RDEPEND=" |
114 |
+ dev-ml/result:=[ocamlopt] |
115 |
+ dev-lang/ocaml:=[ocamlopt] |
116 |
+ javascript? ( dev-ml/js_of_ocaml:= ) |
117 |
+ fmt? ( dev-ml/fmt:= ) |
118 |
+ cli? ( dev-ml/cmdliner:=[ocamlopt] ) |
119 |
+ lwt? ( dev-ml/lwt:= ) |
120 |
+" |
121 |
+DEPEND="${RDEPEND} |
122 |
+ dev-ml/opam |
123 |
+ dev-ml/topkg |
124 |
+ dev-ml/ocamlbuild |
125 |
+ dev-ml/findlib |
126 |
+ test? ( dev-ml/mtime ) |
127 |
+" |
128 |
+ |
129 |
+src_compile() { |
130 |
+ ocaml pkg/pkg.ml build \ |
131 |
+ --with-js_of_ocaml $(usex javascript true false) \ |
132 |
+ --with-fmt $(usex fmt true false) \ |
133 |
+ --with-cmdliner $(usex cli true false) \ |
134 |
+ --with-lwt $(usex fmt true false) \ |
135 |
+ --tests $(usex test true false) \ |
136 |
+ || die |
137 |
+} |
138 |
+ |
139 |
+src_test() { |
140 |
+ ocaml pkg/pkg.ml test || die |
141 |
+} |
142 |
+ |
143 |
+src_install() { |
144 |
+ opam-installer -i \ |
145 |
+ --prefix="${ED}/usr" \ |
146 |
+ --libdir="${D}/$(ocamlc -where)" \ |
147 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
148 |
+ ${PN}.install || die |
149 |
+ dodoc CHANGES.md README.md |
150 |
+} |
151 |
|
152 |
diff --git a/dev-ml/logs/metadata.xml b/dev-ml/logs/metadata.xml |
153 |
index d304229c071..c409d1b308a 100644 |
154 |
--- a/dev-ml/logs/metadata.xml |
155 |
+++ b/dev-ml/logs/metadata.xml |
156 |
@@ -1,7 +1,10 @@ |
157 |
<?xml version="1.0" encoding="UTF-8"?> |
158 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
159 |
<pkgmetadata> |
160 |
- <!-- maintainer-needed --> |
161 |
+ <maintainer type="project"> |
162 |
+ <email>ml@g.o</email> |
163 |
+ <name>ML</name> |
164 |
+ </maintainer> |
165 |
<use> |
166 |
<flag name="cli">Enables the Logs_cli library that provides command line support for controlling Logs.</flag> |
167 |
<flag name="fmt">Enables the Logs_fmt reporter.</flag> |