From c4e1070f77670a4447189df741fcba27f3042060 Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:57:46 +0200 Subject: [PATCH 1/8] python-s3transfer: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-s3transfer/Makefile | 57 ++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 lang/python/python-s3transfer/Makefile diff --git a/lang/python/python-s3transfer/Makefile b/lang/python/python-s3transfer/Makefile new file mode 100644 index 000000000..a50f1b418 --- /dev/null +++ b/lang/python/python-s3transfer/Makefile @@ -0,0 +1,57 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=s3transfer +PKG_VERSION:=0.2.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/s/s3transfer +PKG_HASH:=f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-s3transfer-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +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-s3transfer/Default + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=s3transfer + URL:=https://github.com/boto/s3transfer +endef + +define Package/python-s3transfer +$(call Package/python-s3transfer/Default) + DEPENDS:=+python +python-botocore +python-futures + VARIANT:=python +endef + +define Package/python3-s3transfer +$(call Package/python-s3transfer/Default) + DEPENDS:=+python3 +python3-botocore + VARIANT:=python3 +endef + +define Package/python-s3transfer/description +S3transfer is a Python library for managing Amazon S3 transfers. +endef + +define Package/python3-s3transfer/description +$(call Package/python-s3transfer/description) +. +(Variant for Python3) +endef + +$(eval $(call PyPackage,python-s3transfer)) +$(eval $(call BuildPackage,python-s3transfer)) +$(eval $(call BuildPackage,python-s3transfer-src)) + +$(eval $(call Py3Package,python3-s3transfer)) +$(eval $(call BuildPackage,python3-s3transfer)) +$(eval $(call BuildPackage,python3-s3transfer-src)) From 8300efde489065748e54f303d48acd15a63961f3 Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:58:11 +0200 Subject: [PATCH 2/8] python-rsa: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-rsa/Makefile | 59 +++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 lang/python/python-rsa/Makefile diff --git a/lang/python/python-rsa/Makefile b/lang/python/python-rsa/Makefile new file mode 100644 index 000000000..cb84dfd02 --- /dev/null +++ b/lang/python/python-rsa/Makefile @@ -0,0 +1,59 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=rsa +PKG_VERSION:=4.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/r/rsa +PKG_HASH:=1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-rsa-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +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-rsa/Default + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=rsa + URL:=https://stuvel.eu/rsa +endef + +define Package/python-rsa +$(call Package/python-rsa/Default) + DEPENDS:=+python +python-pyasn1 + VARIANT:=python +endef + +define Package/python3-rsa +$(call Package/python-rsa/Default) + DEPENDS:=+python3 +python3-pyasn1 + VARIANT:=python3 +endef + +define Package/python-rsa/description + Is a pure-Python RSA implementation. It supports encryption and decryption, + signing and verifying signatures, and key generation according to PKCS#1 version 1.5. + It can be used as a Python library as well as on the commandline. +endef + +define Package/python3-rsa/description +$(call Package/python-rsa/description) +. +(Variant for Python3) +endef + +$(eval $(call PyPackage,python-rsa)) +$(eval $(call BuildPackage,python-rsa)) +$(eval $(call BuildPackage,python-rsa-src)) + +$(eval $(call Py3Package,python3-rsa)) +$(eval $(call BuildPackage,python3-rsa)) +$(eval $(call BuildPackage,python3-rsa-src)) From 423bb29d78db0a06ac189a977bafe52c9867d0ff Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:58:29 +0200 Subject: [PATCH 3/8] python-jmespath: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-jmespath/Makefile | 58 ++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 lang/python/python-jmespath/Makefile diff --git a/lang/python/python-jmespath/Makefile b/lang/python/python-jmespath/Makefile new file mode 100644 index 000000000..0e4c3090f --- /dev/null +++ b/lang/python/python-jmespath/Makefile @@ -0,0 +1,58 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=jmespath +PKG_VERSION:=0.9.3 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/j/jmespath +PKG_HASH:=6a81d4c9aa62caf061cb517b4d9ad1dd300374cd4706997aff9cd6aedd61fc64 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-jmespath-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +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-jmespath/Default + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=jmespath + URL:=https://github.com/jmespath/jmespath.py +endef + +define Package/python-jmespath +$(call Package/python-jmespath/Default) + DEPENDS:=+python + VARIANT:=python +endef + +define Package/python3-jmespath +$(call Package/python-jmespath/Default) + DEPENDS:=+python3 + VARIANT:=python3 +endef + +define Package/python-jmespath/description + JMESPath (pronounced “james path”) allows you to declaratively specify how to extract + elements from a JSON document. +endef + +define Package/python3-jmespath/description +$(call Package/python-jmespath/description) +. +(Variant for Python3) +endef + +$(eval $(call PyPackage,python-jmespath)) +$(eval $(call BuildPackage,python-jmespath)) +$(eval $(call BuildPackage,python-jmespath-src)) + +$(eval $(call Py3Package,python3-jmespath)) +$(eval $(call BuildPackage,python3-jmespath)) +$(eval $(call BuildPackage,python3-jmespath-src)) From 55dd6b5fee7fc92acde38856b814bb564702ef2e Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:58:52 +0200 Subject: [PATCH 4/8] python-futures: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-futures/Makefile | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lang/python/python-futures/Makefile diff --git a/lang/python/python-futures/Makefile b/lang/python/python-futures/Makefile new file mode 100644 index 000000000..b8b19f5d4 --- /dev/null +++ b/lang/python/python-futures/Makefile @@ -0,0 +1,38 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=futures +PKG_VERSION:=3.2.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/f/futures +PKG_HASH:=9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-futures-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +PKG_LICENSE:=MIT + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) + +define Package/python-futures + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=futures + URL:=https://github.com/agronholm/pythonfutures + DEPENDS:=+python + VARIANT:=python +endef + +define Package/python-futures/description + This is a backport of the concurrent.futures standard library module to Python 2. + It should not be installed on Python 3, although there should be no harm in doing so, + as the standard library takes precedence over third party libraries. +endef + +$(eval $(call PyPackage,python-futures)) +$(eval $(call BuildPackage,python-futures)) +$(eval $(call BuildPackage,python-futures-src)) From 542800e401d43939ca3991562598445a8b90238a Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:59:13 +0200 Subject: [PATCH 5/8] python-docutils: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-docutils/Makefile | 62 ++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 lang/python/python-docutils/Makefile diff --git a/lang/python/python-docutils/Makefile b/lang/python/python-docutils/Makefile new file mode 100644 index 000000000..f7bbe3297 --- /dev/null +++ b/lang/python/python-docutils/Makefile @@ -0,0 +1,62 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=docutils +PKG_VERSION:=0.14 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/docutils +PKG_HASH:=51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-docutils-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +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-docutils/Default + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=docutils + URL:=http://docutils.sourceforge.net +endef + +define Package/python-docutils +$(call Package/python-docutils/Default) + DEPENDS:=+python + VARIANT:=python +endef + +define Package/python3-docutils +$(call Package/python-docutils/Default) + DEPENDS:=+python3 + VARIANT:=python3 +endef + +define Package/python-docutils/description +Docutils is a modular system for processing documentation into useful formats, +such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText, +an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. +endef + +define Package/python3-docutils/description +$(call Package/python-docutils/description) +. +(Variant for Python3) +endef + +PYTHON_PKG_SETUP_ARGS:= +PYTHON3_PKG_SETUP_ARGS:= + +$(eval $(call PyPackage,python-docutils)) +$(eval $(call BuildPackage,python-docutils)) +$(eval $(call BuildPackage,python-docutils-src)) + +$(eval $(call Py3Package,python3-docutils)) +$(eval $(call BuildPackage,python3-docutils)) +$(eval $(call BuildPackage,python3-docutils-src)) From 11c659dde56090d90d79f5636691f3a7b9431320 Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:59:33 +0200 Subject: [PATCH 6/8] python-colorama: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-colorama/Makefile | 58 ++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 lang/python/python-colorama/Makefile 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 +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)) From 999c01f8c28f463d9c15c6f537fda8df7f75fd67 Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 13:59:53 +0200 Subject: [PATCH 7/8] python-botocore: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-botocore/Makefile | 68 ++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 lang/python/python-botocore/Makefile diff --git a/lang/python/python-botocore/Makefile b/lang/python/python-botocore/Makefile new file mode 100644 index 000000000..6ebc616cf --- /dev/null +++ b/lang/python/python-botocore/Makefile @@ -0,0 +1,68 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=botocore +PKG_VERSION:=1.12.66 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/b/botocore +PKG_HASH:=25c39ecc71356287cf79d66981ec77deca374e28043b19b2f818d48aa34272a1 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-botocore-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +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-botocore/Default + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=botocore + URL:=https://github.com/boto/botocore +endef + +define Package/python-botocore +$(call Package/python-botocore/Default) + DEPENDS:=+python \ + +python-urllib3 \ + +python-docutils \ + +python-dateutil \ + +python-jmespath \ + +python-requests + VARIANT:=python +endef + +define Package/python3-botocore +$(call Package/python-botocore/Default) + DEPENDS:=+python3 \ + +python3-urllib3 \ + +python3-docutils \ + +python3-dateutil \ + +python3-jmespath \ + +python3-requests + VARIANT:=python3 +endef + +define Package/python-botocore/description +A low-level interface to a growing number of Amazon Web Services. +The botocore package is the foundation for the AWS CLI as well as boto3. +endef + +define Package/python3-botocore/description +$(call Package/python-botocore/description) +. +(Variant for Python3) +endef + +$(eval $(call PyPackage,python-botocore)) +$(eval $(call BuildPackage,python-botocore)) +$(eval $(call BuildPackage,python-botocore-src)) + +$(eval $(call Py3Package,python3-botocore)) +$(eval $(call BuildPackage,python3-botocore)) +$(eval $(call BuildPackage,python3-botocore-src)) From 41ef6b91f7bb684c6187d8afa1b4d5cb0b96f476 Mon Sep 17 00:00:00 2001 From: Daniel Danzberger Date: Thu, 4 Apr 2019 14:00:16 +0200 Subject: [PATCH 8/8] python-awscli: Add new package Signed-off-by: Daniel Danzberger --- lang/python/python-awscli/Makefile | 71 ++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 lang/python/python-awscli/Makefile diff --git a/lang/python/python-awscli/Makefile b/lang/python/python-awscli/Makefile new file mode 100644 index 000000000..d52faac56 --- /dev/null +++ b/lang/python/python-awscli/Makefile @@ -0,0 +1,71 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=awscli +PKG_VERSION:=1.16.75 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/a/awscli +PKG_HASH:=8d96ec0de325ea8271cc6aa95b7392bbf548ec4aabd3ffbcdc0619b64edd4a45 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-awscli-$(PKG_VERSION) + +PKG_MAINTAINER:=Daniel Danzberger +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-awscli/Default + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=awscli + URL:=https://github.com/aws/aws-cli +endef + +define Package/python-awscli +$(call Package/python-awscli/Default) + DEPENDS:=+python \ + +python-yaml \ + +python-pyasn1 \ + +python-botocore \ + +python-rsa \ + +python-colorama \ + +python-docutils \ + +python-s3transfer + VARIANT:=python +endef + +define Package/python3-awscli +$(call Package/python-awscli/Default) + DEPENDS:=+python3 \ + +python3-yaml \ + +python3-pyasn1 \ + +python3-botocore \ + +python3-rsa \ + +python3-colorama \ + +python3-docutils \ + +python3-s3transfer + VARIANT:=python3 +endef + +define Package/python-awscli/description +This package provides a unified command line interface to Amazon Web Services. +endef + +define Package/python3-awscli/description +$(call Package/python-awscli/description) +. +(Variant for Python3) +endef + +$(eval $(call PyPackage,python-awscli)) +$(eval $(call BuildPackage,python-awscli)) +$(eval $(call BuildPackage,python-awscli-src)) + +$(eval $(call Py3Package,python3-awscli)) +$(eval $(call BuildPackage,python3-awscli)) +$(eval $(call BuildPackage,python3-awscli-src))