commit 93f56e845296487d5b32ea8f1fbfb4c49fd1b5a3c8539d06e33dfbc28d125f56 Author: Matej Cepl Date: Wed Nov 25 13:47:16 2020 +0000 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 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-dependency-0.5.1.tar.gz b/pytest-dependency-0.5.1.tar.gz new file mode 100644 index 0000000..d75ab39 --- /dev/null +++ b/pytest-dependency-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b +size 27764 diff --git a/pytest-dependency-0.5.1.tar.gz.asc b/pytest-dependency-0.5.1.tar.gz.asc new file mode 100644 index 0000000..4a4edc4 --- /dev/null +++ b/pytest-dependency-0.5.1.tar.gz.asc @@ -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----- diff --git a/python-pytest-dependency.changes b/python-pytest-dependency.changes new file mode 100644 index 0000000..2abf1fb --- /dev/null +++ b/python-pytest-dependency.changes @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Sat Nov 21 15:05:54 UTC 2020 - John Vandenberg + +- Convert to single spec + +------------------------------------------------------------------- +Sun May 17 10:10:26 UTC 2020 - Rolf Krahl + +- Fix: must set PYTHONPATH in %check. + +------------------------------------------------------------------- +Fri Feb 14 21:18:19 UTC 2020 - Rolf Krahl + +- Update to 0.5.1. + +------------------------------------------------------------------- +Sun Jul 14 19:11:44 UTC 2019 - rolf + +- 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. diff --git a/python-pytest-dependency.spec b/python-pytest-dependency.spec new file mode 100644 index 0000000..ca43fe9 --- /dev/null +++ b/python-pytest-dependency.spec @@ -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