1 |
commit: e021f67cfe94e29c3b19b885b64ccda49b4409c9 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 05:31:10 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 05:31:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e021f67c |
7 |
|
8 |
dev-ml/ppxlib: add 0.23.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-ml/ppxlib/Manifest | 1 + |
13 |
dev-ml/ppxlib/ppxlib-0.23.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ppxlib/Manifest b/dev-ml/ppxlib/Manifest |
17 |
index 3e10474789b..0fe2462e782 100644 |
18 |
--- a/dev-ml/ppxlib/Manifest |
19 |
+++ b/dev-ml/ppxlib/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST ppxlib-0.20.0.tar.gz 193453 BLAKE2B baf5703737792f274654de489aee31c1d324011 |
21 |
DIST ppxlib-0.21.0.tar.gz 201905 BLAKE2B f7a7b69ab07b2a5dce542877989fb4ca820acdda375371895072b857a44e8e7f437695f43990472dfad88261179ff07bd33f6e39881c2b28ff2650d7e2a53bdf SHA512 5760ecc8a5e0c0f49ad4f0d3ba2546185d36411f4292c4ebfbf0c9520438546a60d8fe0b265cec70793b03cc684e399401ff761cb1c369966add70118f1ecda5 |
22 |
DIST ppxlib-0.22.0.tar.gz 202241 BLAKE2B 6b18ceb23e248eb2b4faed66ba0ea1cbee36df61cee9458fc0fd7057eff433340cb602a429c3f100ee054da06d9de20eca44e5ecc4ba98c888cfec2c83097151 SHA512 11442120c24bf60d9de90c9a325de9e5d87d87ba08d8e4cd216a3434f422c62427aa4214909b80646db638423ea35dff4280d5a70cf51bdfadc0a97745c32d41 |
23 |
DIST ppxlib-0.22.2.tar.gz 202895 BLAKE2B 41d2c2e698846e5dfeb4158966b65dd29b253645b0286d0eab5a9dfb0e684b8b43f17a32b23023198d2c4e50e836705d2c965ea74ef337c5b0cf6aecd6fa4167 SHA512 3a83693551f11965b219a9caa4eaffbf358ea1311e05a38bfd531b8ad225d6571d86db7282e1d5bdc09775f2ba47791c03351402720cf5c2adefc52926d498e4 |
24 |
+DIST ppxlib-0.23.0.tar.gz 364308 BLAKE2B b1cc622eb5e01c455da437365053fd32a00d33007520cf28536e1f45c142aa0a9083da614110c1096fd3f8326453eb037a8c0054e00e17a813f99f3d8efde5d7 SHA512 9d6692ec4247031f26aed3bdc59808a5f929c34dbac3515a8b2a61c59ec118f0e90d12948d22aea40e9f01b1ed782e9dfa5b0263314b967217b2ac4006446c53 |
25 |
|
26 |
diff --git a/dev-ml/ppxlib/ppxlib-0.23.0.ebuild b/dev-ml/ppxlib/ppxlib-0.23.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0acf232740e |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/ppxlib/ppxlib-0.23.0.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit dune |
38 |
+ |
39 |
+# Note that new "major" versions may change which OCaml version they support |
40 |
+# See: |
41 |
+# https://github.com/ocaml-ppx/ppxlib/issues/243 |
42 |
+# https://github.com/ocaml-ppx/ppxlib/issues/232 |
43 |
+ |
44 |
+DESCRIPTION="Base library and tools for ppx rewriters" |
45 |
+HOMEPAGE="https://github.com/ocaml-ppx/ppxlib" |
46 |
+SRC_URI="https://github.com/ocaml-ppx/ppxlib/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0/${PV}" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
51 |
+IUSE="+ocamlopt test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-ml/ocaml-compiler-libs-0.11.0:= |
56 |
+ >=dev-ml/ocaml-migrate-parsetree-2.2.0:= |
57 |
+ dev-ml/sexplib0:= |
58 |
+ dev-ml/stdlib-shims:= |
59 |
+ >=dev-ml/ppx_derivers-1.2.1:= |
60 |
+" |
61 |
+DEPEND="${DEPEND} |
62 |
+ test? ( |
63 |
+ dev-ml/findlib:= |
64 |
+ >=dev-ml/base-0.11.0:= |
65 |
+ dev-ml/cinaps:= |
66 |
+ dev-ml/re:= |
67 |
+ >=dev-ml/stdio-0.11.0:= |
68 |
+ ) |
69 |
+" |
70 |
+BDEPEND=">=dev-ml/dune-2.8" |
71 |
+ |
72 |
+src_install() { |
73 |
+ dune_src_install |
74 |
+ |
75 |
+ # Clashes with dev-libs/nss[utils], accidentally installed upstream |
76 |
+ # https://github.com/ocaml-ppx/ppxlib/issues/224 |
77 |
+ rm "${ED}"/usr/bin/pp || die |
78 |
+} |