| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package python-multipledispatch
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2023-09-14 13:03:46 +00:00
										 |  |  | # Copyright (c) 2023 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-04 13:41:31 +00:00
										 |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           python-multipledispatch
 | 
					
						
							| 
									
										
										
										
											2023-09-14 13:03:46 +00:00
										 |  |  | Version:        1.0.0
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | Release:        0
 | 
					
						
							|  |  |  | Summary:        Multiple dispatch in Python
 | 
					
						
							|  |  |  | License:        BSD-3-Clause
 | 
					
						
							|  |  |  | Group:          Development/Languages/Python
 | 
					
						
							| 
									
										
										
										
											2021-11-08 14:01:49 +00:00
										 |  |  | URL:            https://multiple-dispatch.readthedocs.io/
 | 
					
						
							| 
									
										
										
										
											2023-09-14 13:03:46 +00:00
										 |  |  | Source:         https://github.com/mrocklin/multipledispatch/archive/%{version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2019-04-15 10:01:41 +00:00
										 |  |  | BuildRequires:  %{python_module pytest-benchmark}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module pytest}
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | BuildRequires:  %{python_module setuptools}
 | 
					
						
							|  |  |  | BuildRequires:  fdupes
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | %python_subpackages
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | A relatively sane approach to multiple dispatch in Python.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-08 08:08:07 +00:00
										 |  |  | This implementation of multiple dispatch is mostly complete,
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | performs static analysis to avoid conflicts, and provides optional namespace
 | 
					
						
							| 
									
										
										
										
											2018-06-08 08:08:07 +00:00
										 |  |  | support.
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2023-09-14 13:03:46 +00:00
										 |  |  | %autosetup -n multipledispatch-%{version}
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | %python_build
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %python_install
 | 
					
						
							|  |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-15 10:01:41 +00:00
										 |  |  | %check
 | 
					
						
							|  |  |  | %pytest
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | %files %{python_files}
 | 
					
						
							|  |  |  | %doc README.rst
 | 
					
						
							| 
									
										
										
										
											2018-05-03 15:08:34 +00:00
										 |  |  | %license LICENSE.txt
 | 
					
						
							| 
									
										
										
										
											2023-09-14 13:03:46 +00:00
										 |  |  | %{python_sitelib}/multipledispatch*
 | 
					
						
							| 
									
										
										
										
											2018-05-03 07:01:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |