Files
packages/lang/python/python-cached-property/Makefile
T
Alexandru Ardelean 6defd87092 python-cached-property: update to 2.0.1
- bump 1.5.2 -> 2.0.1
- add PYPI_SOURCE_NAME:=cached_property (PyPI renamed tarball from
  cached-property to cached_property)
- add PKG_BUILD_DEPENDS:=python-setuptools/host
- add +python3-asyncio +python3-logging to DEPENDS (new in 2.x)
- add test.sh

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 19:01:19 +03:00

37 lines
1000 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=python-cached-property
PKG_VERSION:=2.0.1
PKG_RELEASE:=1
PYPI_NAME:=cached-property
PYPI_SOURCE_NAME:=cached_property
PKG_HASH:=484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641
PKG_BUILD_DEPENDS:=python-setuptools/host
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-cached-property
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=A decorator for caching properties in classes
URL:=https://github.com/pydanny/cached-property
DEPENDS:=+python3-light +python3-asyncio +python3-logging
endef
define Package/python3-cached-property/description
A decorator for caching properties in classes.
endef
$(eval $(call Py3Package,python3-cached-property))
$(eval $(call BuildPackage,python3-cached-property))
$(eval $(call BuildPackage,python3-cached-property-src))