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.

38 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=futures
  3. PKG_VERSION:=3.2.0
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/f/futures
  7. PKG_HASH:=9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-futures-$(PKG_VERSION)
  9. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  10. PKG_LICENSE:=MIT
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python-package.mk
  13. PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
  14. define Package/python-futures
  15. SUBMENU:=Python
  16. SECTION:=lang
  17. CATEGORY:=Languages
  18. TITLE:=futures
  19. URL:=https://github.com/agronholm/pythonfutures
  20. DEPENDS:=+python
  21. VARIANT:=python
  22. endef
  23. define Package/python-futures/description
  24. This is a backport of the concurrent.futures standard library module to Python 2.
  25. It should not be installed on Python 3, although there should be no harm in doing so,
  26. as the standard library takes precedence over third party libraries.
  27. endef
  28. $(eval $(call PyPackage,python-futures))
  29. $(eval $(call BuildPackage,python-futures))
  30. $(eval $(call BuildPackage,python-futures-src))