summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-07-19 18:45:21 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-07-21 00:22:29 +0000
commit5ca018d64a95e8c0396746677a7dba481f5991d3 (patch)
tree8717978d450682c1931e1fa97bc7f7ec8f1d064c /dev-python/snappy
parentdev-python/numba: version bump (diff)
downloadgentoo-5ca018d64a95e8c0396746677a7dba481f5991d3.tar.gz
gentoo-5ca018d64a95e8c0396746677a7dba481f5991d3.tar.bz2
gentoo-5ca018d64a95e8c0396746677a7dba481f5991d3.zip
dev-python/snappy: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/snappy')
-rw-r--r--dev-python/snappy/Manifest1
-rw-r--r--dev-python/snappy/snappy-0.5.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/snappy/Manifest b/dev-python/snappy/Manifest
index 8177e7ed6d74..cee4f4e480f8 100644
--- a/dev-python/snappy/Manifest
+++ b/dev-python/snappy/Manifest
@@ -1 +1,2 @@
+DIST python-snappy-0.5.1.tar.gz 15252 SHA256 385fb216e7d1241f70c14c2bea3f042ec235caa65d708294f1ece50d3efa5de3 SHA512 95a6389c58790aaeff61419bb9f183a29ad801733cae8144a67eb6203a8ebf6c6790bea7c025b37588dc98ebd2fed20f37857d2f30199f507f52653d2475c16b WHIRLPOOL 5119e737f44fc6346c2c4a2dbb4cea3ddd5b59d0ba886e81d7f1ebcef6298b165034d10e49db41f2deb24d2a292555981b67d9052ee0fc050943b4243cc8c2c1
DIST python-snappy-0.5.tar.gz 12495 SHA256 c7fe37679ebfc73840c7cc83657a76bc1ac978efa286b8ac3569fd0630d2b80d SHA512 0be15ea133e3a47c6cdb2a340061bf2779d4aae4b34848cd60e6657c168a76970c41f2bae4f57993862bb65c75baa7cf6a562fcbff4c81e22fe7bac69e7d73b1 WHIRLPOOL e0a3afb0d21bd11f6935701fdd7ebc4f0149502d36852c930ea8600cef44f25eb68d3848c96560090d56e4a1c88990d8a3fb9ac6cc854e0b9eb00496501f9759
diff --git a/dev-python/snappy/snappy-0.5.1.ebuild b/dev-python/snappy/snappy-0.5.1.ebuild
new file mode 100644
index 000000000000..0f4866993a9e
--- /dev/null
+++ b/dev-python/snappy/snappy-0.5.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_4,3_5,3_6} )
+
+inherit distutils-r1
+
+MY_PN=python-${PN}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python library for the snappy compression library from Google"
+HOMEPAGE="https://pypi.python.org/pypi/python-snappy"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+
+RDEPEND=">=app-arch/snappy-1.0.2:="
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${RDEPEND}
+"
+
+S="${WORKDIR}/${MY_P}"
+
+
+python_test() {
+ "${EPYTHON}" test_snappy.py -v || die "Tests fail with ${EPYTHON}"
+}