commit 59dea6b73d91524ddd6fc3dfd71c814e4da98e6f67322a986dddb4cabaa37fbd Author: Adrian Schröter Date: Fri Sep 13 16:24:14 2024 +0200 Sync from SUSE:SLFO:Main python-pytest-home revision 1d9a091e715b5034785b801df511c29d 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/pytest-home-0.5.1.tar.gz b/pytest-home-0.5.1.tar.gz new file mode 100644 index 0000000..30531d1 --- /dev/null +++ b/pytest-home-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e940e31e5f7682c31543df06b3b0044ccc5dbf82de6141c2147da3857c72719 +size 7596 diff --git a/python-pytest-home.changes b/python-pytest-home.changes new file mode 100644 index 0000000..7914fcf --- /dev/null +++ b/python-pytest-home.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 28 04:30:13 UTC 2024 - Steve Kowalik + +- Initial release of 0.5.1. diff --git a/python-pytest-home.spec b/python-pytest-home.spec new file mode 100644 index 0000000..ad944d7 --- /dev/null +++ b/python-pytest-home.spec @@ -0,0 +1,76 @@ +# +# spec file for package python-pytest-home +# +# Copyright (c) 2024 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-home +Version: 0.5.1 +Release: 0 +Summary: Home directory fixtures +License: MIT +URL: https://github.com/jaraco/pytest-home +Source: https://files.pythonhosted.org/packages/source/p/pytest-home/pytest-home-0.5.1.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module setuptools >= 56} +BuildRequires: %{python_module setuptools_scm >= 3.4.1} +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: git +# /SECTION +BuildRequires: fdupes +Requires: python-pytest +Suggests: python-sphinx >= 3.5 +Suggests: python-sphinx < 7.2.5 +Suggests: python-jaraco.packaging >= 9.3 +Suggests: python-rst.linker >= 1.9 +Suggests: python-furo +Suggests: python-sphinx-lint +Suggests: python-pytest >= 6 +Suggests: python-pytest-checkdocs >= 2.4 +Suggests: python-pytest-cov +Suggests: python-pytest-enabler >= 2.2 +Suggests: python-pytest-ruff +Suggests: python-pytest-black >= 0.3.7 +Suggests: python-pytest-mypy >= 0.9.1 +BuildArch: noarch +%python_subpackages + +%description +Home directory fixtures + +%prep +%autosetup -p1 -n pytest-home-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export PYTHONPATH=$(pwd) +%pytest + +%files %{python_files} +%doc NEWS.rst README.rst +%license LICENSE +%{python_sitelib}/pytest_home +%{python_sitelib}/pytest_home-%{version}.dist-info + +%changelog