Accepting request 849867 from home:jayvdb:py-submit

test dep of sanic, and lots of other large popular frameworks
https://github.com/RKrahl/pytest-dependency/network/dependents

OBS-URL: https://build.opensuse.org/request/show/849867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-dependency?expand=0&rev=1
This commit is contained in:
Matej Cepl 2020-11-25 13:47:16 +00:00 committed by Git OBS Bridge
commit 93f56e8452
6 changed files with 137 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

BIN
pytest-dependency-0.5.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEtOuSCGHfM/MbVaB8CKEmQXU0Pm4FAl5HCfYACgkQCKEmQXU0
Pm5PhRAAw4PD7ZI9+44GAmI9j0xH2XAMkGde+li4TTdTMGm6u1L7s26RdfFlU7Fj
xVc24byt08RB8iBSotZLvSJqUBB3FiMFfuB2Up9XQ8RsGfrzUMip1iyFol4OuaZO
DRUcExFh8zFE8+srhGKN6BygXg4w48XqJApe6UM7584nGUXZKzhyL0mu1q3GPVOr
4JZfpXxOZumDp/TAiaqdLt3Vipdi2I/xW6lNPS03uDX9HW/+5vyA7M9w+TQ3u9dL
wM3Ko+B8AZCU/2hOCDg2elUjMoody4w+OyRhP6pUCm3olF6Q4sTUGxwN3jIPaL65
3BDYCfRezTBupp4D+wgHHANnn9wRFDnUULMPGZAb6TsDG+4ie6sWXvNK8pCPDTve
Zp9TWDZQT9Fqcpriko+m1kx3z7lGklPbF33qDNi1hbR8J4x7hFyeFsGgWIelhzjy
vvcZKTmlwcMU6ldYQvUcXbKGV3qg8ZiHuw4mebYGGOzX+qwObKCE3xq/0OTw2NjO
Up1dvExkzp+1a6VFIh/mKJcCiNXdPyYuQHIroVXscEocY+TjOsiHt8e2xTBHfygN
CFFWGeW7rkfEXMnGmlRfd0DVDKdc/AGI5rFpfcQ4qU68d40Ey5egcQIXS2r+MCSC
JtKDE3KL3vRyVBCqxamS1TA513d4uMKCNXZXZeCLuDdssKKwFAg=
=RirF
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,34 @@
-------------------------------------------------------------------
Sat Nov 21 15:05:54 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Convert to single spec
-------------------------------------------------------------------
Sun May 17 10:10:26 UTC 2020 - Rolf Krahl <rolf@rotkraut.de>
- Fix: must set PYTHONPATH in %check.
-------------------------------------------------------------------
Fri Feb 14 21:18:19 UTC 2020 - Rolf Krahl <rolf@rotkraut.de>
- Update to 0.5.1.
-------------------------------------------------------------------
Sun Jul 14 19:11:44 UTC 2019 - rolf <rolf@rotkraut.de>
- Rewrote spec file in openSUSE Python single spec flavour.
-------------------------------------------------------------------
Wed Jan 17 22:44:58 UTC 2018 - rolf@rotkraut.de
- Update to 0.3.2.
-------------------------------------------------------------------
Wed Dec 27 13:09:58 UTC 2017 - rolf@rotkraut.de
- Update to 0.3.1.
-------------------------------------------------------------------
Sun May 28 17:52:13 UTC 2017 - rolf@rotkraut.de
- Initial version.

View File

@ -0,0 +1,60 @@
#
# spec file for package python-pytest-dependency
#
# 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-dependency
Version: 0.5.1
Release: 0
Summary: Manage dependencies of tests
License: Apache-2.0
URL: https://github.com/RKrahl/pytest-dependency
Source: https://files.pythonhosted.org/packages/source/p/pytest-dependency/pytest-dependency-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module pytest >= 3.6.0}
# /SECTION
BuildRequires: fdupes
Requires: python-pytest >= 3.6.0
BuildArch: noarch
%python_subpackages
%description
This pytest plugin manages dependencies of tests. It allows to mark
some tests as dependent from other tests. These tests will then be
skipped if any of the dependencies did fail or has been skipped.
%prep
%setup -q -n pytest-dependency-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%changelog