Blame python-jupyter-packaging.spec

5a04f44
%global pypi_name jupyter_packaging
5a04f44
5a04f44
Name:           python-jupyter-packaging
af30b29
Version:        0.12.2
af30b29
Release:        1%{?dist}
5a04f44
Summary:        Tools to help build and install Jupyter Python packages
5a04f44
5a04f44
License:        BSD
5a04f44
URL:            https://github.com/jupyter/jupyter-packaging
5a04f44
Source0:        %{pypi_source}
5a04f44
BuildArch:      noarch
5a04f44
5a04f44
%global _description %{expand:
5a04f44
This package contains utilities for making Python packages with and without
5a04f44
accompanying JavaScript packages.}
5a04f44
5a04f44
%description %_description
5a04f44
5a04f44
%package -n python3-jupyter-packaging
5a04f44
Summary:        %{summary}
5a04f44
BuildRequires:  python3-devel
5a04f44
BuildRequires:  pyproject-rpm-macros
5a04f44
5a04f44
%description -n python3-jupyter-packaging %_description
5a04f44
5a04f44
%prep
b24b828
%autosetup -p1 -n %{pypi_name}-%{version}
14e2986
# Drop dependencies on coverage, linters etc.
8c1884d
sed -Ei 's/"(coverage|pre-commit|pytest-cov)",//g' pyproject.toml
5a04f44
5a04f44
%generate_buildrequires
8c1884d
%pyproject_buildrequires -w -x test
5a04f44
5a04f44
%install
5a04f44
%pyproject_install
5a04f44
%pyproject_save_files %{pypi_name}
5a04f44
5a04f44
%check
5a04f44
# Some tests are trying to install packages to /usr
5a04f44
# - https://github.com/jupyter/jupyter-packaging/issues/63
5a04f44
%pytest -k "\
5a04f44
not test_build_package and \
5a04f44
not test_create_cmdclass and \
5a04f44
not test_deprecated_metadata and \
5a04f44
not test_develop and \
5a04f44
not test_install and \
5a04f44
not test_install_hybrid and \
5a04f44
not test_run \
5a04f44
"
5a04f44
5a04f44
%files -n python3-jupyter-packaging -f %{pyproject_files}
5a04f44
%license LICENSE
5a04f44
%doc README.md
5a04f44
5a04f44
%changelog
af30b29
* Mon Jun 20 2022 Lumír Balhar <lbalhar@redhat.com> - 0.12.2-1
af30b29
- Update to 0.12.2
af30b29
Resolves: rhbz#2099315
af30b29
6c28496
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.12.1-2
6c28496
- Rebuilt for Python 3.11
6c28496
8c1884d
* Tue May 31 2022 Lumír Balhar <lbalhar@redhat.com> - 0.12.1-1
8c1884d
- Update to 0.12.1
8c1884d
Resolves: rhbz#2092028
8c1884d
14e2986
* Mon Mar 28 2022 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-2
14e2986
- Drop build-time dependencies on coverage, linters etc.
14e2986
453d87a
* Fri Mar 25 2022 Lumír Balhar <lbalhar@redhat.com> - 0.12.0-1
453d87a
- Update to 0.12.0
453d87a
Resolves: rhbz#2068334
453d87a
2b1cd46
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-2
2b1cd46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2b1cd46
89702f9
* Tue Nov 16 2021 Lumír Balhar <lbalhar@redhat.com> - 0.11.1-1
89702f9
- Update to 0.11.1
89702f9
Resolves: rhbz#2023459
89702f9
18fb433
* Tue Oct 19 2021 Lumír Balhar <lbalhar@redhat.com> - 0.11.0-1
18fb433
- Update to 0.11.0
18fb433
Resolves: rhbz#2015227
18fb433
b9a4a64
* Wed Oct 06 2021 Lumír Balhar <lbalhar@redhat.com> - 0.10.6-1
b9a4a64
- Update to 0.10.6
b9a4a64
Resoves: rhbz#2008278
b9a4a64
c048819
* Mon Sep 20 2021 Lumír Balhar <lbalhar@redhat.com> - 0.10.5-1
c048819
- Update to 0.10.5
c048819
Resolves: rhbz#2004479
c048819
353a87d
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-2
353a87d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
353a87d
079b8ff
* Wed Jul 07 2021 Lumír Balhar <lbalhar@redhat.com> - 0.10.4-1
079b8ff
- Update to 0.10.4
079b8ff
Resolves: rhbz#1979685
079b8ff
5a04f44
* Thu Jun 24 2021 Lumír Balhar <lbalhar@redhat.com> - 0.10.3-1
5a04f44
- A few minor modifications
5a04f44
- Update to 0.10.3
5a04f44
5a04f44
* Thu Jan 14 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.7.11-2
5a04f44
- Use pyproject-rpm-macros and pytest macro.
5a04f44
5a04f44
* Fri Jan 08 2021 Filipe Brandenburger <filbranden@gmail.com> - 0.7.11-1
5a04f44
- Initial packaging.