[packages/python3-myst_nb] new
atler
atler at pld-linux.org
Tue Mar 25 13:12:10 CET 2025
commit 85e7c64cbcfea9d14291f31f0bad23263f76a6de
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Mar 25 12:18:35 2025 +0100
new
python3-myst_nb.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
---
diff --git a/python3-myst_nb.spec b/python3-myst_nb.spec
new file mode 100644
index 0000000..5e0c888
--- /dev/null
+++ b/python3-myst_nb.spec
@@ -0,0 +1,52 @@
+
+%define module myst_nb
+Summary: A Jupyter Notebook Sphinx reader
+Name: python3-%{module}
+Version: 1.2.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/myst_nb/
+Source0: https://files.pythonhosted.org/packages/source/m/myst_nb/%{module}-%{version}.tar.gz
+# Source0-md5: 950ecc2e3474fdfb181b8152f939f32b
+URL: https://github.com/executablebooks/myst-nb
+BuildRequires: python3-build
+BuildRequires: python3-flit_core >= 3.4
+BuildRequires: python3-flit_core < 4
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.9
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Jupyter Notebook Sphinx reader built on top of the MyST markdown
+parser.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%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
+%attr(755,root,root) %{_bindir}/mystnb-docutils-html
+%attr(755,root,root) %{_bindir}/mystnb-docutils-html5
+%attr(755,root,root) %{_bindir}/mystnb-docutils-latex
+%attr(755,root,root) %{_bindir}/mystnb-docutils-pseudoxml
+%attr(755,root,root) %{_bindir}/mystnb-docutils-xml
+%attr(755,root,root) %{_bindir}/mystnb-quickstart
+%attr(755,root,root) %{_bindir}/mystnb-to-jupyter
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-myst_nb.git/commitdiff/85e7c64cbcfea9d14291f31f0bad23263f76a6de
More information about the pld-cvs-commit
mailing list