1 |
commit: c4bebd8e20b7baf23a85b494079e794531de024a |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 00:29:43 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 04:40:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4bebd8e |
7 |
|
8 |
dev-ml/ppx_import: new package; add 1.9.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
dev-ml/ppx_import/Manifest | 1 + |
14 |
.../ppx_import/files/ppx_import-dune-ounit2.patch | 9 +++++++ |
15 |
dev-ml/ppx_import/metadata.xml | 14 +++++++++++ |
16 |
dev-ml/ppx_import/ppx_import-1.9.1.ebuild | 29 ++++++++++++++++++++++ |
17 |
4 files changed, 53 insertions(+) |
18 |
|
19 |
diff --git a/dev-ml/ppx_import/Manifest b/dev-ml/ppx_import/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..b0784564811f |
22 |
--- /dev/null |
23 |
+++ b/dev-ml/ppx_import/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST ppx_import-1.9.1.tar.gz 13820 BLAKE2B 295796041ecad89c95bd6a6fe14a9d9bb969f7d984388cca5181c31b8358affeb92a4d200bb9e11449a0216995a8477b809acf251b049e8331eea9e6bb918cb7 SHA512 37bd54bc477b91a3aa4b2433a9817c6d939f1e4a1d950b83b05964d22540296582cec6513a0959fd036f738dbd6ef9df13430183b8bdaa9425c7640a5fddf4b3 |
26 |
|
27 |
diff --git a/dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch b/dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch |
28 |
new file mode 100644 |
29 |
index 000000000000..ac164dc0d11d |
30 |
--- /dev/null |
31 |
+++ b/dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch |
32 |
@@ -0,0 +1,9 @@ |
33 |
+index 3ec5810..b2d8d6d 100644 |
34 |
+--- a/src_test/ppx_deriving/dune |
35 |
++++ b/src_test/ppx_deriving/dune |
36 |
+@@ -2,4 +2,4 @@ |
37 |
+ (name test_ppx_import) |
38 |
+ (preprocess |
39 |
+ (staged_pps ppx_import ppx_deriving.show)) |
40 |
+- (libraries compiler-libs.common oUnit)) |
41 |
++ (libraries compiler-libs.common ounit2)) |
42 |
|
43 |
diff --git a/dev-ml/ppx_import/metadata.xml b/dev-ml/ppx_import/metadata.xml |
44 |
new file mode 100644 |
45 |
index 000000000000..511eaa4e5798 |
46 |
--- /dev/null |
47 |
+++ b/dev-ml/ppx_import/metadata.xml |
48 |
@@ -0,0 +1,14 @@ |
49 |
+<?xml version="1.0" encoding="UTF-8"?> |
50 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
51 |
+ |
52 |
+<pkgmetadata> |
53 |
+ <maintainer type="project"> |
54 |
+ <email>ml@g.o</email> |
55 |
+ <name>ML</name> |
56 |
+ </maintainer> |
57 |
+ <upstream> |
58 |
+ <changelog>https://github.com/ocaml-ppx/ppx_import/releases/</changelog> |
59 |
+ <bugs-to>https://github.com/ocaml-ppx/ppx_import/issues/</bugs-to> |
60 |
+ <remote-id type="github">ocaml-ppx/ppx_import</remote-id> |
61 |
+ </upstream> |
62 |
+</pkgmetadata> |
63 |
|
64 |
diff --git a/dev-ml/ppx_import/ppx_import-1.9.1.ebuild b/dev-ml/ppx_import/ppx_import-1.9.1.ebuild |
65 |
new file mode 100644 |
66 |
index 000000000000..19b0da3ed57f |
67 |
--- /dev/null |
68 |
+++ b/dev-ml/ppx_import/ppx_import-1.9.1.ebuild |
69 |
@@ -0,0 +1,29 @@ |
70 |
+# Copyright 1999-2022 Gentoo Authors |
71 |
+# Distributed under the terms of the GNU General Public License v2 |
72 |
+ |
73 |
+EAPI=8 |
74 |
+ |
75 |
+inherit dune |
76 |
+ |
77 |
+DESCRIPTION="A syntax extension for importing declarations from interface files" |
78 |
+HOMEPAGE="https://github.com/ocaml-ppx/ppx_import/" |
79 |
+SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/${PV}.tar.gz |
80 |
+ -> ${P}.tar.gz" |
81 |
+ |
82 |
+LICENSE="MIT" |
83 |
+SLOT="0/${PV}" |
84 |
+KEYWORDS="~amd64 ~x86" |
85 |
+IUSE="+ocamlopt test" |
86 |
+RESTRICT="!test? ( test )" |
87 |
+ |
88 |
+RDEPEND="dev-ml/ppxlib:=" |
89 |
+DEPEND="${RDEPEND}" |
90 |
+BDEPEND=" |
91 |
+ test? ( |
92 |
+ dev-ml/ounit2 |
93 |
+ dev-ml/ppx_deriving |
94 |
+ dev-ml/ppx_sexp_conv |
95 |
+ ) |
96 |
+" |
97 |
+ |
98 |
+PATCHES=( "${FILESDIR}"/${PN}-dune-ounit2.patch ) |