diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-24 19:41:46 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-24 19:41:46 +0000 |
commit | b94304fa5fe749b31ecbb018b8cf3524274c388c (patch) | |
tree | 9d9a83c0a54161ab3f0f6095d7b2c4d7943ccd9a | |
parent | 2db0bb0543e3c9b0ced7c9c149f75cc9ed0b4d5f (diff) | |
parent | f0e2f8a0881c724c7b9e3a84e4b5891ed56a3d56 (diff) | |
download | packages-b94304fa5fe749b31ecbb018b8cf3524274c388c.tar.gz packages-b94304fa5fe749b31ecbb018b8cf3524274c388c.tar.bz2 packages-b94304fa5fe749b31ecbb018b8cf3524274c388c.tar.xz packages-b94304fa5fe749b31ecbb018b8cf3524274c388c.zip |
Merge branch 'dateutil' into 'master'
user/py3-python-dateutil: setup_scm should die in a fire
See merge request adelie/packages!300
-rw-r--r-- | user/py3-python-dateutil/APKBUILD | 6 | ||||
-rw-r--r-- | user/py3-python-dateutil/scm.patch | 21 |
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', |