Name: python-bash-kernel Version: 0.9.3 Release: 5%{?dist} Summary: Bash kernel for Jupyter License: BSD-3-Clause URL: https://github.com/takluyver/bash_kernel VCS: git:%{url}.git Source: %{url}/archive/%{version}/bash_kernel-%{version}.tar.gz # Adapt to python 3.13 by using filetype instead of imghdr # See https://github.com/takluyver/bash_kernel/issues/146 Patch: %{name}-python3.13.patch # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist docutils} %description This package contains a Jupyter kernel for bash. %package -n python3-bash-kernel Summary: %{summary} Requires: bash Requires: python-jupyter-filesystem %description -n python3-bash-kernel This package contains a Jupyter kernel for bash. %prep %autosetup -n bash_kernel-%{version} -p1 # Work around an install error sed -i 's/from \.resources/from bash_kernel.resources/' bash_kernel/install.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel rst2html --no-datestamp README.rst README.html %install %pyproject_install %pyproject_save_files bash_kernel export PYTHONPATH=$PWD cd bash_kernel %{python3} install.py --prefix %{buildroot}%{_prefix} cd - %check %pyproject_check_import %files -n python3-bash-kernel -f %{pyproject_files} %doc README.html %license LICENSE %{_datadir}/jupyter/kernels/bash/ %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.9.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Jerry James - 0.9.3-4 - Stop building for 32-bit x86 - Add VCS field * Mon Jun 10 2024 Jerry James - 0.9.3-4 - Add patch to use filetype instead of imghdr * Sun Jun 09 2024 Python Maint - 0.9.3-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Nov 26 2023 Jerry James - 0.9.3-1 - Version 0.9.3 * Fri Jul 21 2023 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jul 02 2023 Python Maint - 0.9.1-2 - Rebuilt for Python 3.12 * Fri Jun 30 2023 Jerry James - 0.9.1-1 - Version 0.9.1 * Thu Feb 23 2023 Jerry James - 0.9.0-2 - Dynamically generate BuildRequires * Fri Jan 20 2023 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Dec 18 2022 Jerry James - 0.9.0-1 - Version 0.9.0 * Mon Aug 22 2022 Jerry James - 0.8-1 - Version 0.8 - Convert License tag to SPDX * Fri Jul 22 2022 Fedora Release Engineering - 0.7.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Jerry James - 0.7.2-4 - Minor spec file cleanups * Wed Jun 15 2022 Python Maint - 0.7.2-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 13 2021 Jerry James - 0.7.2-1 - Initial RPM