[packages/python3-pytest-network] - new

qboosh qboosh at pld-linux.org
Sun Oct 1 11:04:23 CEST 2023


commit 19755162673dec5ef5680da025f85a132970ba47
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 1 09:57:15 2023 +0200

    - new

 python3-pytest-network.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/python3-pytest-network.spec b/python3-pytest-network.spec
new file mode 100644
index 0000000..2ead132
--- /dev/null
+++ b/python3-pytest-network.spec
@@ -0,0 +1,45 @@
+Summary:	A simple plugin to disable network on socket level
+Summary(pl.UTF-8):	Prosta wtyczka wyłączająca sieć na poziomie gniazd
+Name:		python3-pytest-network
+Version:	0.0.1
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/pytest-network/
+Source0:	https://files.pythonhosted.org/packages/source/p/pytest-network/pytest_network-%{version}.tar.gz
+# Source0-md5:	ff90ac6c57611f1fa4a4d651fe074a3f
+URL:		https://pypi.org/project/pytest-network/
+BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple pytest plugin to disable network on socket level.
+
+%description -l pl.UTF-8
+Prosta wtyczka pytesta wyłączająca sieć na poziomie gniazd.
+
+%prep
+%setup -q -n pytest_network-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{py3_sitescriptdir}/pytest_network.py
+%{py3_sitescriptdir}/__pycache__/pytest_network.cpython-*.py[co]
+%{py3_sitescriptdir}/pytest_network-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-network.git/commitdiff/19755162673dec5ef5680da025f85a132970ba47



More information about the pld-cvs-commit mailing list