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.

40 lines
980 B

  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 ../python3-package.mk
  12. define Package/python-colorama/Default
  13. SUBMENU:=Python
  14. SECTION:=lang
  15. CATEGORY:=Languages
  16. TITLE:=colorama
  17. URL:=https://github.com/tartley/colorama
  18. endef
  19. define Package/python3-colorama
  20. $(call Package/python-colorama/Default)
  21. DEPENDS:=+PACKAGE_python3-colorama:python3
  22. VARIANT:=python3
  23. endef
  24. define Package/python3-colorama/description
  25. Makes ANSI escape character sequences
  26. (for producing colored terminal text and cursor positioning) work under MS Windows.
  27. .
  28. (Variant for Python3)
  29. endef
  30. $(eval $(call Py3Package,python3-colorama))
  31. $(eval $(call BuildPackage,python3-colorama))
  32. $(eval $(call BuildPackage,python3-colorama-src))