diff options
-rw-r--r-- | dev-ml/ppx_import/ppx_import-1.2.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/dev-ml/ppx_import/ppx_import-1.2.ebuild b/dev-ml/ppx_import/ppx_import-1.2.ebuild index 4bb61dd8e171..efecbd3f7200 100644 --- a/dev-ml/ppx_import/ppx_import-1.2.ebuild +++ b/dev-ml/ppx_import/ppx_import-1.2.ebuild @@ -3,6 +3,8 @@ EAPI=5 +inherit opam + DESCRIPTION="A syntax extension for importing declarations from interface files" HOMEPAGE="https://github.com/whitequark/ppx_import" SRC_URI="https://github.com/whitequark/ppx_import/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -20,7 +22,6 @@ DEPEND=" RDEPEND="${DEPEND}" DEPEND="${DEPEND} test? ( dev-ml/ounit dev-ml/ppx_deriving ) - dev-ml/opam dev-ml/ocamlbuild dev-ml/findlib " @@ -36,12 +37,3 @@ src_compile() { src_test() { ocamlbuild -classic-display -use-ocamlfind src_test/test_ppx_import.byte -- || die } - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${T}/dontinstallit" \ - ${PN}.install || die - dodoc CHANGELOG.md README.md -} |