b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=python-cached-property |
| 4 | PKG_VERSION:=1.5.2 |
| 5 | PKG_RELEASE:=2 |
| 6 | |
| 7 | PYPI_NAME:=cached-property |
| 8 | PKG_HASH:=9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130 |
| 9 | |
| 10 | PKG_MAINTAINER:=Javier Marcet <javier@marcet.info> |
| 11 | PKG_LICENSE:=BSD-3-Clause |
| 12 | PKG_LICENSE_FILES:=LICENSE |
| 13 | |
| 14 | include ../pypi.mk |
| 15 | include $(INCLUDE_DIR)/package.mk |
| 16 | include ../python3-package.mk |
| 17 | |
| 18 | define Package/python3-cached-property |
| 19 | SECTION:=lang |
| 20 | CATEGORY:=Languages |
| 21 | SUBMENU:=Python |
| 22 | TITLE:=A decorator for caching properties in classes |
| 23 | URL:=https://github.com/pydanny/cached-property |
| 24 | DEPENDS:=+python3-light |
| 25 | endef |
| 26 | |
| 27 | define Package/python3-cached-property/description |
| 28 | A decorator for caching properties in classes. |
| 29 | endef |
| 30 | |
| 31 | $(eval $(call Py3Package,python3-cached-property)) |
| 32 | $(eval $(call BuildPackage,python3-cached-property)) |
| 33 | $(eval $(call BuildPackage,python3-cached-property-src)) |