Ai
3 Star 0 Fork 14

src-openEuler/python-nbformat
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-nbformat.spec 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
dongQ 提交于 2025-08-12 15:16 +08:00 . update version to 5.10.3
%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.10.3
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
* Tue Aug 12 2025 dongqi <dongqi1@kylinos.cn> - 5.10.3-1
- Update package to version 5.10.3
* Restore usage of npm token
* Revert PR #378 (Simplify NotebookNotary._data_dir_default)
* Thu Nov 07 2024 panzhe <panzhe@kylinos.cn> - 5.10.0-1
- Update package to version 5.10.0
* Fix typing error
* Fri Oct 13 2023 wen-minjuan <mjwen@isoftstone.com> - 5.9.2-1
- Upgrade version to 5.9.2-1
* Mon Jul 10 2023 Dongxing Wang <dxwangk@isoftstone.com> - 5.9.0-1
- Initial package.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-nbformat.git
git@gitee.com:src-openeuler/python-nbformat.git
src-openeuler
python-nbformat
python-nbformat
master

搜索帮助