dev-ml/octavius: initial import
authorAlexis Ballier <aballier@gentoo.org>
Sat, 1 Apr 2017 16:25:09 +0000 (18:25 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 2 Apr 2017 08:37:53 +0000 (10:37 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-ml/octavius/Manifest [new file with mode: 0644]
dev-ml/octavius/metadata.xml [new file with mode: 0644]
dev-ml/octavius/octavius-0.2.0.ebuild [new file with mode: 0644]

diff --git a/dev-ml/octavius/Manifest b/dev-ml/octavius/Manifest
new file mode 100644 (file)
index 0000000..253e1d9
--- /dev/null
@@ -0,0 +1 @@
+DIST octavius-0.2.0.tar.gz 13808 SHA256 a68c959e7f64dffa8e4b5f591aa22acc47b9718532ce16516afdb249fa67d994 SHA512 44ec9ce394ca3faa2c5ff7986ff0ba3c88ea62eb55fadcec4b51e3dea94144bd1c0fd496080d83fbc429a98f699003049325750b1b2f1de6639cbc5ac9ddacaa WHIRLPOOL 11900567706cead315c1a741f836ce325262708b14661cb697af36ce17f7a6ec35655e781bf5ca5ee92ce1862a349d6ab49ad9a44dbcb318d6187d0b7dec5423
diff --git a/dev-ml/octavius/metadata.xml b/dev-ml/octavius/metadata.xml
new file mode 100644 (file)
index 0000000..ffac4d7
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+       <email>ml@gentoo.org</email>
+       <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/octavius/octavius-0.2.0.ebuild b/dev-ml/octavius/octavius-0.2.0.ebuild
new file mode 100644 (file)
index 0000000..3c39b84
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib
+
+DESCRIPTION="ocamldoc comment syntax parser"
+HOMEPAGE="https://github.com/ocaml-doc/octavius"
+SRC_URI="https://github.com/ocaml-doc/octavius/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="dev-lang/ocaml:="
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+       dev-ml/topkg
+       dev-ml/opam
+       dev-ml/ocamlbuild"
+
+src_compile() {
+       ocaml pkg/pkg.ml build --tests $(usex test true false) || die
+}
+
+src_test() {
+       ocaml pkg/pkg.ml test || die
+}
+
+src_install() {
+       opam-installer -i \
+               --prefix="${ED}/usr" \
+               --libdir="${D}/$(ocamlc -where)" \
+               --docdir="${ED}/usr/share/doc/${PF}" \
+               ${PN}.install || die
+}