|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-hyperlink
|
|
|
|
# spec file for package python-hyperlink
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -16,7 +16,6 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
Name: python-hyperlink
|
|
|
|
Name: python-hyperlink
|
|
|
|
Version: 21.0.0
|
|
|
|
Version: 21.0.0
|
|
|
|
@@ -27,8 +26,10 @@ Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/python-hyper/hyperlink
|
|
|
|
URL: https://github.com/python-hyper/hyperlink
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module idna >= 2.5}
|
|
|
|
BuildRequires: %{python_module idna >= 2.5}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-idna >= 2.5
|
|
|
|
Requires: python-idna >= 2.5
|
|
|
|
@@ -44,10 +45,10 @@ based on RFC 3986 and 3987.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
@@ -56,6 +57,7 @@ based on RFC 3986 and 3987.
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG.md README.md docs/*.rst
|
|
|
|
%doc CHANGELOG.md README.md docs/*.rst
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/hyperlink
|
|
|
|
|
|
|
|
%{python_sitelib}/hyperlink-%{version}*-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|