14
0

- fix add-rpmfail-pytest-markers.patch to build for older distros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=48
This commit is contained in:
2019-04-12 08:33:19 +00:00
committed by Git OBS Bridge
parent 1a37164b3b
commit 9d704b5389
3 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,8 @@
diff -ru setuptools_scm-3.2.0-orig/testing/test_regressions.py setuptools_scm-3.2.0/testing/test_regressions.py Index: setuptools_scm-3.2.0/testing/test_regressions.py
--- setuptools_scm-3.2.0-orig/testing/test_regressions.py 2019-01-17 02:34:04.000000000 +0700 ===================================================================
+++ setuptools_scm-3.2.0/testing/test_regressions.py 2019-03-15 13:15:33.248842438 +0700 --- setuptools_scm-3.2.0.orig/testing/test_regressions.py
@@ -49,6 +49,7 @@ +++ setuptools_scm-3.2.0/testing/test_regressions.py
@@ -49,6 +49,7 @@ def test_pip_egg_info(tmpdir, monkeypatc
assert get_version(root=p.strpath) == "1.0" assert get_version(root=p.strpath) == "1.0"
@@ -9,10 +10,11 @@ diff -ru setuptools_scm-3.2.0-orig/testing/test_regressions.py setuptools_scm-3.
@pytest.mark.issue(164) @pytest.mark.issue(164)
def test_pip_download(tmpdir, monkeypatch): def test_pip_download(tmpdir, monkeypatch):
monkeypatch.chdir(tmpdir) monkeypatch.chdir(tmpdir)
diff -ru setuptools_scm-3.2.0-orig/testing/test_setuptools_support.py setuptools_scm-3.2.0/testing/test_setuptools_support.py Index: setuptools_scm-3.2.0/testing/test_setuptools_support.py
--- setuptools_scm-3.2.0-orig/testing/test_setuptools_support.py 2019-01-17 02:34:04.000000000 +0700 ===================================================================
+++ setuptools_scm-3.2.0/testing/test_setuptools_support.py 2019-03-15 13:16:43.573444176 +0700 --- setuptools_scm-3.2.0.orig/testing/test_setuptools_support.py
@@ -65,12 +65,14 @@ +++ setuptools_scm-3.2.0/testing/test_setuptools_support.py
@@ -65,12 +65,14 @@ def check(packagedir, expected_version,
) )
@@ -27,7 +29,7 @@ diff -ru setuptools_scm-3.2.0-orig/testing/test_setuptools_support.py setuptools
def test_old_setuptools_allows_with_warnings(get_setuptools_packagedir): def test_old_setuptools_allows_with_warnings(get_setuptools_packagedir):
packagedir = get_setuptools_packagedir("0.9.8") packagedir = get_setuptools_packagedir("0.9.8")
@@ -78,6 +80,7 @@ @@ -78,6 +80,7 @@ def test_old_setuptools_allows_with_warn
check(packagedir, "0.9.8", PYTHONWARNINGS="once::Warning") check(packagedir, "0.9.8", PYTHONWARNINGS="once::Warning")

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 12 08:33:01 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- fix add-rpmfail-pytest-markers.patch to build for older distros
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 2 14:47:52 CEST 2019 - Matej Cepl <mcepl@suse.com> Tue Apr 2 14:47:52 CEST 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -61,7 +61,6 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
%prep %prep
%setup -q -n setuptools_scm-%{version} %setup -q -n setuptools_scm-%{version}
%autopatch -p1 %autopatch -p1
rm tox.ini
%build %build
%python_build %python_build