python-myst-nb/python-myst-nb.spec

56 lines
1.3 KiB
RPMSpec
Raw Normal View History

2023-07-28 09:50:35 +08:00
%global _empty_manifest_terminate_build 0
%global pypi_name myst-nb
Name: python-%{pypi_name}
2023-11-22 10:57:18 +08:00
Version: 1.0.0
2023-07-28 09:50:35 +08:00
Release: 1
Summary: A collection of tools for working with Jupyter Notebooks in Sphinx.
License: MIT
URL: https://github.com/executablebooks/myst-nb
2023-11-22 10:57:18 +08:00
Source0: %{url}/archive/%{version}/myst_nb-%{version}.tar.gz
2023-07-28 09:50:35 +08:00
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-poetry-core
BuildRequires: python3-flit-core
%description
A collection of tools for working with Jupyter Notebooks in Sphinx.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
A collection of tools for working with Jupyter Notebooks in Sphinx.
%prep
2023-11-22 10:57:18 +08:00
%autosetup -p1 -n myst_nb-%{version}
2023-07-28 09:50:35 +08:00
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/myst_nb/*
2023-11-22 10:57:18 +08:00
%{python3_sitelib}/myst_nb-*.dist-info/
2023-07-28 09:50:35 +08:00
%{_bindir}/mystnb*
%changelog
2023-11-22 10:57:18 +08:00
* Wed Nov 22 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.0.0-1
- Upgrade package to version 1.0.0
2023-07-28 09:50:35 +08:00
* Fri Jul 28 2023 zoujiancang<jczou@isoftstone.com> - 0.17.2-1
- Initial package