public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/uchar/
Date: Mon,  9 Jan 2017 11:08:35 +0000 (UTC)	[thread overview]
Message-ID: <1483960105.b198f454d812345a524f13243e39e6f977d71790.aballier@gentoo> (raw)

commit:     b198f454d812345a524f13243e39e6f977d71790
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  9 11:07:30 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jan  9 11:08:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b198f454

dev-ml/uchar: stop using opam-installer as it is an indirect opam dep, bug #601906

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/uchar/uchar-0.0.1.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-ml/uchar/uchar-0.0.1.ebuild b/dev-ml/uchar/uchar-0.0.1.ebuild
index 2cf183d..37b0fbd 100644
--- a/dev-ml/uchar/uchar-0.0.1.ebuild
+++ b/dev-ml/uchar/uchar-0.0.1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
+inherit findlib
+
 DESCRIPTION="Uchar compatibility library"
 HOMEPAGE="https://github.com/ocaml/uchar"
 SRC_URI="https://github.com/ocaml/uchar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,9 +15,8 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="+ocamlopt"
 
-RDEPEND="dev-lang/ocaml:="
-DEPEND="${RDEPEND}
-	dev-ml/opam"
+RDEPEND=">=dev-lang/ocaml-4.03:="
+DEPEND="${RDEPEND}"
 
 src_compile() {
 	ocaml pkg/build.ml \
@@ -28,10 +29,9 @@ src_test() {
 }
 
 src_install() {
-	opam-installer -i \
-		--prefix="${ED}/usr" \
-		--libdir="${D}/$(ocamlc -where)" \
-		--docdir="${ED}/usr/share/doc/${PF}" \
-		${PN}.install || die
+	# Can't use opam-installer here as it is an opam dep...
+	findlib_src_preinst
+	mv _build/pkg/META{.empty,} || die
+	ocamlfind install ${PN} _build/pkg/META || die
 	dodoc README.md CHANGES.md
 }


             reply	other threads:[~2017-01-09 11:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 11:08 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-01 21:07 [gentoo-commits] repo/gentoo:master commit in: dev-ml/uchar/ Sam James
2021-03-13 14:05 Sam James
2021-03-04 14:28 Agostino Sarubbo
2021-02-25 17:54 Sam James
2021-02-25 13:09 Sam James
2021-02-10 16:38 Sam James
2017-07-17 10:11 Alexis Ballier
2017-07-07 17:58 Alexis Ballier
2017-04-05  9:51 Michael Weber
2017-03-15 14:26 Alexis Ballier
2017-03-02 17:36 Alexis Ballier
2016-09-07 10:23 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483960105.b198f454d812345a524f13243e39e6f977d71790.aballier@gentoo \
    --to=aballier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox