The host build replaces the use of the host pip requirements file. This also updates the dependants of setuptools-scm to depend on the host build. This also removes the toml host pip requirements file as toml is not used by any other package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
#
|
|
# Copyright (C) 2007-2017 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-dateutil
|
|
PKG_VERSION:=2.8.2
|
|
PKG_RELEASE:=2
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
|
PKG_HASH:=0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-dateutil
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=Extensions to the standard Python datetime module
|
|
URL:=https://dateutil.readthedocs.org/
|
|
DEPENDS:=+python3 +python3-six
|
|
endef
|
|
|
|
define Package/python3-dateutil/description
|
|
Extensions to the standard Python datetime module
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-dateutil))
|
|
$(eval $(call BuildPackage,python3-dateutil))
|
|
$(eval $(call BuildPackage,python3-dateutil-src))
|