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 EB87E1395E3 for ; Mon, 28 Nov 2016 20:27:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF83CE08F8; Mon, 28 Nov 2016 20:27:48 +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 EEA9BE094C for ; Mon, 28 Nov 2016 20:27:46 +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 CFC013413FD for ; Mon, 28 Nov 2016 20:27:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B70249A for ; Mon, 28 Nov 2016 20:27:44 +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: <1480364852.f453a8302540a729850e664e53dece8f242c85e9.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/topkg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/topkg/Manifest dev-ml/topkg/metadata.xml dev-ml/topkg/topkg-0.8.1.ebuild X-VCS-Directories: dev-ml/topkg/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: f453a8302540a729850e664e53dece8f242c85e9 X-VCS-Branch: master Date: Mon, 28 Nov 2016 20:27:44 +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: fca36706-5334-4a99-bfd7-4f19714c9c0e X-Archives-Hash: a35a63b8dc2a9ac9c540daefdbf9ca0a commit: f453a8302540a729850e664e53dece8f242c85e9 Author: Alexis Ballier gentoo org> AuthorDate: Mon Nov 28 15:33:03 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Nov 28 20:27:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f453a830 dev-ml/topkg: initial import; ebuild by me Package-Manager: portage-2.3.2 dev-ml/topkg/Manifest | 1 + dev-ml/topkg/metadata.xml | 8 ++++++++ dev-ml/topkg/topkg-0.8.1.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest new file mode 100644 index 00000000..e6d1674 --- /dev/null +++ b/dev-ml/topkg/Manifest @@ -0,0 +1 @@ +DIST topkg-0.8.1.tar.gz 118529 SHA256 368bf199fe0e92d248057bcb635a1aec081607cc2c64699fa21885e4ea00325c SHA512 d427b9c9e05541b3574a9818efe435c2fade22b0789a4aee3032068b5cdf606634e218e848ef220ab2174272e71a3490e8d7a4acc564f4cc987ed703194b2609 WHIRLPOOL e227990bc32eca743bd3cc74ea6f2af8ded8a10286f5e24579d84c2d3745c7d001b0a72316e317b2f65fa88cafa3c1110fd5ea39c8979f22f7a54560545696a7 diff --git a/dev-ml/topkg/metadata.xml b/dev-ml/topkg/metadata.xml new file mode 100644 index 00000000..ffac4d7 --- /dev/null +++ b/dev-ml/topkg/metadata.xml @@ -0,0 +1,8 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + diff --git a/dev-ml/topkg/topkg-0.8.1.ebuild b/dev-ml/topkg/topkg-0.8.1.ebuild new file mode 100644 index 00000000..aa42f00 --- /dev/null +++ b/dev-ml/topkg/topkg-0.8.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit findlib + +DESCRIPTION="The transitory OCaml software packager" +HOMEPAGE="http://erratique.ch/software/topkg https://github.com/dbuenzli/topkg" +SRC_URI="https://github.com/dbuenzli/topkg/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-ml/result:= + dev-lang/ocaml:=" +DEPEND="${RDEPEND} + dev-ml/opam" + +src_compile() { + ocaml pkg/pkg.ml build --pkg-name ${PN} || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + dodoc CHANGES.md DEVEL.md README.md +}