summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-24 15:42:41 -0400
committerMax Rees <maxcrees@me.com>2019-07-24 15:42:41 -0400
commitf0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56 (patch)
treea8a5c11390c5753c2a01fb6c483c3a8feb773928
parentbed7a51ed2c79f05cb1cf4708d4e128cfb23133a (diff)
downloadpackages-f0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56.tar.gz
packages-f0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56.tar.bz2
packages-f0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56.tar.xz
packages-f0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56.zip
user/py3-python-dateutil: setup_scm should die in a fire
-rw-r--r--user/py3-python-dateutil/APKBUILD6
-rw-r--r--user/py3-python-dateutil/scm.patch21
2 files changed, 25 insertions, 2 deletions
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',