forked from pool/python-pytest-filter-subpackage
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-filter-subpackage?expand=0&rev=12
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
pytest-filter-subpackage-0.2.0.tar.gz
Normal file
3
pytest-filter-subpackage-0.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f468f1b36518128869b95deab661ba45ed6293854329fef14da4c8cac78af56
|
||||
size 8085
|
||||
42
python-pytest-filter-subpackage.changes
Normal file
42
python-pytest-filter-subpackage.changes
Normal file
@@ -0,0 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 06:49:24 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 21 17:20:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.2.0:
|
||||
* pytest 8.1 compatibility.
|
||||
* Dropped Python 3.7 support. Minimum supported pytest is now
|
||||
4.6.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 23:15:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- disable python36 build: pytest-doctestplus dropped support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 15:02:16 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix test suite: Don't error on OBS resource warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 9 00:01:05 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix test failure gh#astropy/pytest-filter-subpackage#3
|
||||
fix-doctestplus-count.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 08:37:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- New package, needed by pytest-astropy
|
||||
64
python-pytest-filter-subpackage.spec
Normal file
64
python-pytest-filter-subpackage.spec
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package python-pytest-filter-subpackage
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-filter-subpackage
|
||||
Version: 0.2.0
|
||||
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
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 4.6}
|
||||
BuildRequires: %{python_module pytest-doctestplus >= 0.6}
|
||||
BuildRequires: %{python_module setuptools >= 30.3}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 4.6
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package contains a simple plugin for the pytest framework that provides a
|
||||
shortcut to testing all code and documentation for a given sub-package.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pytest-filter-subpackage-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# don't error on obs resource warnings
|
||||
sed -i '/^\s*error/ a \ ignore::ResourceWarning' setup.cfg
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGES.rst
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/pytest_filter_subpackage
|
||||
%{python_sitelib}/pytest_filter_subpackage-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user