package/python-packaging: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Marcin Niestroj 2020-04-30 15:11:29 +02:00 committed by Thomas Petazzoni
parent 03787685ea
commit d1563a5b10
5 changed files with 31 additions and 0 deletions

View file

@ -1597,6 +1597,7 @@ F: package/luaossl/
F: package/murata-cyw-fw/
F: package/netdata/
F: package/python-ansicolors/
F: package/python-packaging/
F: package/rs485conf/
F: package/turbolua/
F: support/testing/tests/package/test_netdata.py

View file

@ -1046,6 +1046,7 @@ menu "External python modules"
source "package/python-nfc/Config.in"
source "package/python-numpy/Config.in"
source "package/python-oauthlib/Config.in"
source "package/python-packaging/Config.in"
source "package/python-paho-mqtt/Config.in"
source "package/python-pam/Config.in"
source "package/python-paramiko/Config.in"

View file

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_PACKAGING
bool "python-packaging"
select BR2_PACKAGE_PYTHON_PYPARSING # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help
Core utilities for Python packages.
https://github.com/pypa/packaging

View file

@ -0,0 +1,7 @@
# md5, sha256 from https://pypi.org/pypi/packaging/json
md5 19e0d1f82a9007b448650ccfeffd0a26 packaging-20.3.tar.gz
sha256 3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3 packaging-20.3.tar.gz
# Locally computed sha256 checksums
sha256 cad1ef5bd340d73e074ba614d26f7deaca5c7940c3d8c34852e65c4909686c48 LICENSE
sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.APACHE
sha256 b70e7e9b742f1cc6f948b34c16aa39ffece94196364bc88ff0d2180f0028fac5 LICENSE.BSD

View file

@ -0,0 +1,14 @@
################################################################################
#
# python-packaging
#
################################################################################
PYTHON_PACKAGING_VERSION = 20.3
PYTHON_PACKAGING_SOURCE = packaging-$(PYTHON_PACKAGING_VERSION).tar.gz
PYTHON_PACKAGING_SITE = https://files.pythonhosted.org/packages/65/37/83e3f492eb52d771e2820e88105f605335553fe10422cba9d256faeb1702
PYTHON_PACKAGING_SETUP_TYPE = setuptools
PYTHON_PACKAGING_LICENSE = Apache-2.0 or BSD-2-Clause
PYTHON_PACKAGING_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD
$(eval $(python-package))