[packages/python-pytest-check] - new

qboosh qboosh at pld-linux.org
Sun Apr 2 21:05:44 CEST 2023


commit 026b42193a802dbc87cb449c18b409033acc1b2d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 2 21:08:08 2023 +0200

    - new

 python-pytest-check.spec | 100 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)
---
diff --git a/python-pytest-check.spec b/python-pytest-check.spec
new file mode 100644
index 0000000..07df7d6
--- /dev/null
+++ b/python-pytest-check.spec
@@ -0,0 +1,100 @@
+#
+# Conditional build:
+%bcond_without	python2 # CPython 2.x module
+%bcond_without	python3 # CPython 3.x module
+
+Summary:	pytest plugin that allows multiple failures per test
+Summary(pl.UTF-8):	Wtyczka pytesta pozwalająca na wiele niepowodzeń z jednego testu
+Name:		python-pytest-check
+# keep 0.2.x for python2 support
+Version:	0.2.1
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/pytest-check/
+Source0:	https://files.pythonhosted.org/packages/source/p/pytest-check/pytest-check-%{version}.tar.gz
+# Source0-md5:	21297eac5d350062aac1fc4eb1d081e5
+URL:		https://pypi.org/project/pytest-check/
+%if %{with python2}
+BuildRequires:	python-modules >= 1:2.7
+BuildRequires:	python-setuptools
+%endif
+%if %{with python3}
+BuildRequires:	python3-modules >= 1:3.4
+BuildRequires:	python3-setuptools
+%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
+A pytest plugin that allows multiple failures per test.
+
+This plugin was a rewrite and a rename of pytest-expect.
+
+%description -l pl.UTF-8
+Wtyczka pytesta pozwalająca na wiele niepowodzeń z jednego testu.
+
+Ta wtyczka była przepisaną wtyczką pytest-expect, z nową nazwą.
+
+%package -n python3-pytest-check
+Summary:	pytest plugin that allows multiple failures per test
+Summary(pl.UTF-8):	Wtyczka pytesta pozwalająca na wiele niepowodzeń z jednego testu
+Group:		Libraries/Python
+Requires:	python3-modules >= 1:3.4
+
+%description -n python3-pytest-check
+A pytest plugin that allows multiple failures per test.
+
+This plugin was a rewrite and a rename of pytest-expect.
+
+%description -n python3-pytest-check -l pl.UTF-8
+Wtyczka pytesta pozwalająca na wiele niepowodzeń z jednego testu.
+
+Ta wtyczka była przepisaną wtyczką pytest-expect, z nową nazwą.
+
+%prep
+%setup -q -n pytest-check-%{version}
+
+%build
+%if %{with python2}
+%py_build
+%endif
+
+%if %{with python3}
+%py3_build
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%py_install
+
+%py_postclean
+%endif
+
+%if %{with python3}
+%py3_install
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py_sitescriptdir}/pytest_check
+%{py_sitescriptdir}/pytest_check-%{version}-py*.egg-info
+%endif
+
+%if %{with python3}
+%files -n python3-pytest-check
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/pytest_check
+%{py3_sitescriptdir}/pytest_check-%{version}-py*.egg-info
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-check.git/commitdiff/026b42193a802dbc87cb449c18b409033acc1b2d



More information about the pld-cvs-commit mailing list