| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package python-mockito
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +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.
 | 
					
						
							| 
									
										
										
										
											2013-10-24 11:08:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | # Please submit bugfixes or comments via http://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
					
						
							|  |  |  | Name:           python-mockito
 | 
					
						
							|  |  |  | Version:        1.0.12
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | Release:        0
 | 
					
						
							|  |  |  | Summary:        Spying framework
 | 
					
						
							|  |  |  | License:        MIT
 | 
					
						
							|  |  |  | Group:          Development/Languages/Python
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | Url:            http://mockito-python.readthedocs.io/en/latest/
 | 
					
						
							|  |  |  | Source:         https://files.pythonhosted.org/packages/source/m/mockito/mockito-%{version}.tar.gz
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module devel}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module setuptools}
 | 
					
						
							|  |  |  | BuildRequires:  fdupes
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:22:17 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | %ifpython2
 | 
					
						
							|  |  |  | Requires:       python2-funcsigs
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | %python_subpackages
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | Mockito is a spying framework originally based on the Java library with the same name.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | %prep
 | 
					
						
							|  |  |  | %setup -q -n mockito-%{version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | %python_build
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | %python_install
 | 
					
						
							|  |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-12 08:14:10 +00:00
										 |  |  | %files %{python_files}
 | 
					
						
							|  |  |  | %doc AUTHORS CHANGES.txt README.rst
 | 
					
						
							|  |  |  | %license LICENSE
 | 
					
						
							| 
									
										
										
										
											2013-09-30 15:38:30 +00:00
										 |  |  | %{python_sitelib}/*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |