14
0
2025-06-02 08:56:54 +00:00
committed by Git OBS Bridge
parent 67ce8dabe9
commit 7ca31a8f27
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 08:56:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 7 22:17:50 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu Dec 7 22:17:50 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-methodtools # spec file for package python-methodtools
# #
# 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
@@ -23,9 +23,11 @@ Summary: Expand Standard Functools to Methods
License: BSD-2-Clause License: BSD-2-Clause
URL: https://github.com/youknowone/methodtools URL: https://github.com/youknowone/methodtools
Source0: https://github.com/youknowone/methodtools/archive/%{version}.tar.gz#/methodtools-%{version}.tar.gz Source0: https://github.com/youknowone/methodtools/archive/%{version}.tar.gz#/methodtools-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 4.6.7} BuildRequires: %{python_module pytest >= 4.6.7}
BuildRequires: %{python_module pytest-cov >= 2.6.1} BuildRequires: %{python_module pytest-cov >= 2.6.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module wirerope >= 0.4.7} BuildRequires: %{python_module wirerope >= 0.4.7}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -41,10 +43,10 @@ staticmethods and even for (unofficial) hybrid methods.
%setup -q -n methodtools-%{version} %setup -q -n methodtools-%{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
@@ -53,6 +55,7 @@ staticmethods and even for (unofficial) hybrid methods.
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/methodtools
%{python_sitelib}/methodtools-%{version}*-info
%changelog %changelog