package/python-tomli: new package

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 2022-01-01 12:30:14 -07:00 committed by Thomas Petazzoni
parent 4f5ce3ad2c
commit fff307fc4a
5 changed files with 30 additions and 0 deletions

View File

@ -1312,6 +1312,7 @@ F: package/python-snappy/
F: package/python-sockjs/
F: package/python-terminaltables/
F: package/python-tinycss2/
F: package/python-tomli/
F: package/python-weasyprint/
F: package/python-yarl/
F: package/python-zopfli/

View File

@ -1264,6 +1264,7 @@ menu "External python modules"
source "package/python-tinyrpc/Config.in"
source "package/python-tomako/Config.in"
source "package/python-toml/Config.in"
source "package/python-tomli/Config.in"
source "package/python-tornado/Config.in"
source "package/python-tqdm/Config.in"
source "package/python-traitlets/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_TOMLI
bool "python-tomli"
depends on BR2_PACKAGE_PYTHON3
help
A lil' TOML parser.
https://github.com/hukkin/tomli

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/tomli/json
md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz
sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz
# Locally computed sha256 checksums
sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE

View File

@ -0,0 +1,16 @@
################################################################################
#
# python-tomli
#
################################################################################
PYTHON_TOMLI_VERSION = 1.2.0
PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz
PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa
PYTHON_TOMLI_SETUP_TYPE = distutils
PYTHON_TOMLI_LICENSE = MIT
PYTHON_TOMLI_LICENSE_FILES = LICENSE
HOST_PYTHON_TOMLI_NEEDS_HOST_PYTHON = python3
$(eval $(python-package))
$(eval $(host-python-package))