python-dateutil: disable setuptools-scm for build
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 29 Jun 2021 09:03:16 +0000 (12:03 +0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 30 Jun 2021 08:28:31 +0000 (10:28 +0200)
commit29da5d65b6dc10ee6c2f8bfc7c868245289b2157
tree6ff0cac9d83241d507a5e4988ca05da4caf30db1
parent113377ae73053be97851caee09d7880339e46e9f
python-dateutil: disable setuptools-scm for build

Fixes https://github.com/openwrt/packages/issues/15988

It seems that the newer setuptools-scm package (6.0.1) has some
Python3-only syntax.
For the 19.07 release, where Python2 is still around this causes the
python-dateutil package to fail to build.

See https://github.com/pypa/setuptools_scm/issues/541

However, removing 'setuptools-scm' from the build also works.
This change does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python-dateutil/Makefile
lang/python/python-dateutil/patches/0001-disable-setuptools-scm.patch [new file with mode: 0644]