package/python-webencodings: new package

License is not included in the tarball, so we'll use PKG-INFO
(the license was added to the MANIFEST, and maybe included on the
next release).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Asaf Kahlon 2019-10-09 22:31:36 +03:00 committed by Thomas Petazzoni
parent 22be0d3697
commit 7c70446e01
4 changed files with 26 additions and 0 deletions

View File

@ -1123,6 +1123,7 @@ menu "External python modules"
source "package/python-watchdog/Config.in"
source "package/python-wcwidth/Config.in"
source "package/python-web2py/Config.in"
source "package/python-webencodings/Config.in"
source "package/python-webob/Config.in"
source "package/python-webpy/Config.in"
source "package/python-websocket-client/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_WEBENCODINGS
bool "python-webencodings"
help
Character encoding aliases for legacy web content.
https://github.com/SimonSapin/python-webencodings

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/webencodings/json
md5 32f6e261d52e57bf7e1c4d41546d15b8 webencodings-0.5.1.tar.gz
sha256 b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923 webencodings-0.5.1.tar.gz
# Locally computed sha256 checksumms
sha256 c27693b0174d6d04dafd0242857ae72763f5404b675972c777fd865bc3c0abe1 PKG-INFO

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-webencodings
#
################################################################################
PYTHON_WEBENCODINGS_VERSION = 0.5.1
PYTHON_WEBENCODINGS_SOURCE = webencodings-$(PYTHON_WEBENCODINGS_VERSION).tar.gz
PYTHON_WEBENCODINGS_SITE = https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47
PYTHON_WEBENCODINGS_SETUP_TYPE = setuptools
PYTHON_WEBENCODINGS_LICENSE = BSD-3-Clause
PYTHON_WEBENCODINGS_LICENSE_FILES = PKG-INFO
$(eval $(python-package))