commit 393a66c7e515e930b66243b8e27c854a7a4ba6240d4f31a716b577af79ee7a68 Author: Tomáš Chvátal Date: Mon Aug 10 11:25:49 2020 +0000 Accepting request 824959 from home:jayvdb:pytest pytest-dev org ; used by lots of @ saxix django test suites such as django-concurrency and https://build.opensuse.org/package/show/home:jayvdb:py-submit/python-drf-api-checker OBS-URL: https://build.opensuse.org/request/show/824959 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-echo?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-echo-1.7.1.tar.gz b/pytest-echo-1.7.1.tar.gz new file mode 100644 index 0000000..9a79284 --- /dev/null +++ b/pytest-echo-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bf6a065ca624a5915bc2a820505a44735a8aa11865a57d8214d4eac18960191 +size 13950 diff --git a/python-pytest-echo.changes b/python-pytest-echo.changes new file mode 100644 index 0000000..1457733 --- /dev/null +++ b/python-pytest-echo.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Jul 25 10:06:35 AM UTC 2020 - John Vandenberg + +- Initial spec for v1.7.1 diff --git a/python-pytest-echo.spec b/python-pytest-echo.spec new file mode 100644 index 0000000..5a2a005 --- /dev/null +++ b/python-pytest-echo.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-pytest-echo +# +# Copyright (c) 2020 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-pytest-echo +Version: 1.7.1 +Release: 0 +Summary: Pytest plugin for echoing build environment attributes +License: MIT +Group: Development/Languages/Python +URL: https://github.com/pytest-dev/pytest-echo +Source: https://files.pythonhosted.org/packages/source/p/pytest-echo/pytest-echo-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-pytest >= 2.2 +Suggests: python-Django +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Django} +BuildRequires: %{python_module pytest >= 2.2} +# /SECTION +%python_subpackages + +%description +pytest plugin with mechanisms for echoing environment variables, +package version and generic attributes. + +%prep +%setup -q -n pytest-echo-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +mv pytest_echo.py /tmp/pytest_echo.py +%pytest +mv /tmp/pytest_echo.py pytest_echo.py + +%files %{python_files} +%doc CHANGELOG README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog