From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C081C139085 for ; Tue, 27 Dec 2016 12:40:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27DE621C131; Tue, 27 Dec 2016 12:40:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0865821C131 for ; Tue, 27 Dec 2016 12:40:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0559E341236 for ; Tue, 27 Dec 2016 12:40:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6172324E9 for ; Tue, 27 Dec 2016 12:40:48 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1482842438.f794393c387771b153227d45201f841e71202af6.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/opam/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/opam/Manifest dev-ml/opam/opam-1.3.0.ebuild X-VCS-Directories: dev-ml/opam/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: f794393c387771b153227d45201f841e71202af6 X-VCS-Branch: master Date: Tue, 27 Dec 2016 12:40:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 78ece65e-873c-4a9e-b6de-b77138ecbd60 X-Archives-Hash: c219a2e863d95f2109da12be97f12e15 commit: f794393c387771b153227d45201f841e71202af6 Author: Alexis Ballier gentoo org> AuthorDate: Mon Dec 26 17:49:38 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Dec 27 12:40:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f794393c dev-ml/opam: bump to 1.3.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ml/opam/Manifest | 1 + dev-ml/opam/opam-1.3.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest index 144449c..e8ec3ff 100644 --- a/dev-ml/opam/Manifest +++ b/dev-ml/opam/Manifest @@ -1 +1,2 @@ DIST opam-1.2.2.tar.gz 648951 SHA256 3e4a05df6ff8deecba019d885ebe902eb933acb6e2fc7784ffee1ee14871e36a SHA512 12105b5219a14d4c4cb29c387dd5af858d2b4a2a1bad7dcd70e4c284fc52848df82933396571b85251d904b3c14cdf02db55060c1ba29dc34b8bab3721d05f54 WHIRLPOOL 97d6ab75620a4ed18b45d80e88e77564af457606cbb8dd4591030574bfdbff5c16d508e81438b78198b87511151b1b030e6a51c2370e3110ae21216846f37836 +DIST opam-1.3.0.tar.gz 669389 SHA256 9d50122940f44401c2dcee39b12a4e4afea851b2f2ab47d90b522f7395f10f7a SHA512 290535a1bb2e7eff6ab44126c5070d2bed94e68cee3bd5e47054f91ad81ed92e9a21f7888bd1dafcb397e3ac61589d4eaf7267305ac63d1aee08761701bdf647 WHIRLPOOL 64b8fc334b8dd193af1d4ae0d0bb445554f6afeb3007fefd4048816d1bd90363c7b18c4d44521da8162bc3ae49668d26b75ef811a4de4d5287597024d0b74ddd diff --git a/dev-ml/opam/opam-1.3.0.ebuild b/dev-ml/opam/opam-1.3.0.ebuild new file mode 100644 index 00000000..6d7f7d3 --- /dev/null +++ b/dev-ml/opam/opam-1.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="A source-based package manager for OCaml" +HOMEPAGE="http://opam.ocaml.org/" +LICENSE="LGPL-3-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +if [[ ${PV} != 9999 ]]; then + SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/ocaml/opam.git" +fi + +DEPEND="dev-lang/ocaml:= + || ( net-misc/wget net-misc/curl ) + dev-ml/extlib:= + dev-ml/ocaml-re:= + dev-ml/ocamlgraph:= + dev-ml/cmdliner:= + dev-ml/cudf:= + >=dev-ml/dose3-5:= + dev-ml/uutf:= + dev-ml/jsonm:= +" +RDEPEND="${DEPEND} + dev-ml/findlib +" + +src_compile() { + emake -j1 + cd doc + emake man +} + +src_test() { + EMAIL=foo@bar.com emake -j1 tests +} + +src_install() { + default + emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall +}