commit:     c4bebd8e20b7baf23a85b494079e794531de024a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 00:29:43 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 04:40:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4bebd8e

dev-ml/ppx_import: new package; add 1.9.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-ml/ppx_import/Manifest                         |  1 +
 .../ppx_import/files/ppx_import-dune-ounit2.patch  |  9 +++++++
 dev-ml/ppx_import/metadata.xml                     | 14 +++++++++++
 dev-ml/ppx_import/ppx_import-1.9.1.ebuild          | 29 ++++++++++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/dev-ml/ppx_import/Manifest b/dev-ml/ppx_import/Manifest
new file mode 100644
index 000000000000..b0784564811f
--- /dev/null
+++ b/dev-ml/ppx_import/Manifest
@@ -0,0 +1 @@
+DIST ppx_import-1.9.1.tar.gz 13820 BLAKE2B 
295796041ecad89c95bd6a6fe14a9d9bb969f7d984388cca5181c31b8358affeb92a4d200bb9e11449a0216995a8477b809acf251b049e8331eea9e6bb918cb7
 SHA512 
37bd54bc477b91a3aa4b2433a9817c6d939f1e4a1d950b83b05964d22540296582cec6513a0959fd036f738dbd6ef9df13430183b8bdaa9425c7640a5fddf4b3

diff --git a/dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch 
b/dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch
new file mode 100644
index 000000000000..ac164dc0d11d
--- /dev/null
+++ b/dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch
@@ -0,0 +1,9 @@
+index 3ec5810..b2d8d6d 100644
+--- a/src_test/ppx_deriving/dune
++++ b/src_test/ppx_deriving/dune
+@@ -2,4 +2,4 @@
+  (name test_ppx_import)
+  (preprocess
+   (staged_pps ppx_import ppx_deriving.show))
+- (libraries compiler-libs.common oUnit))
++ (libraries compiler-libs.common ounit2))

diff --git a/dev-ml/ppx_import/metadata.xml b/dev-ml/ppx_import/metadata.xml
new file mode 100644
index 000000000000..511eaa4e5798
--- /dev/null
+++ b/dev-ml/ppx_import/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>m...@gentoo.org</email>
+    <name>ML</name>
+  </maintainer>
+  <upstream>
+    <changelog>https://github.com/ocaml-ppx/ppx_import/releases/</changelog>
+    <bugs-to>https://github.com/ocaml-ppx/ppx_import/issues/</bugs-to>
+    <remote-id type="github">ocaml-ppx/ppx_import</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-ml/ppx_import/ppx_import-1.9.1.ebuild 
b/dev-ml/ppx_import/ppx_import-1.9.1.ebuild
new file mode 100644
index 000000000000..19b0da3ed57f
--- /dev/null
+++ b/dev-ml/ppx_import/ppx_import-1.9.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="A syntax extension for importing declarations from interface 
files"
+HOMEPAGE="https://github.com/ocaml-ppx/ppx_import/";
+SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-ml/ppxlib:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+       test? (
+               dev-ml/ounit2
+               dev-ml/ppx_deriving
+               dev-ml/ppx_sexp_conv
+       )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-dune-ounit2.patch )

Reply via email to