Skip to content

Commit

Permalink
dev-ml/angstrom-unix: import split 0.6 version
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
aballier committed Jul 24, 2017
1 parent 51471a6 commit 1dcda20
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/angstrom-unix/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST angstrom-0.6.0.tar.gz 80393 SHA256 9080c6ad32ee5c31ae5b754370328daa5febb219ae2a1e8390fb469622dca7ee SHA512 4b03022f3e8147075653a9740473ce23fc42ba8c559f1b86311132fa1a09cfac0f044cb3a8c9fc2d97f4acef35806b4742606b0af22d6b07058e8a78c6672618 WHIRLPOOL a79f7e522e645b605eabb155c604cf6e2e435e9325551a22efbe5c1b12f57726c8ccdad510ef618cc510b409acc6cb86204630ecb4cf1af6d1adc628bb19dd33
42 changes: 42 additions & 0 deletions dev-ml/angstrom-unix/angstrom-unix-0.6.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit findlib

DESCRIPTION="Parser combinators built for speed and memory efficiency"
HOMEPAGE="https://github.com/inhabitedtype/angstrom"
SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> angstrom-${PV}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="
dev-lang/ocaml:=
dev-ml/angstrom:=
"
DEPEND="${RDEPEND}
dev-ml/jbuilder
dev-ml/opam"

S="${WORKDIR}/angstrom-${PV}"

src_compile() {
jbuilder build -p ${PN} || die
}

src_test() {
jbuilder runtest -p ${PN}
}

src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}
11 changes: 11 additions & 0 deletions dev-ml/angstrom-unix/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo ML Project</name>
</maintainer>
<upstream>
<remote-id type="github">inhabitedtype/angstrom</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 1dcda20

Please sign in to comment.