dev-ml/ppx_deriving_yojson: update to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Fri, 22 Sep 2017 08:09:10 +0000 (10:09 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 22 Sep 2017 08:31:35 +0000 (10:31 +0200)
Package-Manager: Portage-2.3.10, Repoman-2.3.3

dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.0.ebuild

index f2a359e34704cbd02185ea38d6f316d4d574145c..07d29ef08c77f54b7e1e2e30a0f9d30d4b004ef7 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit eutils
+inherit eutils opam
 
 DESCRIPTION="A Yojson codec generator for OCaml"
 HOMEPAGE="https://github.com/whitequark/ppx_deriving_yojson/"
@@ -42,12 +42,3 @@ src_compile() {
 src_test() {
        ocamlbuild -j 0 -use-ocamlfind -classic-display src_test/test_ppx_yojson.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
-}