commit: 460c696fad0c0b5a215587f69260f8cbdc8eadb4 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Tue Aug 15 07:25:27 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Tue Aug 15 07:26:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460c696f
dev-ml/ppx_import: convert to opam.eclass Package-Manager: Portage-2.3.7, Repoman-2.3.3 dev-ml/ppx_import/ppx_import-1.2.ebuild | 12 ++---------- 1 file 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 4bb61dd8e17..efecbd3f720 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 -}
