diff options
| author | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-04-24 14:07:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-24 14:07:08 +0200 |
| commit | ea7df85c0b459aa656b352561cd5020262c3cd60 (patch) | |
| tree | e1a93a44c236f92d8a33821fcfe494411d4451dd /lang/python/python-colorama/Makefile | |
| parent | ef6393ac0c41550441981ca1af7aea1c9d9d792c (diff) | |
| parent | 41ef6b91f7bb684c6187d8afa1b4d5cb0b96f476 (diff) | |
Merge pull request #8214 from dddaniel/master
Adding awscli to python packages
Diffstat (limited to 'lang/python/python-colorama/Makefile')
| -rw-r--r-- | lang/python/python-colorama/Makefile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/lang/python/python-colorama/Makefile b/lang/python/python-colorama/Makefile new file mode 100644 index 000000000..815708cfb --- /dev/null +++ b/lang/python/python-colorama/Makefile @@ -0,0 +1,58 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=colorama +PKG_VERSION:=0.4.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/c/colorama +PKG_HASH:=05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-colorama-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com> +PKG_LICENSE:=MIT + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk +include ../python3-package.mk + +PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) + +define Package/python-colorama/Default + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=colorama + URL:=https://github.com/tartley/colorama +endef + +define Package/python-colorama +$(call Package/python-colorama/Default) + DEPENDS:=+python + VARIANT:=python +endef + +define Package/python3-colorama +$(call Package/python-colorama/Default) + DEPENDS:=+python3 + VARIANT:=python3 +endef + +define Package/python-colorama/description +Makes ANSI escape character sequences +(for producing colored terminal text and cursor positioning) work under MS Windows. +endef + +define Package/python3-colorama/description +$(call Package/python-colorama/description) +. +(Variant for Python3) +endef + +$(eval $(call PyPackage,python-colorama)) +$(eval $(call BuildPackage,python-colorama)) +$(eval $(call BuildPackage,python-colorama-src)) + +$(eval $(call Py3Package,python3-colorama)) +$(eval $(call BuildPackage,python3-colorama)) +$(eval $(call BuildPackage,python3-colorama-src)) |
