14
0

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
This commit is contained in:
Tomáš Chvátal
2018-04-14 06:46:36 +00:00
committed by Git OBS Bridge
parent eefa88a1fe
commit 04caede78a
4 changed files with 23 additions and 12 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70a4cf5584e966ae92f54a764e6437af992ba42ac4bca7eb37cc5d02b98ec40a
size 29124

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:638627655ec4625b7a055a5b65f44e88121fce05a281a1597abd6a9f8c04139b
size 30286