package/python-snappy: new package

Python library for the snappy compression library from Google.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2020-02-12 23:58:24 -07:00 committed by Thomas Petazzoni
parent 8371f09622
commit f8c17ddcc7
5 changed files with 33 additions and 0 deletions

View File

@ -1201,6 +1201,7 @@ F: package/python-janus/
F: package/python-logstash/
F: package/python-multidict/
F: package/python-pycares/
F: package/python-snappy/
F: package/python-sockjs/
F: package/python-terminaltables/
F: package/python-yarl/

View File

@ -1149,6 +1149,7 @@ menu "External python modules"
source "package/python-slob/Config.in"
source "package/python-smbus-cffi/Config.in"
source "package/python-smmap2/Config.in"
source "package/python-snappy/Config.in"
source "package/python-socketio/Config.in"
source "package/python-sockjs/Config.in"
source "package/python-sortedcontainers/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_PYTHON_SNAPPY
bool "python-snappy"
depends on BR2_INSTALL_LIBSTDCPP # snappy
select BR2_PACKAGE_SNAPPY
help
Python library for the snappy compression library from
Google.
http://github.com/andrix/python-snappy
comment "python-snappy needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/python-snappy/json
md5 82e09ffd44204096fc70d6de14d0ea2f python-snappy-0.5.4.tar.gz
sha256 d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 python-snappy-0.5.4.tar.gz
# Locally computed sha256 checksums
sha256 d007cb05f143d99d16d5cd0d1bf291daf037adb36800344e440ec26edb938f9a LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-snappy
#
################################################################################
PYTHON_SNAPPY_VERSION = 0.5.4
PYTHON_SNAPPY_SITE = https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be
PYTHON_SNAPPY_SETUP_TYPE = setuptools
PYTHON_SNAPPY_LICENSE = BSD-3-Clause
PYTHON_SNAPPY_LICENSE_FILES = LICENSE
PYTHON_SNAPPY_DEPENDENCIES = snappy
$(eval $(python-package))