Accepting request 528574 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/528574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=18
This commit is contained in:
Dirk Mueller 2017-09-25 09:00:03 +00:00 committed by Git OBS Bridge
parent eb5f60a637
commit d7523e20e2
5 changed files with 41 additions and 40 deletions

View File

@ -1,33 +0,0 @@
diff --git a/testing/test_regressions.py b/testing/test_regressions.py
index 4a067b3..9d24d61 100644
--- a/testing/test_regressions.py
+++ b/testing/test_regressions.py
@@ -18,16 +18,16 @@ def test_pkginfo_noscmroot(tmpdir, monkeypatch):
'from setuptools import setup;'
'setup(use_scm_version={"root": ".."})')
- _, stderr, ret = do_ex('python setup.py --version', p)
+ _, stderr, ret = do_ex((sys.executable, 'setup.py', '--version'), p)
assert 'setuptools-scm was unable to detect version for' in stderr
assert ret == 1
p.join("PKG-INFO").write('Version: 1.0')
- res = do('python setup.py --version', p)
+ res = do((sys.executable, 'setup.py', '--version'), p)
assert res == '1.0'
do('git init', p.dirpath())
- res = do('python setup.py --version', p)
+ res = do((sys.executable, 'setup.py', '--version'), p)
assert res == '1.0'
@@ -64,7 +64,7 @@ setup(use_scm_version=vcfg)
''')
p.join("PKG-INFO").write('Version: 1.0')
- res = do('python setup.py --version', p)
+ res = do((sys.executable, 'setup.py', '--version'), p)
assert res == '1.0'

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Sun Sep 24 21:52:54 UTC 2017 - arun@gmx.de
- specfile:
* removed no-generic-python.patch, included upstream
- update to version 1.15.6:
* fix #174 by normalizing windows path using windows apis
- changes from version 1.15.6:
* fix #171 by unpinning the py version to allow a fixed one to get
installed
- changes from version 1.15.5:
* fix #167 by correctly respecting preformatted version metadata
from PKG-INFO/EGG-INFO
- changes from version 1.15.4:
* fix issue #164: iterate all found entry points to avoid erros when
pip remakes egg-info
* enhance self-use to enable pip install from github again
- changes from version 1.15.3:
* bring back correctly getting our version in the own sdist,
finalizes #114
* fix issue #150: strip local components of tags
- changes from version 1.15.2:
* fix issue #128: return None when a scm specific parse fails in a
worktree to ease parse reuse
- changes from version 1.15.1:
* fix issue #126: the local part of any tags is discarded when
guessing new versions
* minor performance optimization by doing fewer git calls in the
usual cases
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 26 14:09:51 UTC 2017 - jmatejek@suse.com Mon Jun 26 14:09:51 UTC 2017 - jmatejek@suse.com

View File

@ -19,15 +19,13 @@
%bcond_with test %bcond_with test
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-setuptools_scm Name: python-setuptools_scm
Version: 1.15.0 Version: 1.15.6
Release: 0 Release: 0
Summary: Manage your versions by scm tags Summary: Manage your versions by scm tags
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/pypa/setuptools_scm Url: https://github.com/pypa/setuptools_scm
Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
# PATCH-FIX-UPSTREAM use sys.executable for running python in test_regressions.py
Patch0: no-generic-python.patch
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -51,7 +49,6 @@ in scm metadata. It also handles file finders for the supperted scm's.
%prep %prep
%setup -q -n setuptools_scm-%{version} %setup -q -n setuptools_scm-%{version}
%patch0 -p1
%build %build
%python_build %python_build

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49ab4685589986a42da85706b3311a2f74f1af567d39fee6cb1e088d7a75fb5f
size 25779