package/python-cachetools: 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 2023-12-14 12:24:35 -07:00 committed by Thomas Petazzoni
parent 3217fedcb8
commit 34b9fa1caa
4 changed files with 26 additions and 0 deletions

View File

@ -1015,6 +1015,7 @@ menu "External python modules"
source "package/python-brotli/Config.in"
source "package/python-bsdiff4/Config.in"
source "package/python-cached-property/Config.in"
source "package/python-cachetools/Config.in"
source "package/python-can/Config.in"
source "package/python-canopen/Config.in"
source "package/python-cbor/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_CACHETOOLS
bool "python-cachetools"
help
Extensible memoizing collections and decorators.
https://github.com/tkem/cachetools/

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/cachetools/json
md5 5317c13b69c4021e925a2fbbc199bcc9 cachetools-5.3.2.tar.gz
sha256 086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 cachetools-5.3.2.tar.gz
# Locally computed sha256 checksums
sha256 76260c1370a7d41d5fac71a27d781f3add5d7249adfbbfa930846d2d9e47dbd5 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-cachetools
#
################################################################################
PYTHON_CACHETOOLS_VERSION = 5.3.2
PYTHON_CACHETOOLS_SOURCE = cachetools-$(PYTHON_CACHETOOLS_VERSION).tar.gz
PYTHON_CACHETOOLS_SITE = https://files.pythonhosted.org/packages/10/21/1b6880557742c49d5b0c4dcf0cf544b441509246cdd71182e0847ac859d5
PYTHON_CACHETOOLS_SETUP_TYPE = setuptools
PYTHON_CACHETOOLS_LICENSE = MIT
PYTHON_CACHETOOLS_LICENSE_FILES = LICENSE
$(eval $(python-package))