[packages/python-pytest-shutil] - initial

qboosh qboosh at pld-linux.org
Sun Feb 22 22:14:58 CET 2026


commit c9b75282fcdaa7c59b87f00031afbc1cddca881b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 22 22:14:55 2026 +0100

    - initial

 python-pytest-shutil.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
---
diff --git a/python-pytest-shutil.spec b/python-pytest-shutil.spec
new file mode 100644
index 0000000..8dccdc8
--- /dev/null
+++ b/python-pytest-shutil.spec
@@ -0,0 +1,69 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	A goodie-bag of unix shell and environment tools for py.test
+Summary(pl.UTF-8):	Zestaw narzędzi uniksowej powłoki i środowiska dla py.test
+Name:		python-pytest-shutil
+# keep 1.7.x here for python2 support
+Version:	1.7.0
+Release:	0.1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/pytest-shutil/
+Source0:	https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
+# Source0-md5:	ece1c4a836aadb64451b9cde1a8c5fef
+URL:		https://github.com/manahl/pytest-plugins
+BuildRequires:	python-modules >= 1:2.7
+BuildRequires:	python-setuptools
+BuildRequires:	python-setuptools_git
+%if %{with tests}
+BuildRequires:	python-contextlib2
+BuildRequires:	python-execnet
+BuildRequires:	python-mock
+BuildRequires:	python-path
+BuildRequires:	python-pytest
+BuildRequires:	python-six
+BuildRequires:	python-termcolor
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python-modules >= 1:2.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library is a goodie-bag of Unix shell and environment management
+tools for automated tests.
+
+%description -l pl.UTF-8
+Ta biblioteka jest zbiorem narzędzi uniksowej powłoki i środowiska dla
+zautomatyzowanych testów.
+
+%prep
+%setup -q -n pytest-shutil-%{version}
+
+%build
+%py_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_shutil.workspace \
+%{__python} -m pytest tests/unit
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py_install
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.md LICENSE README.md
+%{py_sitescriptdir}/pytest_shutil
+%{py_sitescriptdir}/pytest_shutil-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-shutil.git/commitdiff/c9b75282fcdaa7c59b87f00031afbc1cddca881b



More information about the pld-cvs-commit mailing list