diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-07-24 13:12:27 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-24 13:17:51 +0200 |
commit | 51471a62b04860c0f6bc432461df780535ac9094 (patch) | |
tree | 21cd36511e4c6634cf8892bf834ca4c7e885eb8f /dev-ml/angstrom | |
parent | gnustep-libs/netclasses: fix USE=doc install, thanks <deference@null.net> in ... (diff) | |
download | gentoo-51471a62b04860c0f6bc432461df780535ac9094.tar.gz gentoo-51471a62b04860c0f6bc432461df780535ac9094.tar.bz2 gentoo-51471a62b04860c0f6bc432461df780535ac9094.zip |
dev-ml/angstrom: bump to 0.6.0
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/angstrom')
-rw-r--r-- | dev-ml/angstrom/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/angstrom/angstrom-0.6.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ml/angstrom/Manifest b/dev-ml/angstrom/Manifest index b5a1799d0854..ad924f8a4c88 100644 --- a/dev-ml/angstrom/Manifest +++ b/dev-ml/angstrom/Manifest @@ -1 +1,2 @@ DIST angstrom-0.5.1.tar.gz 131214 SHA256 f9ae1834f5d89469b37c0f7a1a9c21a71c1085703ad34570791dbe7522889492 SHA512 e79c11333b11e2fb25f7a6667f9c6498a55ead7d9517c9b0e0b4e9cab1a220e65017a105e146f82688c54a6abf0f7a269ed163460f8fa83f95bec6bec61b8d5f WHIRLPOOL dd7382046338d615409d0af216db482072719580f5a96b6c6dd16b85d03dd125af834433fd4f3ef6de008319764aa76b2575edd698e9313ead931304cd45fdd0 +DIST angstrom-0.6.0.tar.gz 80393 SHA256 9080c6ad32ee5c31ae5b754370328daa5febb219ae2a1e8390fb469622dca7ee SHA512 4b03022f3e8147075653a9740473ce23fc42ba8c559f1b86311132fa1a09cfac0f044cb3a8c9fc2d97f4acef35806b4742606b0af22d6b07058e8a78c6672618 WHIRLPOOL a79f7e522e645b605eabb155c604cf6e2e435e9325551a22efbe5c1b12f57726c8ccdad510ef618cc510b409acc6cb86204630ecb4cf1af6d1adc628bb19dd33 diff --git a/dev-ml/angstrom/angstrom-0.6.0.ebuild b/dev-ml/angstrom/angstrom-0.6.0.ebuild new file mode 100644 index 000000000000..a339e74dacc6 --- /dev/null +++ b/dev-ml/angstrom/angstrom-0.6.0.ebuild @@ -0,0 +1,46 @@ +# 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 -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-lang/ocaml:= + dev-ml/ocaml-cstruct:= + dev-ml/ocplib-endian:= + dev-ml/result:= +" +DEPEND="${RDEPEND} + dev-ml/jbuilder + dev-ml/opam + test? ( dev-ml/alcotest )" + +# needs old alcotest... +RESTRICT="test" + +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 +} |