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/bos/
Date: Tue, 20 Jun 2017 21:33:45
Message-Id: 1497994268.b90ef0cb96667e97cc7f02d0581825b8ef12b5f6.aballier@gentoo
1 commit: b90ef0cb96667e97cc7f02d0581825b8ef12b5f6
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 20 21:31:08 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 20 21:31:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b90ef0cb
7
8 dev-ml/bos: initial import
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-ml/bos/Manifest | 1 +
13 dev-ml/bos/bos-0.1.6.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++
14 dev-ml/bos/metadata.xml | 11 +++++++++++
15 3 files changed, 56 insertions(+)
16
17 diff --git a/dev-ml/bos/Manifest b/dev-ml/bos/Manifest
18 new file mode 100644
19 index 00000000000..16b9abcf806
20 --- /dev/null
21 +++ b/dev-ml/bos/Manifest
22 @@ -0,0 +1 @@
23 +DIST bos-0.1.6.tbz 39822 SHA256 9abe76e0d94d1d912f0057dc3976c88d87ab9d5ba05d923c38c7b586e35f3afd SHA512 f1f10a97a32da936a7d5a0c70632e723723ee523c79f9dfd23bc42c039a194e8d69658483e6e856c7911332b799a92bf8cabfe96cc387522d7450b8f3f8f8343 WHIRLPOOL 0f2fca003dde8aebee99c5ab590e4f9e527eaa17464bd34b4c31a37c39e4b06c25568d4254028cd11a6328a93ffd96d161d9188deaffb82499943cd69960e9ea
24
25 diff --git a/dev-ml/bos/bos-0.1.6.ebuild b/dev-ml/bos/bos-0.1.6.ebuild
26 new file mode 100644
27 index 00000000000..a3b7dc553e2
28 --- /dev/null
29 +++ b/dev-ml/bos/bos-0.1.6.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +DESCRIPTION="Basic OS interaction for OCaml"
37 +HOMEPAGE="http://erratique.ch/software/bos https://github.com/dbuenzli/bos"
38 +SRC_URI="http://erratique.ch/software/bos/releases/${P}.tbz"
39 +
40 +LICENSE="ISC"
41 +SLOT="0/${PV}"
42 +KEYWORDS="~amd64"
43 +IUSE="test"
44 +
45 +RDEPEND="
46 + dev-lang/ocaml:=
47 + dev-ml/rresult:=
48 + dev-ml/astring:=
49 + dev-ml/fpath:=
50 + dev-ml/fmt:=
51 + dev-ml/logs:=
52 +"
53 +DEPEND="${RDEPEND}
54 + dev-ml/findlib
55 + dev-ml/ocamlbuild
56 + dev-ml/topkg
57 + test? ( dev-ml/mtime )
58 +"
59 +
60 +src_compile() {
61 + ocaml pkg/pkg.ml build --tests $(usex test true false) || die
62 +}
63 +
64 +src_test() {
65 + ocaml pkg/pkg.ml test || die
66 +}
67 +
68 +src_install() {
69 + opam-installer -i \
70 + --prefix="${ED}/usr" \
71 + --libdir="${D}/$(ocamlc -where)" \
72 + --docdir="${ED}/usr/share/doc/${PF}" \
73 + ${PN}.install || die
74 +}
75
76 diff --git a/dev-ml/bos/metadata.xml b/dev-ml/bos/metadata.xml
77 new file mode 100644
78 index 00000000000..9b594d778b1
79 --- /dev/null
80 +++ b/dev-ml/bos/metadata.xml
81 @@ -0,0 +1,11 @@
82 +<?xml version="1.0" encoding="UTF-8"?>
83 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
84 +<pkgmetadata>
85 +<maintainer type="project">
86 + <email>ml@g.o</email>
87 + <name>Gentoo ML Project</name>
88 +</maintainer>
89 + <upstream>
90 + <remote-id type="github">dbuenzli/bos</remote-id>
91 + </upstream>
92 +</pkgmetadata>