From 5fee54850d0a2d905e24c35caf08920040aa3c61 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 23:30:11 +0300 Subject: [PATCH] import python-widgetsnbextension-4.0.11-3.el10 --- .gitignore | 1 + .python-widgetsnbextension.metadata | 1 + SPECS/python-widgetsnbextension.spec | 151 +++++++++++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 .gitignore create mode 100644 .python-widgetsnbextension.metadata create mode 100644 SPECS/python-widgetsnbextension.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d5611f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/widgetsnbextension-4.0.11.tar.gz diff --git a/.python-widgetsnbextension.metadata b/.python-widgetsnbextension.metadata new file mode 100644 index 0000000..64ec4b1 --- /dev/null +++ b/.python-widgetsnbextension.metadata @@ -0,0 +1 @@ +239a89f8f072d4ccd492340c214a85bb036accf9 SOURCES/widgetsnbextension-4.0.11.tar.gz diff --git a/SPECS/python-widgetsnbextension.spec b/SPECS/python-widgetsnbextension.spec new file mode 100644 index 0000000..a8700c9 --- /dev/null +++ b/SPECS/python-widgetsnbextension.spec @@ -0,0 +1,151 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global pypi_name widgetsnbextension + +Name: python-%{pypi_name} +Version: 4.0.11 +Release: %autorelease +Summary: Interactive HTML widgets for Jupyter notebooks + +License: BSD-3-Clause +URL: http://ipython.org +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python-jupyter-filesystem + +%description +Interactive HTML widgets for Jupyter notebooks. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +Requires: python3dist(notebook) >= 4.4.1 +Requires: python-jupyter-filesystem + +# sagemath included the files of this package +# https://bugzilla.redhat.com/show_bug.cgi?id=1856311 +Conflicts: sagemath-jupyter < 9.1-2 + +%description -n python3-%{pypi_name} +Interactive HTML widgets for Jupyter notebooks. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%py3_build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +# Move config file from /usr/etc to /etc +mkdir -p %{buildroot}%{_sysconfdir}/jupyter/nbconfig/notebook.d/ +mv {%{buildroot}%{_prefix}/etc,%{buildroot}%{_sysconfdir}}/jupyter/nbconfig/notebook.d/widgetsnbextension.json + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%{_datadir}/jupyter/nbextensions/jupyter-js-widgets/ +%config(noreplace) %{_sysconfdir}/jupyter/nbconfig/notebook.d/widgetsnbextension.json + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 4.0.11-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 4.0.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jun 08 2024 Python Maint - 4.0.11-2 +- Rebuilt for Python 3.13 + +* Tue May 28 2024 Lumir Balhar - 4.0.11-1 +- Update to 4.0.11 (rhbz#2283624) + +* Thu Feb 08 2024 Lumir Balhar - 4.0.10-1 +- Update to 4.0.10 (rhbz#2263388) + +* Fri Jan 26 2024 Fedora Release Engineering - 4.0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 4.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Sep 15 2023 Lumír Balhar - 4.0.9-1 +- Update to 4.0.9 (rhbz#2238699) + +* Fri Jul 21 2023 Fedora Release Engineering - 4.0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Lumír Balhar - 4.0.8-1 +- Update to 4.0.8 (rhbz#2219630) + +* Thu Jun 15 2023 Python Maint - 4.0.7-2 +- Rebuilt for Python 3.12 + +* Wed Mar 29 2023 Lumír Balhar - 4.0.7-1 +- Update to 4.0.7 (rhbz#2182420) + +* Wed Mar 22 2023 Lumír Balhar - 4.0.6-1 +- Update to 4.0.6 (rhbz#2180505) + +* Fri Jan 20 2023 Fedora Release Engineering - 4.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Dec 22 2022 Lumír Balhar - 4.0.5-1 +- Update to 4.0.5 (rhbz#2155765) + +* Wed Dec 07 2022 Lumír Balhar - 4.0.4-1 +- Update to 4.0.4 (rhbz#2151509) + +* Sat Sep 03 2022 Lumír Balhar - 4.0.3-1 +- Update to 4.0.3 +Resolves: rhbz#2123851 + +* Mon Aug 22 2022 Lumír Balhar - 4.0.2-1 +- Update to 4.0.2 +Resolves: rhbz#1977141 + +* Fri Jul 22 2022 Fedora Release Engineering - 3.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 3.6.0-2 +- Rebuilt for Python 3.11 + +* Wed Jun 08 2022 Lumír Balhar - 3.6.0-1 +- Update to 3.6.0 +Resolves: rhbz#1977141 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 3.5.1-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.5.1-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 13 2020 Lumír Balhar - 3.5.1-1 +- Initial package. + +## END: Generated by rpmautospec