From 04caede78a75c4c649caa08dfa9eb5c6cc4572eedb3e5725f0c63b3630fa40bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 14 Apr 2018 06:46:36 +0000 Subject: [PATCH] Accepting request 596406 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/596406 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=22 --- python-setuptools_scm.changes | 13 +++++++++++++ python-setuptools_scm.spec | 16 +++++++--------- setuptools_scm-1.17.0.tar.gz | 3 --- setuptools_scm-2.0.0.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 setuptools_scm-1.17.0.tar.gz create mode 100644 setuptools_scm-2.0.0.tar.gz diff --git a/python-setuptools_scm.changes b/python-setuptools_scm.changes index 28601f3..1d81392 100644 --- a/python-setuptools_scm.changes +++ b/python-setuptools_scm.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Apr 12 20:42:08 UTC 2018 - arun@gmx.de + +- update to version 2.0.0: + * fix #237 - correct imports in code examples + * improve mercurial commit detection (thanks Aaron) + * breaking change: remove support for setuptools before parsed + versions + * reintroduce manifest as the travis deploy cant use the file finder + * reconfigure flake8 for future compatibility with black + * introduce support for branch name in version metadata and support + a opt-in simplified semver version scheme + ------------------------------------------------------------------- Fri Mar 23 23:59:40 UTC 2018 - arun@gmx.de diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 8eb6284..eb8e728 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -16,10 +16,10 @@ # -%bcond_with test %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-setuptools_scm -Version: 1.17.0 +Version: 2.0.0 Release: 0 Summary: Manage your versions by scm tags License: MIT @@ -29,20 +29,18 @@ Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +Requires: python-setuptools +BuildArch: noarch %if %{with test} # Testing requirements BuildRequires: %{python_module pytest} BuildRequires: git BuildRequires: mercurial %endif -Requires: python-setuptools %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: git Recommends: mecurial %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -63,9 +61,9 @@ in scm metadata. It also handles file finders for the supperted scm's. %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} %endif -%files %python_files -%defattr(-,root,root,-) -%doc README.rst LICENSE CHANGELOG.rst +%files %{python_files} +%license LICENSE +%doc README.rst CHANGELOG.rst %{python_sitelib}/* %changelog diff --git a/setuptools_scm-1.17.0.tar.gz b/setuptools_scm-1.17.0.tar.gz deleted file mode 100644 index 327fab9..0000000 --- a/setuptools_scm-1.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70a4cf5584e966ae92f54a764e6437af992ba42ac4bca7eb37cc5d02b98ec40a -size 29124 diff --git a/setuptools_scm-2.0.0.tar.gz b/setuptools_scm-2.0.0.tar.gz new file mode 100644 index 0000000..ba5eb7d --- /dev/null +++ b/setuptools_scm-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:638627655ec4625b7a055a5b65f44e88121fce05a281a1597abd6a9f8c04139b +size 30286