14
0

Accepting request 1284854 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rfc3986?expand=0&rev=14
This commit is contained in:
2025-06-12 13:47:39 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 13:21:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:33:14 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:33:14 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-rfc3986 # spec file for package python-rfc3986
# #
# 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-rfc3986 Name: python-rfc3986
Version: 2.0.0 Version: 2.0.0
@@ -26,7 +25,9 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://rfc3986.rtfd.org URL: https://rfc3986.rtfd.org
Source: https://files.pythonhosted.org/packages/source/r/rfc3986/rfc3986-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/rfc3986/rfc3986-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -43,10 +44,10 @@ parsing. Coming soon: `Reference Resolution <http://tools.ietf.org/html/rfc3986#
%setup -q -n rfc3986-%{version} %setup -q -n rfc3986-%{version}
%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
@@ -55,6 +56,7 @@ parsing. Coming soon: `Reference Resolution <http://tools.ietf.org/html/rfc3986#
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc AUTHORS.rst README.rst %doc AUTHORS.rst README.rst
%{python_sitelib}/* %{python_sitelib}/rfc3986
%{python_sitelib}/rfc3986-%{version}*-info
%changelog %changelog