[packages/python3-pytest-jupyter] - new
qboosh
qboosh at pld-linux.org
Tue Nov 18 18:24:52 CET 2025
commit ca49d8d026733e5d2f6e58040e800cd1d27358de
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 18 18:24:45 2025 +0100
- new
python3-pytest-jupyter.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
---
diff --git a/python3-pytest-jupyter.spec b/python3-pytest-jupyter.spec
new file mode 100644
index 0000000..9a5e7ab
--- /dev/null
+++ b/python3-pytest-jupyter.spec
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_with tests # unit tests (circular dependencies)
+
+Summary: A pytest plugin for testing Jupyter libraries and extensions
+Summary(pl.UTF-8): Wtyczka pytesta do testowania bibliotek i rozszerzeń Jupytera
+Name: python3-pytest-jupyter
+Version: 0.11.0
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/pytest-jupyter/
+Source0: https://files.pythonhosted.org/packages/source/p/pytest-jupyter/pytest_jupyter-%{version}.tar.gz
+# Source0-md5: ced8ae3d1a5090c0797c88c2e8e0754b
+URL: https://pypi.org/project/pytest-jupyter/
+BuildRequires: python3-build
+BuildRequires: python3-hatchling >= 1.10.0
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.10
+%if %{with tests}
+BuildRequires: python3-jupyter_client
+BuildRequires: python3-jupyter_server
+BuildRequires: python3-jupyter_core >= 5.7
+BuildRequires: python3-pytest >= 7.0
+BuildRequires: python3-pytest-timeout
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.10
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A set of pytest plugins for Jupyter libraries and extensions.
+
+%description -l pl.UTF-8
+Zbiór wtyczek pytesta do bibliotek i rozszerzeń Jupytera.
+
+%prep
+%setup -q -n pytest_jupyter-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_timeout \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{py3_sitescriptdir}/pytest_jupyter
+%{py3_sitescriptdir}/pytest_jupyter-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-jupyter.git/commitdiff/ca49d8d026733e5d2f6e58040e800cd1d27358de
More information about the pld-cvs-commit
mailing list