Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/topkg/
Date: Tue, 17 Oct 2017 06:04:28
Message-Id: 1508219753.6764c607f357a453395e2782206b5e02eb8058e6.aballier@gentoo
1 commit: 6764c607f357a453395e2782206b5e02eb8058e6
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 17 05:55:53 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 05:55:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6764c607
7
8 dev-ml/topkg: bump to 0.9.1
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 dev-ml/topkg/Manifest | 1 +
13 dev-ml/topkg/topkg-0.9.1.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest
17 index 8ea34acf7b3..a67afc7a839 100644
18 --- a/dev-ml/topkg/Manifest
19 +++ b/dev-ml/topkg/Manifest
20 @@ -1 +1,2 @@
21 DIST topkg-0.9.0.tar.gz 120352 SHA256 1f9a718d49151ac4e914404e78865cc74e361d7befea2167fb8daa78a68fba11 SHA512 823fe1abb344d7800e09411c952bd276ecea97b5d9c124d986e26b9128d03b3ad023a38560198e476ef8f949ecb456078e332bda94075e9b746e43d3059a8fdb WHIRLPOOL 03be4f92aa654e46ffe46e49f59bac3fabb96982d512811fe1232fa067829ef09ba585bcf26bebba07aef1394497fd2551102dc97ba1f078b9b5e7d685c410be
22 +DIST topkg-0.9.1.tar.gz 120943 SHA256 7ad03b9ce97fbf39c040cdbd588d4cbcce97428e5dc84a23e27f2c43617f817f SHA512 19773eb764b53a6e5110c44d7942d2557d6c8502a3037b57f7737efc08f4cc374845b431fdb1465207693d15a4b072aea3db97f8e60e069e3d24ae150e8c5c8f WHIRLPOOL 93a2b08046672f88ea6a34e1f4d9c2af8432865c822bb751f029c6036c6e1975eeabc77c349a66559fa158f28f5807d799bb6e11b3168d1e0399924c3fadc754
23
24 diff --git a/dev-ml/topkg/topkg-0.9.1.ebuild b/dev-ml/topkg/topkg-0.9.1.ebuild
25 new file mode 100644
26 index 00000000000..2cfed454c25
27 --- /dev/null
28 +++ b/dev-ml/topkg/topkg-0.9.1.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit findlib
36 +
37 +DESCRIPTION="The transitory OCaml software packager"
38 +HOMEPAGE="http://erratique.ch/software/topkg https://github.com/dbuenzli/topkg"
39 +SRC_URI="https://github.com/dbuenzli/topkg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="ISC"
42 +SLOT="0/${PV}"
43 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
44 +IUSE=""
45 +
46 +RDEPEND="dev-ml/result:=
47 + dev-ml/ocamlbuild:=
48 + dev-ml/findlib:=
49 + dev-lang/ocaml:="
50 +DEPEND="${RDEPEND}"
51 +
52 +src_compile() {
53 + ocaml pkg/pkg.ml build --pkg-name ${PN} || die
54 +}
55 +
56 +src_install() {
57 + # Can't use opam-installer here as it is an opam dep...
58 + findlib_src_preinst
59 + local nativelibs="$(echo _build/src/${PN}*.cm{x,xa,xs,ti} _build/src/${PN}.a)"
60 + ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli _build/src/${PN}.cm{a,i} ${nativelibs} || die
61 + dodoc CHANGES.md DEVEL.md README.md
62 +}