diff --git a/fix-doctestplus-count.patch b/fix-doctestplus-count.patch deleted file mode 100644 index 0ede4e0..0000000 --- a/fix-doctestplus-count.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py -=================================================================== ---- pytest-filter-subpackage-0.1.1.orig/tests/test_filter_subpackage.py -+++ pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py -@@ -14,7 +14,7 @@ def test_with_rst(testdir, testpackage): - doctest_plus = enabled - """) - reprec = testdir.inline_run('--doctest-rst') -- reprec.assertoutcome(passed=8, failed=3) -+ reprec.assertoutcome(passed=7, failed=3) - - - def test_flag_single_subpackage(testdir, testpackage): diff --git a/pytest-filter-subpackage-0.1.1.tar.gz b/pytest-filter-subpackage-0.1.1.tar.gz deleted file mode 100644 index 38df958..0000000 --- a/pytest-filter-subpackage-0.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7d8fc3a42989b652032e6b0998a87dd00d43bf2b013ba5d2e86f930da149ae8 -size 6532 diff --git a/pytest-filter-subpackage-0.1.2.tar.gz b/pytest-filter-subpackage-0.1.2.tar.gz new file mode 100644 index 0000000..d01c2e5 --- /dev/null +++ b/pytest-filter-subpackage-0.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1faea36717803e524588d6c109d26d20d3b34422e8d6a96812758977dca01782 +size 7071 diff --git a/python-pytest-filter-subpackage.changes b/python-pytest-filter-subpackage.changes index 51d2aec..de5e3d5 100644 --- a/python-pytest-filter-subpackage.changes +++ b/python-pytest-filter-subpackage.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu May 4 23:15:01 UTC 2023 - Dirk Müller + +- update to 0.1.2: + * Fixed bug that caused ``-P time`` to also match + ``package.timeseries``. [#7] + * Dropped Python 3.6 support. +- drop fix-doctestplus-count.patch (upstream) + ------------------------------------------------------------------- Fri Oct 22 16:17:21 UTC 2021 - Ben Greiner diff --git a/python-pytest-filter-subpackage.spec b/python-pytest-filter-subpackage.spec index 80edaa6..f27d8dc 100644 --- a/python-pytest-filter-subpackage.spec +++ b/python-pytest-filter-subpackage.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-filter-subpackage # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,14 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-pytest-filter-subpackage -Version: 0.1.1 +Version: 0.1.2 Release: 0 Summary: Pytest plugin for filtering based on sub-packages License: BSD-3-Clause URL: https://github.com/astropy/pytest-filter-subpackage Source: https://files.pythonhosted.org/packages/source/p/pytest-filter-subpackage/pytest-filter-subpackage-%{version}.tar.gz -# PATCH-FIX-UPSTREAM -- fix gh#astropy/pytest-filter-subpackage#3 -Patch0: fix-doctestplus-count.patch BuildRequires: %{python_module pytest >= 3.0} # Patch0 is for the change from doctestplus 0.5 to 0.6 BuildRequires: %{python_module pytest-doctestplus >= 0.6}