commit:     2ba027d3edc68228488669c7247d1ed6715107a1
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 13:19:22 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 13:21:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba027d3

dev-ml/dns: update to opam.eclass

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-ml/dns/dns-1.0.0.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/dev-ml/dns/dns-1.0.0.ebuild b/dev-ml/dns/dns-1.0.0.ebuild
index 85d9d78a23c..1780cf1361f 100644
--- a/dev-ml/dns/dns-1.0.0.ebuild
+++ b/dev-ml/dns/dns-1.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit findlib eutils
+inherit findlib opam
 
 DESCRIPTION="A pure OCaml implementation of the DNS protocol"
 HOMEPAGE="https://github.com/mirage/ocaml-dns https://mirage.io";
@@ -15,7 +15,6 @@ KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="
-       >=dev-lang/ocaml-4:=
        >=dev-ml/ocaml-base64-2.0.0:=
        >=dev-ml/ocaml-cstruct-3.0.2:=[ppx]
        dev-ml/ocaml-hashcons:=
@@ -27,7 +26,6 @@ RDEPEND="
 "
 DEPEND="
        dev-ml/jbuilder
-       dev-ml/opam
        ${RDEPEND}
 "
 
@@ -43,11 +41,3 @@ src_compile() {
 src_test() {
        jbuilder runtest -p dns || die
 }
-
-src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               dns.install || die
-}

Reply via email to