diff --git a/README.md b/README.md index 85195c2..8433b13 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-jupyter_server +The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications. + diff --git a/python-jupyter_server.spec b/python-jupyter_server.spec new file mode 100644 index 0000000..f058b5a --- /dev/null +++ b/python-jupyter_server.spec @@ -0,0 +1,71 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) +Name: python-jupyter_server +Version: 2.14.2 +Release: 1mamba +Summary: The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://jupyter-server.readthedocs.io/ +Source: https://pypi.debian.net/jupyter-server/jupyter_server-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: (python3.11dist(jupyter-core) < 5 or python3.11dist(jupyter-core) > 5.1) +BuildRequires: libpython311-devel +BuildRequires: python3.11dist(anyio) +BuildRequires: python3.11dist(argon2-cffi) +BuildRequires: python3.11dist(jinja2) +BuildRequires: python3.11dist(jupyter-client) +BuildRequires: python3.11dist(jupyter-core) +BuildRequires: python3.11dist(jupyter-events) +BuildRequires: python3.11dist(jupyter-server-terminals) +BuildRequires: python3.11dist(nbconvert) +BuildRequires: python3.11dist(nbformat) +BuildRequires: python3.11dist(overrides) +BuildRequires: python3.11dist(packaging) +BuildRequires: python3.11dist(prometheus-client) +BuildRequires: python3.11dist(pyzmq) +BuildRequires: python3.11dist(send2trash) +BuildRequires: python3.11dist(terminado) +BuildRequires: python3.11dist(tornado) +BuildRequires: python3.11dist(traitlets) +BuildRequires: python3.11dist(websocket-client) +## AUTOBUILDREQ-END + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n jupyter_server-%{version} + +%build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} -m installer --destdir=%{buildroot} dist/*.whl + +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/pdm; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif + +%files %{?pyappend} +%defattr(-,root,root) +%{_bindir}/jupyter-server +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* +%doc LICENSE + +%changelog +* Fri Aug 09 2024 Silvan Calarco 2.14.2-1mamba +- package created using the webbuild interface