Init package with version 5.9.0
This commit is contained in:
parent
3634fe9f60
commit
ab4a81256e
BIN
nbformat-5.9.0.tar.gz
Normal file
BIN
nbformat-5.9.0.tar.gz
Normal file
Binary file not shown.
80
python-nbformat.spec
Normal file
80
python-nbformat.spec
Normal file
@ -0,0 +1,80 @@
|
||||
%bcond_with tests
|
||||
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global pypi_name nbformat
|
||||
|
||||
%global common_description %{expand:
|
||||
This package contains the base implementation of the Jupyter Notebook format,
|
||||
and Python APIs for working with notebooks.}
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 5.9.0
|
||||
Release: 1
|
||||
Summary: The Jupyter Notebook format.
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/jupyter/nbformat
|
||||
Source0: %{pypi_source %{pypi_name}}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: python3-hatch-nodejs-version
|
||||
BuildRequires: python3-fastjsonschema
|
||||
BuildRequires: python3-jsonschema
|
||||
BuildRequires: python3-jupyter-core
|
||||
BuildRequires: python3-traitlets
|
||||
|
||||
%if %{with tests}
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-testpath
|
||||
BuildRequires: python3-pre-commit
|
||||
BuildRequires: python3-pep440
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
%{common_description}
|
||||
|
||||
%package help
|
||||
Summary: %{name} documentation
|
||||
|
||||
%description help
|
||||
Documentation for %{name}
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/jupyter-trust
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/%{pypi_name}-*.dist-info/
|
||||
|
||||
%files help
|
||||
%doc docs
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Jul 10 2023 Dongxing Wang <dxwangk@isoftstone.com> - 5.9.0-1
|
||||
- Initial package.
|
||||
Loading…
x
Reference in New Issue
Block a user