summaryrefslogtreecommitdiff
path: root/lang/python/python-futures
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2019-04-24 14:07:08 +0200
committerGitHub <noreply@github.com>2019-04-24 14:07:08 +0200
commitea7df85c0b459aa656b352561cd5020262c3cd60 (patch)
treee1a93a44c236f92d8a33821fcfe494411d4451dd /lang/python/python-futures
parentef6393ac0c41550441981ca1af7aea1c9d9d792c (diff)
parent41ef6b91f7bb684c6187d8afa1b4d5cb0b96f476 (diff)
Merge pull request #8214 from dddaniel/master
Adding awscli to python packages
Diffstat (limited to 'lang/python/python-futures')
-rw-r--r--lang/python/python-futures/Makefile38
1 files changed, 38 insertions, 0 deletions
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 <daniel@dd-wrt.com>
+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))