commit 6c7969bdda821624d1f13bc03877f2d447521720ec7687f2ca8a1e9d8dbe80e6 Author: Steve Kowalik Date: Wed May 7 07:07:20 2025 +0000 - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-tldr?expand=0&rev=14 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pytest-tldr-0.2.5.tar.gz b/pytest-tldr-0.2.5.tar.gz new file mode 100644 index 0000000..4b2df78 --- /dev/null +++ b/pytest-tldr-0.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43f43fe758569df620c433a79d3cbee698e77268efebbc6e22ce1e66095a0881 +size 11134 diff --git a/python-pytest-tldr.changes b/python-pytest-tldr.changes new file mode 100644 index 0000000..0f30e6f --- /dev/null +++ b/python-pytest-tldr.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Wed May 7 06:59:51 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- +Wed Nov 30 11:56:24 UTC 2022 - Daniel Garcia + +- Remove python_module macro definition +- More specific python_sitelib in %files +- Update to 0.2.5: + * An incompatibility with Pytest 7.2 was corrected. (#36) + +------------------------------------------------------------------- +Wed Dec 8 09:32:17 UTC 2021 - pgajdos@suse.com + +- version update to 0.2.4 + * Restored compatibility with pytest < 6. (`#32 `_) + * Corrected output stream flush handling. This prevented long-running test results + from being displayed until the end of the test suite. (`#28 `_) + +------------------------------------------------------------------- +Tue Aug 25 07:50:24 UTC 2020 - Marketa Calabkova + +- Update to 0.2.2 + * Added Pytest 6 support. (#26) + +------------------------------------------------------------------- +Mon Sep 9 09:18:55 UTC 2019 - Tomáš Chvátal + +- Update to 0.2.1: + * no upstream changelog + +------------------------------------------------------------------- +Thu Jul 18 16:52:52 UTC 2019 - Tomáš Chvátal + +- Update to 0.2.0: + * no upstream changelog provided + +------------------------------------------------------------------- +Mon Jun 10 08:16:20 UTC 2019 - Tomáš Chvátal + +- Update to 0.1.6: + * No upstream changelog provided + +------------------------------------------------------------------- +Thu Mar 21 01:52:14 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.1.5 diff --git a/python-pytest-tldr.spec b/python-pytest-tldr.spec new file mode 100644 index 0000000..e994b2e --- /dev/null +++ b/python-pytest-tldr.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-pytest-tldr +# +# 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/ +# + + +Name: python-pytest-tldr +Version: 0.2.5 +Release: 0 +Summary: A pytest plugin that limits the output to just the things you need +License: BSD-3-Clause +URL: https://github.com/freakboy3742/pytest-tldr +Source: https://files.pythonhosted.org/packages/source/p/pytest-tldr/pytest-tldr-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest >= 3.5.0} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-pytest >= 3.5.0 +BuildArch: noarch +%python_subpackages + +%description +A pytest plugin that limits the output to just the things you need. + +%prep +%setup -q -n pytest-tldr-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%pycache_only %{python_sitelib}/__pycache__/*.pyc +%{python_sitelib}/pytest_tldr.py +%{python_sitelib}/pytest_tldr-%{version}.dist-info + +%changelog