Blame python-jupyter-packaging.spec

5a04f44
%global pypi_name jupyter_packaging
5a04f44
5a04f44
Name:           python-jupyter-packaging
b9a4a64
Version:        0.10.6
c048819
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
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
5a04f44
%autosetup -n %{pypi_name}-%{version}
5a04f44
5a04f44
%generate_buildrequires
079b8ff
%pyproject_buildrequires -r -x test
5a04f44
5a04f44
%build
5a04f44
%pyproject_wheel
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
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.