You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
970 B

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=python-decorator
  6. PKG_VERSION:=4.3.2
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
  9. PKG_CPE_ID:=cpe:/a:python:decorator
  10. PKG_SOURCE_URL:=https://codeload.github.com/micheles/decorator/tar.gz/$(PKG_VERSION)?
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_HASH:=c053ec881270608a5aef624a45a7700ec76ceca9d96689506411e1f319085380
  13. PKG_BUILD_DIR:=$(BUILD_DIR)/decorator-$(PKG_VERSION)
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. define Package/python3-decorator
  17. SECTION:=lang
  18. CATEGORY:=Languages
  19. SUBMENU:=Python
  20. URL:=https://github.com/micheles/decorator
  21. TITLE:=python3-decodator
  22. DEPENDS:=+python3-light
  23. VARIANT:=python3
  24. endef
  25. $(eval $(call Py3Package,python3-decorator))
  26. $(eval $(call BuildPackage,python3-decorator))
  27. $(eval $(call BuildPackage,python3-decorator-src))