Blame python-hatch-jupyter-builder.spec

d70c6ee
Name:           python-hatch-jupyter-builder
687dd8d
Version:        0.9.0
687dd8d
Release:        1%{?dist}
d70c6ee
Summary:        A hatch plugin to help build Jupyter packages
d70c6ee
License:        BSD-3-Clause
d70c6ee
URL:            https://pypi.org/project/hatch-jupyter-builder/
d70c6ee
Source:         %{pypi_source hatch_jupyter_builder}
d70c6ee
9eb2cfa
# Use tomllib from the Python 3.11+ standard library
9eb2cfa
Patch:          https://github.com/jupyterlab/hatch-jupyter-builder/pull/108.patch
9eb2cfa
d70c6ee
BuildArch:      noarch
d70c6ee
BuildRequires:  python3-devel
d70c6ee
# Test deps, upstream contains pre-commit, pytest-cov etc.
d70c6ee
BuildRequires:  python3-pytest
d70c6ee
BuildRequires:  python3-pytest-mock
9eb2cfa
BuildRequires:  (python3-tomli if python3 < 3.11)
d70c6ee
d70c6ee
%global _description %{expand:
d70c6ee
This provides a build hook plugin for Hatch that adds
d70c6ee
a build step for use with Jupyter packages.}
d70c6ee
d70c6ee
d70c6ee
%description %_description
d70c6ee
d70c6ee
%package -n     python3-hatch-jupyter-builder
d70c6ee
Summary:        %{summary}
d70c6ee
d70c6ee
%description -n python3-hatch-jupyter-builder %_description
d70c6ee
d70c6ee
d70c6ee
%prep
d70c6ee
%autosetup -p1 -n hatch_jupyter_builder-%{version}
d70c6ee
d70c6ee
d70c6ee
%generate_buildrequires
d70c6ee
%pyproject_buildrequires
d70c6ee
d70c6ee
d70c6ee
%build
d70c6ee
%pyproject_wheel
d70c6ee
d70c6ee
d70c6ee
%install
d70c6ee
%pyproject_install
d70c6ee
%pyproject_save_files hatch_jupyter_builder
d70c6ee
d70c6ee
d70c6ee
%check
d70c6ee
# Skipped tests installs from internet
d70c6ee
%pytest -k "not test_hatch_build"
d70c6ee
d70c6ee
d70c6ee
%files -n python3-hatch-jupyter-builder -f %{pyproject_files}
d70c6ee
%doc README.md
d70c6ee
%{_bindir}/hatch-jupyter-builder
d70c6ee
d70c6ee
d70c6ee
%changelog
687dd8d
* Tue Mar 12 2024 Lumír Balhar <lbalhar@redhat.com> - 0.9.0-1
687dd8d
- Update to 0.9.0 (rhbz#2269156)
687dd8d
84f8db4
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-6
84f8db4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
84f8db4
3f3d823
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
3f3d823
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
3f3d823
9eb2cfa
* Wed Sep 13 2023 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-4
9eb2cfa
- Avoid an unneeded dependency on python3-tomli
9eb2cfa
- Use tomllib from the Python 3.11+ standard library instead
9eb2cfa
51d9402
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-3
51d9402
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
51d9402
dbc9f22
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.8.3-2
dbc9f22
- Rebuilt for Python 3.12
dbc9f22
876b4fd
* Mon Apr 24 2023 Lumír Balhar <lbalhar@redhat.com> - 0.8.3-1
876b4fd
- Update to 0.8.3 (rhbz#2187226)
876b4fd
df30d25
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
df30d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
df30d25
d2a8f28
* Wed Dec 14 2022 Lumír Balhar <lbalhar@redhat.com> - 0.8.2-1
d2a8f28
- Update to 0.8.2 (rhbz#2152911)
d2a8f28
d70c6ee
* Mon Nov 28 2022 Lumír Balhar <lbalhar@redhat.com> - 0.8.1-1
d70c6ee
- Initial package