forked from pool/python-methodtools
		
	Accepting request 1281833 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1281833 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-methodtools?expand=0&rev=3
This commit is contained in:
		@@ -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>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#
 | 
			
		||||
# 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
 | 
			
		||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
			
		||||
@@ -23,9 +23,11 @@ Summary:        Expand Standard Functools to Methods
 | 
			
		||||
License:        BSD-2-Clause
 | 
			
		||||
URL:            https://github.com/youknowone/methodtools
 | 
			
		||||
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-cov >= 2.6.1}
 | 
			
		||||
BuildRequires:  %{python_module setuptools}
 | 
			
		||||
BuildRequires:  %{python_module wheel}
 | 
			
		||||
BuildRequires:  %{python_module wirerope >= 0.4.7}
 | 
			
		||||
BuildRequires:  fdupes
 | 
			
		||||
BuildRequires:  python-rpm-macros
 | 
			
		||||
@@ -41,10 +43,10 @@ staticmethods and even for (unofficial) hybrid methods.
 | 
			
		||||
%setup -q -n methodtools-%{version}
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
%python_build
 | 
			
		||||
%pyproject_wheel
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
%python_install
 | 
			
		||||
%pyproject_install
 | 
			
		||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
@@ -53,6 +55,8 @@ staticmethods and even for (unofficial) hybrid methods.
 | 
			
		||||
%files %{python_files}
 | 
			
		||||
%license LICENSE
 | 
			
		||||
%doc README.rst
 | 
			
		||||
%{python_sitelib}/*
 | 
			
		||||
%{python_sitelib}/methodtools.py
 | 
			
		||||
%{python_sitelib}/methodtools-%{version}*-info
 | 
			
		||||
%pycache_only %{python_sitelib}/__pycache__/methodtools*
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user