commit 2511e3a21f8ba18222369aa2898ade1d8c6b676f3209977b7335be492825f967 Author: Matej Cepl Date: Thu May 11 22:24:00 2023 +0000 Accepting request 1086610 from home:bnavigator:branches:devel:languages:python required by python-watchfiles 0.19 OBS-URL: https://build.opensuse.org/request/show/1086610 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pretty?expand=0&rev=1 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-pretty-1.2.0-gh.tar.gz b/pytest-pretty-1.2.0-gh.tar.gz new file mode 100644 index 0000000..64dcad0 --- /dev/null +++ b/pytest-pretty-1.2.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef1d3f73a7a35164e88b79c937c5b68a5d0a47f83d82865d87b259a000d8d034 +size 209444 diff --git a/python-pytest-pretty.changes b/python-pytest-pretty.changes new file mode 100644 index 0000000..46b690c --- /dev/null +++ b/python-pytest-pretty.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 11 18:59:23 UTC 2023 - Ben Greiner + +- Initial specfile for v1.2.0 +- Required by python-watchfiles diff --git a/python-pytest-pretty.spec b/python-pytest-pretty.spec new file mode 100644 index 0000000..4e02817 --- /dev/null +++ b/python-pytest-pretty.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-pytest-pretty +# +# 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 +# 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-pretty +Version: 1.2.0 +Release: 0 +Summary: Pytest plugin for printing summary data as I want it +License: MIT +URL: https://github.com/samuelcolvin/pytest-pretty +Source: https://github.com/samuelcolvin/pytest-pretty/archive/refs/tags/v%{version}.tar.gz#/pytest-pretty-%{version}-gh.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-pytest >= 7 +Requires: python-rich >= 12 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest >= 7} +BuildRequires: %{python_module rich >= 12} +# /SECTION +%python_subpackages + +%description +Opinionated pytest plugin to make output slightly easier to read +and errors easy to find and fix. + +%prep +%autosetup -p1 -n pytest-pretty-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/pytest_pretty +%{python_sitelib}/pytest_pretty-%{version}.dist-info + +%changelog