diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-07-02 17:57:01 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-02 17:57:15 +0200 |
commit | 62fc88e172cca1e3ac4873693f0891cfca91f0c5 (patch) | |
tree | ae2798fdf69d8f2aa401f7b8cd837a3d1b76c5b6 /dev-ml/angstrom | |
parent | dev-ml/ocaml-doc: bump to 4.05 (diff) | |
download | gentoo-62fc88e172cca1e3ac4873693f0891cfca91f0c5.tar.gz gentoo-62fc88e172cca1e3ac4873693f0891cfca91f0c5.tar.bz2 gentoo-62fc88e172cca1e3ac4873693f0891cfca91f0c5.zip |
dev-ml/angstrom: initial import; ebuild by me
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/angstrom')
-rw-r--r-- | dev-ml/angstrom/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/angstrom/angstrom-0.5.1.ebuild | 36 | ||||
-rw-r--r-- | dev-ml/angstrom/metadata.xml | 15 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-ml/angstrom/Manifest b/dev-ml/angstrom/Manifest new file mode 100644 index 000000000000..b5a1799d0854 --- /dev/null +++ b/dev-ml/angstrom/Manifest @@ -0,0 +1 @@ +DIST angstrom-0.5.1.tar.gz 131214 SHA256 f9ae1834f5d89469b37c0f7a1a9c21a71c1085703ad34570791dbe7522889492 SHA512 e79c11333b11e2fb25f7a6667f9c6498a55ead7d9517c9b0e0b4e9cab1a220e65017a105e146f82688c54a6abf0f7a269ed163460f8fa83f95bec6bec61b8d5f WHIRLPOOL dd7382046338d615409d0af216db482072719580f5a96b6c6dd16b85d03dd125af834433fd4f3ef6de008319764aa76b2575edd698e9313ead931304cd45fdd0 diff --git a/dev-ml/angstrom/angstrom-0.5.1.ebuild b/dev-ml/angstrom/angstrom-0.5.1.ebuild new file mode 100644 index 000000000000..f5d25f5dc761 --- /dev/null +++ b/dev-ml/angstrom/angstrom-0.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +OASIS_BUILD_TESTS=1 + +inherit oasis + +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="+lwt async" + +RDEPEND=" + dev-ml/ocaml-cstruct:= + dev-ml/ocplib-endian:= + dev-ml/result:= + lwt? ( dev-ml/lwt:= ) + async? ( dev-ml/async:= ) +" +DEPEND="${RDEPEND} + test? ( dev-ml/alcotest )" + +# needs old alcotest... +RESTRICT="test" + +DOCS=( README.md ) + +src_configure() { + oasis_configure_opts="$(use_enable lwt) $(use_enable async)" oasis_src_configure +} diff --git a/dev-ml/angstrom/metadata.xml b/dev-ml/angstrom/metadata.xml new file mode 100644 index 000000000000..4e11ac5a6965 --- /dev/null +++ b/dev-ml/angstrom/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <use> + <flag name="async">Enable <pkg>dev-ml/async</pkg> bindings for asynchronous API.</flag> + <flag name="lwt">Enable <pkg>dev-ml/lwt</pkg> bindings for asynchronous API.</flag> + </use> + <upstream> + <remote-id type="github">inhabitedtype/angstrom</remote-id> + </upstream> +</pkgmetadata> |