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.

55 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=colorama
  3. PKG_VERSION:=0.4.1
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=$(PKG_NAME)
  6. PKG_HASH:=05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d
  7. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  8. PKG_LICENSE:=MIT
  9. include ../pypi.mk
  10. include $(INCLUDE_DIR)/package.mk
  11. include ../python-package.mk
  12. include ../python3-package.mk
  13. define Package/python-colorama/Default
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=colorama
  18. URL:=https://github.com/tartley/colorama
  19. endef
  20. define Package/python-colorama
  21. $(call Package/python-colorama/Default)
  22. DEPENDS:=+PACKAGE_python-colorama:python
  23. VARIANT:=python
  24. endef
  25. define Package/python3-colorama
  26. $(call Package/python-colorama/Default)
  27. DEPENDS:=+PACKAGE_python3-colorama:python3
  28. VARIANT:=python3
  29. endef
  30. define Package/python-colorama/description
  31. Makes ANSI escape character sequences
  32. (for producing colored terminal text and cursor positioning) work under MS Windows.
  33. endef
  34. define Package/python3-colorama/description
  35. $(call Package/python-colorama/description)
  36. .
  37. (Variant for Python3)
  38. endef
  39. $(eval $(call PyPackage,python-colorama))
  40. $(eval $(call BuildPackage,python-colorama))
  41. $(eval $(call BuildPackage,python-colorama-src))
  42. $(eval $(call Py3Package,python3-colorama))
  43. $(eval $(call BuildPackage,python3-colorama))
  44. $(eval $(call BuildPackage,python3-colorama-src))