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>
This commit is contained in:
Maciej Barć
2022-03-05 01:29:43 +01:00
parent 9252dcaaac
commit c4bebd8e20
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ppx_import-1.9.1.tar.gz 13820 BLAKE2B 295796041ecad89c95bd6a6fe14a9d9bb969f7d984388cca5181c31b8358affeb92a4d200bb9e11449a0216995a8477b809acf251b049e8331eea9e6bb918cb7 SHA512 37bd54bc477b91a3aa4b2433a9817c6d939f1e4a1d950b83b05964d22540296582cec6513a0959fd036f738dbd6ef9df13430183b8bdaa9425c7640a5fddf4b3

View File

@@ -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))

View File

@@ -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>

View File

@@ -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 )