diff --git a/abimap-0.3.0-disable-pytest-console-script-tests.patch b/abimap-0.3.0-disable-pytest-console-script-tests.patch deleted file mode 100644 index 2b5f289..0000000 --- a/abimap-0.3.0-disable-pytest-console-script-tests.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: abimap-0.3.0/setup.py -=================================================================== ---- abimap-0.3.0.orig/setup.py 2018-08-03 17:00:27.000000000 +0200 -+++ abimap-0.3.0/setup.py 2018-08-03 17:51:50.673376523 +0200 -@@ -25,7 +25,7 @@ requirements = [] - - setup_requirements = ['pytest-runner'] - --test_requirements = ['pytest', 'pyyaml', 'pytest-cov', 'pytest-console-scripts'] -+test_requirements = ['pytest', 'pyyaml', 'pytest-cov'] - - version = get_version() - -Index: abimap-0.3.0/tests/test_script.py -=================================================================== ---- abimap-0.3.0.orig/tests/test_script.py 2018-08-03 17:00:27.000000000 +0200 -+++ abimap-0.3.0/tests/test_script.py 2018-08-03 17:51:50.673376523 +0200 -@@ -2,6 +2,7 @@ - - """Test running as a command line script""" - -+import pytest - from conftest import cd - - -@@ -58,5 +59,6 @@ def run_script(testcases, datadir, scrip - caplog.clear() - - -+@pytest.mark.skip("script_runner not available") - def test_main(testcases, datadir, script_runner, capsys, caplog): - run_script(testcases, datadir, script_runner, capsys, caplog, "abimap") diff --git a/abimap-0.3.1.tar.gz b/abimap-0.3.1.tar.gz deleted file mode 100644 index 60e31f2..0000000 --- a/abimap-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2c4c7ff6ef2e1b42e0385af5995c5432027fe10ce3278408841e23cb3ca5dcd -size 53265 diff --git a/abimap-0.3.2.tar.gz b/abimap-0.3.2.tar.gz new file mode 100644 index 0000000..ba74f42 --- /dev/null +++ b/abimap-0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85797f8c99ca240c43130dbd3b51b85d7772735164d4299f9b453b98bf84559a +size 51744 diff --git a/python-abimap.changes b/python-abimap.changes index 52ac74e..0530150 100644 --- a/python-abimap.changes +++ b/python-abimap.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Aug 22 08:35:33 UTC 2019 - Tomáš Chvátal + +- Drop no longer needed abimap-0.3.0-disable-pytest-console-script-tests.patch + and properly depend on pytest-console-scripts + +------------------------------------------------------------------- +Thu Aug 22 08:28:28 UTC 2019 - Tomáš Chvátal + +- Update to 0.3.2: + * Fixed broken builds due to changes in warning output + * Changed tests to check error messages + * Added python 3.7 to testing matrix + * Added requirement to verify SNI when checking URLs in docs + ------------------------------------------------------------------- Mon Aug 20 14:34:59 UTC 2018 - tchvatal@suse.com diff --git a/python-abimap.spec b/python-abimap.spec index 3edb324..54ac3fb 100644 --- a/python-abimap.spec +++ b/python-abimap.spec @@ -1,7 +1,7 @@ # # spec file for package python-abimap # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-abimap -Version: 0.3.1 +Version: 0.3.2 Release: 0 Summary: A helper for library maintainers to use symbol versioning License: MIT Group: Development/Languages/Python URL: https://github.com/ansasaki/abimap Source: https://files.pythonhosted.org/packages/source/a/abimap/abimap-%{version}.tar.gz -Patch0: abimap-0.3.0-disable-pytest-console-script-tests.patch BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} @@ -34,8 +33,8 @@ BuildRequires: python-rpm-macros Requires: python-setuptools BuildArch: noarch # SECTION test requirements -#BuildRequires: %%{python_module pytest-console-scripts} BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module pytest-console-scripts} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} # /SECTION @@ -57,8 +56,6 @@ Documentation for the symbol versioning helper %{name} %prep %setup -q -n abimap-%{version} -%patch0 -p1 - %build %python_build @@ -77,7 +74,7 @@ install -m 0644 man/abimap.1 %{buildroot}%{_mandir}/man1/ %check make -j1 -C tests ABIMAP_NAME_VERSION="abimap-%{version}" ABIMAP_VERSION="%{version}" -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}/tests py.test-%{$python_version} -vv tests +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}/tests py.test-%{$python_version} -vv tests -k 'not test_main' %files %{python_files} %doc AUTHORS.rst CHANGELOG.rst README.rst