summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-27 14:10:13 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-27 14:48:28 +0100
commit8163bfa18bbf6807d6f7ef01eff9ffb7b8989781 (patch)
treeed9ac89bd1f49b3352829df33f798fc77e746d13 /dev-ml/csv
parentdev-util/drone: Add new snapshot (diff)
downloadgentoo-8163bfa18bbf6807d6f7ef01eff9ffb7b8989781.tar.gz
gentoo-8163bfa18bbf6807d6f7ef01eff9ffb7b8989781.tar.bz2
gentoo-8163bfa18bbf6807d6f7ef01eff9ffb7b8989781.zip
dev-ml/csv: Bump to 1.6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/csv')
-rw-r--r--dev-ml/csv/Manifest1
-rw-r--r--dev-ml/csv/csv-1.6.ebuild29
-rw-r--r--dev-ml/csv/metadata.xml3
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/csv/Manifest b/dev-ml/csv/Manifest
index c8d5b456589b..2723145ddfb1 100644
--- a/dev-ml/csv/Manifest
+++ b/dev-ml/csv/Manifest
@@ -1 +1,2 @@
DIST csv-1.5.tar.gz 83642 SHA256 f6307634e5f5fe3d64b90fdf8841b3f50dac80ed45b40d390ee44490c62bf58f SHA512 1c8af0ce8abd8a5710115c194eee34928399964447309ee974665cf427396def42bca4f983904bfec706f7944aea419a87bf54bc6c379cb8b7372be801be4126 WHIRLPOOL fe39114b74cb12b382da64307b8253297614f537ef4309cdcec58e9ec68ff49791d6ef90b4870200f24f6726471ceb925d0a79336853c27769af07413a3c373d
+DIST csv-1.6.tar.gz 98194 SHA256 f217f00a397aa79bcd3f1a657a04cb46d08c7d00f4c3836467dad83d08ea6767 SHA512 689dae2dd57ec914ca1dd5e3d34ebd352aabb7d5da8933aa6c6fc9c6ec84dc538d1df8a1c46f3e172ab09e5917e9158be76afb2423ec8a92eef489ac5dfd5175 WHIRLPOOL 7a9c6cbb33866e6d2e694e1d19ff8c5e9cdb5a5ad4ee2bc7252007a76a22863dda4a34bbaa45579e6487a6b25e5b8afe44e40a067af835d3aca59dac491acd20
diff --git a/dev-ml/csv/csv-1.6.ebuild b/dev-ml/csv/csv-1.6.ebuild
new file mode 100644
index 000000000000..a725347d62e1
--- /dev/null
+++ b/dev-ml/csv/csv-1.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="A pure OCaml library to read and write CSV files"
+HOMEPAGE="https://github.com/Chris00/ocaml-csv"
+SRC_URI="https://github.com/Chris00/ocaml-csv/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+lwt"
+
+DEPEND="lwt? ( dev-ml/lwt:= )"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.txt" "AUTHORS.txt" )
+
+src_configure() {
+ oasis_configure_opts="$(use_enable lwt)" \
+ oasis_src_configure
+}
diff --git a/dev-ml/csv/metadata.xml b/dev-ml/csv/metadata.xml
index 4f4cfaf99277..2aa54c8c0572 100644
--- a/dev-ml/csv/metadata.xml
+++ b/dev-ml/csv/metadata.xml
@@ -8,4 +8,7 @@
<upstream>
<remote-id type="github">Chris00/ocaml-csv</remote-id>
</upstream>
+ <use>
+ <flag name="lwt">Enables the Lwt-based library for asynchronous operations.</flag>
+ </use>
</pkgmetadata>