summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-05 01:29:43 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-05 05:40:57 +0100
commitc4bebd8e20b7baf23a85b494079e794531de024a (patch)
tree6d382f6889bce5f04c1d4cedafa6a45c6b3cf94b /dev-ml
parentsys-apps/flatpak: Bump to version 1.13.1 (diff)
downloadgentoo-c4bebd8e20b7baf23a85b494079e794531de024a.tar.gz
gentoo-c4bebd8e20b7baf23a85b494079e794531de024a.tar.bz2
gentoo-c4bebd8e20b7baf23a85b494079e794531de024a.zip
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@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ppx_import/Manifest1
-rw-r--r--dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch9
-rw-r--r--dev-ml/ppx_import/metadata.xml14
-rw-r--r--dev-ml/ppx_import/ppx_import-1.9.1.ebuild29
4 files changed, 53 insertions, 0 deletions
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>ml@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 )