From f0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Wed, 24 Jul 2019 15:42:41 -0400 Subject: user/py3-python-dateutil: setup_scm should die in a fire --- user/py3-python-dateutil/APKBUILD | 6 ++++-- user/py3-python-dateutil/scm.patch | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 user/py3-python-dateutil/scm.patch (limited to 'user') diff --git a/user/py3-python-dateutil/APKBUILD b/user/py3-python-dateutil/APKBUILD index 2d114ce9d..56e7075e8 100644 --- a/user/py3-python-dateutil/APKBUILD +++ b/user/py3-python-dateutil/APKBUILD @@ -13,7 +13,8 @@ license="Apache-2.0 AND BSD-3-Clause" depends="python3" makedepends="python3-dev" checkdepends="py3-pytest py3-hypothesis py3-freezegun" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz + scm.patch" builddir="$srcdir/$_pkgname-$pkgver" build() { @@ -32,4 +33,5 @@ package() { } -sha512sums="ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81 py3-python-dateutil-2.8.0.tar.gz" +sha512sums="ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81 py3-python-dateutil-2.8.0.tar.gz +992434700d9dd1d048e69c3e5a80489f2e45e43e865935542a04b4749ef42e5716c0dc17157bd6f1b3cd4fd6436aa7cb3707edbe587d5b873b55a4eb1000bd54 scm.patch" diff --git a/user/py3-python-dateutil/scm.patch b/user/py3-python-dateutil/scm.patch new file mode 100644 index 000000000..287b5269d --- /dev/null +++ b/user/py3-python-dateutil/scm.patch @@ -0,0 +1,21 @@ +--- python-dateutil-2.8.0/setup.py 2019-02-05 08:50:00.000000000 -0500 ++++ python-dateutil-2.8.0/setup.py 2019-07-24 15:40:41.520063790 -0400 +@@ -49,9 +49,6 @@ README = README() # NOQA + + + setup(name="python-dateutil", +- use_scm_version={ +- 'write_to': 'dateutil/_version.py', +- }, + description="Extensions to the standard Python datetime module", + author="Gustavo Niemeyer", + author_email="gustavo@niemeyer.net", +@@ -65,7 +62,7 @@ setup(name="python-dateutil", + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", + package_data={"dateutil.zoneinfo": ["dateutil-zoneinfo.tar.gz"]}, + zip_safe=True, +- setup_requires=['setuptools_scm'], ++ setup_requires=[], + install_requires=["six >=1.5"], + classifiers=[ + 'Development Status :: 5 - Production/Stable', -- cgit v1.2.3-60-g2f50