Revert "python-dateutil: disable setuptools-scm for build"
This reverts commit 29da5d65b6
.
That fix doesn't work fully correct as the egg directory has version 0.0.0.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
29da5d65b6
commit
d1aac139a6
2 changed files with 1 additions and 33 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=python-dateutil
|
PKG_NAME:=python-dateutil
|
||||||
PKG_VERSION:=2.8.0
|
PKG_VERSION:=2.8.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=BSD-2-Clause
|
PKG_LICENSE:=BSD-2-Clause
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -2,8 +2,7 @@
|
|
||||||
requires = [
|
|
||||||
"setuptools; python_version != '3.3'",
|
|
||||||
"setuptools<40.0; python_version == '3.3'",
|
|
||||||
- "wheel",
|
|
||||||
- "setuptools_scm"
|
|
||||||
+ "wheel"
|
|
||||||
]
|
|
||||||
build-backend = "setuptools.build_meta"
|
|
||||||
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -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,6 @@ 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'],
|
|
||||||
install_requires=["six >=1.5"],
|
|
||||||
classifiers=[
|
|
||||||
'Development Status :: 5 - Production/Stable',
|
|
Loading…
Reference in a new issue