From e2026346cceeb54216090a75c83d527f8c51f321 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 30 Jun 2021 17:30:41 +0300 Subject: [PATCH] python-dateutil: add setuptools-scm build dep Following: https://github.com/openwrt/packages/pull/16004 https://github.com/openwrt/packages/pull/15995 https://github.com/openwrt/packages/issues/15988 It seems that dateutil requires setuptools-scm to be installed. As such, this is being added as a dependency. Also, bump setuptools-scm to version 6.0.1 Signed-off-by: Alexandru Ardelean --- lang/python/host-pip-requirements/setuptools-scm.txt | 2 +- lang/python/python-dateutil/Makefile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lang/python/host-pip-requirements/setuptools-scm.txt b/lang/python/host-pip-requirements/setuptools-scm.txt index 35f77a22d..83b57e1d3 100644 --- a/lang/python/host-pip-requirements/setuptools-scm.txt +++ b/lang/python/host-pip-requirements/setuptools-scm.txt @@ -1 +1 @@ -setuptools-scm==4.1.2 --hash=sha256:a8994582e716ec690f33fec70cca0f85bd23ec974e3f783233e4879090a7faa8 +setuptools-scm==6.0.1 --hash=sha256:d1925a69cb07e9b29416a275b9fadb009a23c148ace905b2fb220649a6c18e92 diff --git a/lang/python/python-dateutil/Makefile b/lang/python/python-dateutil/Makefile index 87e0df873..7c8de8167 100644 --- a/lang/python/python-dateutil/Makefile +++ b/lang/python/python-dateutil/Makefile @@ -9,13 +9,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-dateutil PKG_VERSION:=2.8.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=BSD-2-Clause PYPI_NAME:=$(PKG_NAME) PKG_HASH:=73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c PKG_MAINTAINER:=Alexandru Ardelean +HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm + include ../pypi.mk include $(INCLUDE_DIR)/package.mk