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
This commit is contained in:
Tomáš Chvátal
2020-08-10 11:25:49 +00:00
committed by Git OBS Bridge
commit 393a66c7e5
5 changed files with 95 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

3
pytest-echo-1.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3bf6a065ca624a5915bc2a820505a44735a8aa11865a57d8214d4eac18960191
size 13950

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Jul 25 10:06:35 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.7.1

64
python-pytest-echo.spec Normal file
View File

@@ -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