package/python-cachelib: new package

Provides caching APIs.
https://cachelib.readthedocs.io/en/stable/

Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Daniel Crowe
2025-04-01 10:07:22 +10:30
committed by Thomas Petazzoni
parent eb685196cd
commit 09bf1365f1
5 changed files with 30 additions and 0 deletions

View File

@@ -728,6 +728,9 @@ F: configs/odroidc2_defconfig
F: package/meson-tools/
F: package/odroidc2-firmware/
N: Daniel Crowe <daniel.crowe@maxmine.com.au>
F: package/python-cachelib/
N: Daniel J. Leach <dleach@belcan.com>
F: package/dacapo/

View File

@@ -1037,6 +1037,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-cachelib/Config.in"
source "package/python-cachetools/Config.in"
source "package/python-can/Config.in"
source "package/python-canopen/Config.in"

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_CACHELIB
bool "python-cachelib"
help
A collection of cache libraries in the same API interface.
https://github.com/pallets-eco/cachelib/

View File

@@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.org/pypi/cachelib/json
md5 fc25e9c9165cd5fd42ce282c2ba540fd cachelib-0.13.0.tar.gz
sha256 209d8996e3c57595bee274ff97116d1d73c4980b2fd9a34c7846cd07fd2e1a48 cachelib-0.13.0.tar.gz
# Locally computed sha256 checksums
sha256 cd418120812dc2626281ae027e81b648229d166b5aca7472cecd510038d36e7d LICENSE.rst
sha256 c9362a7258a11c84a8f7e825ccbbb5c425c6fc02368d3aee6494533fb99ba1f4 docs/license.rst

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-cachelib
#
################################################################################
PYTHON_CACHELIB_VERSION = 0.13.0
PYTHON_CACHELIB_SOURCE = cachelib-$(PYTHON_CACHELIB_VERSION).tar.gz
PYTHON_CACHELIB_SITE = https://files.pythonhosted.org/packages/1d/69/0b5c1259e12fbcf5c2abe5934b5c0c1294ec0f845e2b4b2a51a91d79a4fb
PYTHON_CACHELIB_SETUP_TYPE = setuptools
PYTHON_CACHELIB_LICENSE = BSD-3-Clause
PYTHON_CACHELIB_LICENSE_FILES = LICENSE.rst docs/license.rst
$(eval $(python-package))