blob: fbe2dff94d6e6ac41c52710c54aca952781effac [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-cachetools
11PKG_VERSION:=5.3.1
12PKG_RELEASE:=1
13
14PYPI_NAME:=cachetools
15PKG_HASH:=dce83f2d9b4e1f732a8cd44af8e8fab2dbe46201467fc98b3ef8f269092bf62b
16
17PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
18PKG_LICENSE:=MIT
19PKG_LICENSE_FILES:=LICENSE
20
21include ../pypi.mk
22include $(INCLUDE_DIR)/package.mk
23include ../python3-package.mk
24
25define Package/python3-cachetools
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=Extensible memoizing collections and decorators
30 URL:=https://github.com/tkem/cachetools
31 DEPENDS:=+python3-light
32endef
33
34define Package/python3-cachetools/description
35This module provides various memoizing collections and decorators,
36including variants of the Python 3 Standard Library's @lru_cache
37function decorator.
38endef
39
40$(eval $(call Py3Package,python3-cachetools))
41$(eval $(call BuildPackage,python3-cachetools))
42$(eval $(call BuildPackage,python3-cachetools-src))