mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
1
dev-ml/ppx_import/Manifest
Normal file
1
dev-ml/ppx_import/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ppx_import-1.9.1.tar.gz 13820 BLAKE2B 295796041ecad89c95bd6a6fe14a9d9bb969f7d984388cca5181c31b8358affeb92a4d200bb9e11449a0216995a8477b809acf251b049e8331eea9e6bb918cb7 SHA512 37bd54bc477b91a3aa4b2433a9817c6d939f1e4a1d950b83b05964d22540296582cec6513a0959fd036f738dbd6ef9df13430183b8bdaa9425c7640a5fddf4b3
|
||||
9
dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch
Normal file
9
dev-ml/ppx_import/files/ppx_import-dune-ounit2.patch
Normal 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))
|
||||
14
dev-ml/ppx_import/metadata.xml
Normal file
14
dev-ml/ppx_import/metadata.xml
Normal 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>
|
||||
29
dev-ml/ppx_import/ppx_import-1.9.1.ebuild
Normal file
29
dev-ml/ppx_import/ppx_import-1.9.1.ebuild
Normal 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 )
|
||||
Reference in New Issue
Block a user