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