python-boto3: Add new package 8802/head
authorDaniel Danzberger <daniel@dd-wrt.com>
Thu, 25 Apr 2019 20:40:39 +0000 (22:40 +0200)
committerDaniel Danzberger <daniel@dd-wrt.com>
Mon, 6 May 2019 15:30:09 +0000 (17:30 +0200)
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
lang/python/python-boto3/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-boto3/Makefile b/lang/python/python-boto3/Makefile
new file mode 100644 (file)
index 0000000..160cf40
--- /dev/null
@@ -0,0 +1,39 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=boto3
+PKG_VERSION:=1.9.135
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/b/boto3
+PKG_HASH:=5e5805992e873e5687b5ef3b4c56c386ccb4df1c3364f8b8601d289e2f275be1
+PKG_BUILD_DIR:=$(BUILD_DIR)/boto3-$(PKG_VERSION)
+
+PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
+PKG_LICENSE:=Apache-2.0
+PKG_LICENSE_FILES:=LICENSE
+
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-boto3
+  SUBMENU:=Python
+  SECTION:=lang
+  CATEGORY:=Languages
+  TITLE:=AWS SDK for Python (Boto3)
+  URL:=https://aws.amazon.com/sdk-for-python/
+  DEPENDS:=+python3 \
+       +python3-jmespath \
+       +python3-botocore \
+       +python3-s3transfer
+  VARIANT:=python3
+endef
+
+define Package/python3-boto3/description
+Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python,
+which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2.
+endef
+
+$(eval $(call Py3Package,python3-boto3))
+$(eval $(call BuildPackage,python3-boto3))
+$(eval $(call BuildPackage,python3-boto3-src))