From b11be927d74bc537a5444fe174d7e5cfbf98a1ac Mon Sep 17 00:00:00 2001 From: Joel Capitao Date: Feb 06 2025 08:52:08 +0000 Subject: Import python-hyperlink-21.0.0-19.el10s in CloudSIG Epoxy --- diff --git a/.python-hyperlink.metadata b/.python-hyperlink.metadata new file mode 100644 index 0000000..d36d43e --- /dev/null +++ b/.python-hyperlink.metadata @@ -0,0 +1 @@ +8225912dc7c73561f19f7a0a02939e563db518d2 SOURCES/hyperlink-21.0.0.tar.gz diff --git a/SOURCES/.gitkeep b/SOURCES/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitkeep diff --git a/SPECS/python-hyperlink.spec b/SPECS/python-hyperlink.spec new file mode 100644 index 0000000..603a0a1 --- /dev/null +++ b/SPECS/python-hyperlink.spec @@ -0,0 +1,175 @@ +%global srcname hyperlink + +%global common_description %{expand: +The humble, but powerful, URL runs everything around us. Chances are you've +used several just to read this text. Hyperlink is a featureful, pure-Python +implementation of the URL, with an emphasis on correctness.} + +Name: python-%{srcname} +Version: 21.0.0 +Release: 19%{?dist} +Summary: A featureful, immutable, and correct URL for Python + +# MIT: main library +# BSD: searchtools.js, websupport.js and modernizr.min.js +# OFL: Inconsolata-Regular.ttf and Inconsolata-Bold.ttf +# Automatically converted from old format: MIT and BSD and OFL - review is highly recommended. +License: LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-OFL +URL: https://github.com/python-hyper/hyperlink +Source0: %url/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(sphinx) +BuildRequires: python3dist(sphinx-rtd-theme) + +%description %{common_description} + +%package -n python3-%{srcname} +Summary: %{summary} + +%description -n python3-%{srcname} %{common_description} + +%package doc +Summary: Documentation for %{name} + +%description doc +%{common_description} + +This is the documentation package for %{name}. + +%prep +%autosetup -p1 -n %{srcname}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +# generate html docs +PYTHONPATH=%{pyproject_build_lib} sphinx-build docs html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} + +%install +%pyproject_install +%pyproject_save_files %{srcname} + +%check +%pytest + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.md + +%files doc +%doc html +%license LICENSE + +%changelog +* Sat Jan 18 2025 Fedora Release Engineering - 21.0.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 04 2024 Miroslav Suchý - 21.0.0-18 +- convert license to SPDX + +* Fri Jul 19 2024 Fedora Release Engineering - 21.0.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 21.0.0-16 +- Rebuilt for Python 3.13 + +* Fri Jun 07 2024 Python Maint - 21.0.0-15 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 21.0.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 21.0.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 21.0.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Python Maint - 21.0.0-11 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 21.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 21.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jun 23 2022 Robert-André Mauchin - 21.0.0-8 +- Convert to new Python guidelines + + +* Mon Jun 13 2022 Python Maint - 21.0.0-6 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 21.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 21.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 21.0.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 21.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 8 14:00:33 CET 2021 Robert-André Mauchin - 21.0.0-1 +- Update to 21.0.0 +- Close: rhbz#1914100 + +* Sat Dec 26 14:37:18 CET 2020 Robert-André Mauchin - 20.0.1-2 +- Fix FTBFS + +* Sat Nov 14 20:13:27 CET 2020 Robert-André Mauchin - 20.0.1-1 +- Update to 20.0.1 +- Close: rhbz#1865772 + +* Wed Jul 29 2020 Fedora Release Engineering - 19.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 19.0.0-7 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 19.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Oct 13 23:21:28 CEST 2019 Robert-André Mauchin - 19.0.0-5 +- Drop Python 2 support (#1761205) + +* Fri Sep 27 2019 Petr Viktorin - 19.0.0-4 +- Run tests under Python 2 +- Remove unused build dependencies on unittest2 + +* Sat Aug 17 2019 Miro Hrončok - 19.0.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 19.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Apr 08 15:06:03 CET 2019 Robert-André Mauchin - 19.0.0-1 +- Release 19.0.0 + +* Fri Mar 08 2019 Jeroen van Meeuwen - 18.0.0-6 +- Add bcond_without docs + +* Thu Mar 07 2019 Robert-André Mauchin - 18.0.0-5 +- Run tests + +* Sat Feb 02 2019 Fedora Release Engineering - 18.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 18.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 18.0.0-2 +- Rebuilt for Python 3.7 + +* Mon May 14 2018 Robert-André Mauchin - 18.0.0-1 +- Initial package.