Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fastparquet/
Date: Mon, 31 Jul 2017 18:12:45
Message-Id: 1501524707.a8e53918df21ac50da6310a1b148b39421acc73d.bicatali@gentoo
commit:     a8e53918df21ac50da6310a1b148b39421acc73d
Author:     S├ębastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 29 18:55:43 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 18:11:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e53918

dev-python/fastparquet: version bump, added brotli and lzo compression

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/fastparquet/Manifest                 |  1 +
 dev-python/fastparquet/fastparquet-0.1.1.ebuild | 32 +++++++++++++++++++++++++
 dev-python/fastparquet/metadata.xml             |  4 ++++
 3 files changed, 37 insertions(+)

diff --git a/dev-python/fastparquet/Manifest b/dev-python/fastparquet/Manifest
index 844787fdd17..875029601d2 100644
--- a/dev-python/fastparquet/Manifest
+++ b/dev-python/fastparquet/Manifest
@@ -1 +1,2 @@
 DIST fastparquet-0.1.0.tar.gz 118108 SHA256 dad60f61596b0118b50c727d8abd10115ec5e172ca5cb14211a3d6dfe1075c6b SHA512 9aa61f998cd95e4242635ef729c29fa5c66834bdd501fe7d104317a767c5eebc6a1d1aecbd669a39c855f5f2d1650af153b77f12c0120e6e5d13cb8f78e4cba0 WHIRLPOOL c4bc25df8ca0964f6df19840fd7f8c6aab4a6beb2ef8a3d714291121e73a15d3e005cf4534832782eba64a30ba29c63b92d6862a06c7e1db50910d695bbe8a0d
+DIST fastparquet-0.1.1.tar.gz 119573 SHA256 189105b53f56b5ed4d9077a0b22de0055b79917ae9a083dfb7abe9453d754d28 SHA512 f8f052202ca095596870e6a10e2ab05e3c55289cd0ef3dab0502dff26052c9970f65f6b826d4d073c6c221827f6b18ddc83c47c04e84e08491f5237358f5860a WHIRLPOOL 4c9d7b7523da38f2b8230cbddfe70a6ffec69653858dae1ede5776fa033775420dd9afb31876d2c50df595f43f05f7c8a1698507bb9aaff6e3d3e1b23f83cc12

diff --git a/dev-python/fastparquet/fastparquet-0.1.1.ebuild b/dev-python/fastparquet/fastparquet-0.1.1.ebuild
new file mode 100644
index 00000000000..01c8d3c54fb
--- /dev/null
+++ b/dev-python/fastparquet/fastparquet-0.1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of the parquet columnar file format"
+HOMEPAGE="https://github.com/dask/fastparquet"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="brotli lzo +snappy"
+
+RDEPEND="
+	dev-python/numba[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pandas[${PYTHON_USEDEP}]
+	dev-python/thriftpy[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	brotli? ( app-arch/brotli[python,${PYTHON_USEDEP}] )
+	lzo? ( dev-python/python-lzo[${PYTHON_USEDEP}] )
+	snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/cython[${PYTHON_USEDEP}]
+"

diff --git a/dev-python/fastparquet/metadata.xml b/dev-python/fastparquet/metadata.xml
index e579ca0f59f..0866e1d45e8 100644
--- a/dev-python/fastparquet/metadata.xml
+++ b/dev-python/fastparquet/metadata.xml
@@ -17,4 +17,8 @@
     <remote-id type="pypi">fastparquet</remote-id>
     <remote-id type="github">dask/fastparquet</remote-id>
   </upstream>
+  <use>
+    <flag name="brotli">Enable support for brotli compression</flag>    
+    <flag name="snappy">Enable support for snappy compression</flag>
+  </use>
 </pkgmetadata>