packages/lang/python/python-futures/Makefile
Jeffery To 635cb1309c treewide: Use pypi.mk for Python packages
This updates all Python packages that download their source from PyPi to
use pypi.mk.

This will allow future improvements/changes to pypi.mk to affect all
relevant packages.

This also makes it easier for future Python packages to start using
pypi.mk, when it's clear how it is used in existing packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-30 23:16:18 +08:00

35 lines
957 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=futures
PKG_VERSION:=3.2.0
PKG_RELEASE:=1
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265
PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
PKG_LICENSE:=MIT
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
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))