56 lines
1.4 KiB
RPMSpec
56 lines
1.4 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name pytest-jupyter
|
|
%global srcname pytest_jupyter
|
|
|
|
%global _description %{expand:
|
|
A set of pytest plugins for Jupyter libraries and extensions.}
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.9.0
|
|
Release: 1
|
|
Summary: A pytest plugin for testing Jupyter libraries and extensions.
|
|
License: BSD
|
|
URL: https://github.com/jupyter-server/pytest-jupyter
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-hatchling
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: A pytest plugin for testing Jupyter libraries and extensions.
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name} %_description
|
|
|
|
%prep
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%doc README.md
|
|
%{python3_sitelib}/%{srcname}-%{version}.dist-info/
|
|
%{python3_sitelib}/%{srcname}/
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Wed Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.9.0-1
|
|
- Update package with version 0.9.0
|
|
Update event loop handling
|
|
Allow passing request_timeout to client_fetch
|
|
Update ruff and typings
|
|
|
|
* Thu Aug 24 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.7.0-1
|
|
- Package init
|