14
0
2025-06-10 15:16:32 +00:00
committed by Git OBS Bridge
parent e139cd96b8
commit 8ade32f9bc
2 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 15:16:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 4 18:30:40 UTC 2024 - Dirk Müller <dmueller@suse.com> Sun Feb 4 18:30:40 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-utils # spec file for package python-python-utils
# #
# Copyright (c) 2024 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
@@ -24,18 +24,19 @@ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/WoLpH/python-utils URL: https://github.com/WoLpH/python-utils
Source: https://files.pythonhosted.org/packages/source/p/python-utils/python-utils-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/python-utils/python-utils-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-extensions} BuildRequires: %{python_module typing-extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-loguru
Requires: python-typing-extensions
BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module loguru} BuildRequires: %{python_module loguru}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
Requires: python-loguru
Requires: python-typing-extensions
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -46,10 +47,10 @@ classes which make common patterns shorter and easier.
%setup -q -n python-utils-%{version} %setup -q -n python-utils-%{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
@@ -61,6 +62,7 @@ mv pytest.ini{.hide,}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/python[-_]utils
%{python_sitelib}/python[-_]utils-%{version}*-info
%changelog %changelog