From 75d14eaac2c1ba314b19ee8905a50e73b2d34cb0 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 23:34:54 +0300 Subject: [PATCH] import python-jupyter-packaging-0.12.3-12.el10 --- .gitignore | 1 + .python-jupyter-packaging.metadata | 1 + SPECS/python-jupyter-packaging.spec | 164 ++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100644 .gitignore create mode 100644 .python-jupyter-packaging.metadata create mode 100644 SPECS/python-jupyter-packaging.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0c52dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jupyter_packaging-0.12.3.tar.gz diff --git a/.python-jupyter-packaging.metadata b/.python-jupyter-packaging.metadata new file mode 100644 index 0000000..b00d402 --- /dev/null +++ b/.python-jupyter-packaging.metadata @@ -0,0 +1 @@ +092d249360aa56838a188decc4bcd09647fda4d9 SOURCES/jupyter_packaging-0.12.3.tar.gz diff --git a/SPECS/python-jupyter-packaging.spec b/SPECS/python-jupyter-packaging.spec new file mode 100644 index 0000000..06aaf2a --- /dev/null +++ b/SPECS/python-jupyter-packaging.spec @@ -0,0 +1,164 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 12; + 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 jupyter_packaging + +Name: python-jupyter-packaging +Version: 0.12.3 +Release: %autorelease +Summary: Tools to help build and install Jupyter Python packages + +License: BSD-3-Clause +URL: https://github.com/jupyter/jupyter-packaging +Source0: %{pypi_source} +BuildArch: noarch + +%global _description %{expand: +This package contains utilities for making Python packages with and without +accompanying JavaScript packages.} + +%description %_description + +%package -n python3-jupyter-packaging +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + +%description -n python3-jupyter-packaging %_description + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} +# Drop dependencies on coverage, linters etc. +sed -Ei 's/"(coverage|pre-commit|pytest-cov)",//g' pyproject.toml + +%generate_buildrequires +%pyproject_buildrequires -w -x test + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%check +# Some tests are trying to install packages to /usr +# - https://github.com/jupyter/jupyter-packaging/issues/63 +%pytest -k "\ +not test_build_package and \ +not test_create_cmdclass and \ +not test_deprecated_metadata and \ +not test_develop and \ +not test_install and \ +not test_install_hybrid and \ +not test_run \ +" \ +-W "ignore:pkg_resources is deprecated as an API:DeprecationWarning" +# ^^^ +# Workaround pkg_resources deprecation warning leaking from +# setuptools: +# https://github.com/pypa/setuptools/issues/3878 + +%files -n python3-jupyter-packaging -f %{pyproject_files} +%license LICENSE +%doc README.md + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 0.12.3-12 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.12.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.12.3-11 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.12.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.12.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.12.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Python Maint - 0.12.3-6 +- Rebuilt for Python 3.12 + +* Wed Apr 19 2023 Lumir Balhar - 0.12.3-5 +- Convert License to SPDX identifier + +* Tue Apr 18 2023 Lumír Balhar - 0.12.3-3 +- Fix build with setuptools 67.5.1 +Resolves: rhbz#2183383 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.12.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Aug 27 2022 Lumír Balhar - 0.12.3-1 +- Update to 0.12.3 +Resolves: rhbz#2121488 + +* Fri Jul 22 2022 Fedora Release Engineering - 0.12.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 20 2022 Lumír Balhar - 0.12.2-1 +- Update to 0.12.2 +Resolves: rhbz#2099315 + +* Tue Jun 14 2022 Python Maint - 0.12.1-2 +- Rebuilt for Python 3.11 + +* Tue May 31 2022 Lumír Balhar - 0.12.1-1 +- Update to 0.12.1 +Resolves: rhbz#2092028 + +* Mon Mar 28 2022 Miro Hrončok - 0.12.0-2 +- Drop build-time dependencies on coverage, linters etc. + +* Fri Mar 25 2022 Lumír Balhar - 0.12.0-1 +- Update to 0.12.0 +Resolves: rhbz#2068334 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.11.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Nov 16 2021 Lumír Balhar - 0.11.1-1 +- Update to 0.11.1 +Resolves: rhbz#2023459 + +* Tue Oct 19 2021 Lumír Balhar - 0.11.0-1 +- Update to 0.11.0 +Resolves: rhbz#2015227 + +* Wed Oct 06 2021 Lumír Balhar - 0.10.6-1 +- Update to 0.10.6 +Resoves: rhbz#2008278 + +* Mon Sep 20 2021 Lumír Balhar - 0.10.5-1 +- Update to 0.10.5 +Resolves: rhbz#2004479 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.10.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jul 07 2021 Lumír Balhar - 0.10.4-1 +- Update to 0.10.4 +Resolves: rhbz#1979685 + +* Thu Jun 24 2021 Lumír Balhar - 0.10.3-1 +- A few minor modifications +- Update to 0.10.3 + +* Thu Jan 14 2021 Benjamin A. Beasley - 0.7.11-2 +- Use pyproject-rpm-macros and pytest macro. + +* Fri Jan 08 2021 Filipe Brandenburger - 0.7.11-1 +- Initial packaging. + +## END: Generated by rpmautospec