| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2015-02-09 15:31:21 +00:00
										 |  |  | # spec file for package python-mistune
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2018-01-25 16:09:36 +00:00
										 |  |  | # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Please submit bugfixes or comments via http://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | Name:           python-mistune
 | 
					
						
							| 
									
										
										
										
											2017-12-06 09:26:36 +00:00
										 |  |  | Version:        0.8.3
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2017-12-11 22:21:10 +00:00
										 |  |  | Summary:        A markdown parser in pure Python
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | License:        BSD-3-Clause
 | 
					
						
							|  |  |  | Group:          Development/Languages/Python
 | 
					
						
							| 
									
										
										
										
											2015-08-13 12:25:50 +00:00
										 |  |  | Url:            https://github.com/lepture/mistune
 | 
					
						
							| 
									
										
										
										
											2017-04-07 21:13:20 +00:00
										 |  |  | Source0:        https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | BuildRequires:  %{python_module Cython}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module devel}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module nose}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module setuptools}
 | 
					
						
							| 
									
										
										
										
											2017-11-07 15:34:40 +00:00
										 |  |  | BuildRequires:  fdupes
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							| 
									
										
										
										
											2015-08-13 12:25:50 +00:00
										 |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %python_subpackages
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2017-12-11 22:21:10 +00:00
										 |  |  | A markdown parser in pure Python, inspired by marked.
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							|  |  |  | %setup -q -n mistune-%{version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %python_build
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %python_install
 | 
					
						
							|  |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | %python_expand nosetests-%{$python_bin_suffix}
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %files %{python_files}
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | %defattr(-,root,root)
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %doc CHANGES.rst LICENSE README.rst
 | 
					
						
							|  |  |  | %{python_sitearch}/*
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |