| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2021-12-31 18:27:20 +00:00
										 |  |  | # spec file
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2023-04-21 14:21:42 +00:00
										 |  |  | # Copyright (c) 2023 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-04 08:55:28 +00:00
										 |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-09 16:29:11 +00:00
										 |  |  | %define modname mistune
 | 
					
						
							| 
									
										
										
										
											2023-04-21 14:21:42 +00:00
										 |  |  | %{?sle15_python_module_pythons}
 | 
					
						
							| 
									
										
										
										
											2021-12-27 09:14:03 +00:00
										 |  |  | Name:           python-%{modname}
 | 
					
						
							| 
									
										
										
										
											2023-10-16 11:15:28 +00:00
										 |  |  | Version:        3.0.2
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2021-12-27 09:14:03 +00:00
										 |  |  | Summary:        Python Markdown parser with renderers and plugins
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | License:        BSD-3-Clause
 | 
					
						
							| 
									
										
										
										
											2019-03-04 08:55:28 +00:00
										 |  |  | URL:            https://github.com/lepture/mistune
 | 
					
						
							| 
									
										
										
										
											2021-12-09 16:29:11 +00:00
										 |  |  | Source:         https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module pip}
 | 
					
						
							| 
									
										
										
										
											2020-04-14 10:56:56 +00:00
										 |  |  | BuildRequires:  %{python_module pytest}
 | 
					
						
							| 
									
										
										
										
											2021-12-09 16:29:11 +00:00
										 |  |  | BuildRequires:  %{python_module wheel}
 | 
					
						
							| 
									
										
										
										
											2017-11-07 15:34:40 +00:00
										 |  |  | BuildRequires:  fdupes
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							| 
									
										
										
										
											2019-03-04 08:57:58 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							| 
									
										
										
										
											2023-11-21 08:53:58 +00:00
										 |  |  | Conflicts:      python-mistune2 < %{version}
 | 
					
						
							|  |  |  | Obsoletes:      python-mistune2 < %{version}
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %python_subpackages
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2021-12-27 09:14:03 +00:00
										 |  |  | A Python Markdown parser with renderers and plugins,
 | 
					
						
							|  |  |  | compatible with sane CommonMark rules.
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2021-12-27 09:14:03 +00:00
										 |  |  | %autosetup -p1 -n %{modname}-%{version}
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2021-12-09 16:29:11 +00:00
										 |  |  | %pyproject_wheel
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2021-12-09 16:29:11 +00:00
										 |  |  | %pyproject_install
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							| 
									
										
										
										
											2020-04-14 10:56:56 +00:00
										 |  |  | %pytest
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-07 20:44:49 +00:00
										 |  |  | %files %{python_files}
 | 
					
						
							| 
									
										
										
										
											2019-03-04 08:55:28 +00:00
										 |  |  | %license LICENSE
 | 
					
						
							| 
									
										
										
										
											2021-12-27 09:14:03 +00:00
										 |  |  | %doc README.md
 | 
					
						
							|  |  |  | %{python_sitelib}/%{modname}
 | 
					
						
							|  |  |  | %{python_sitelib}/%{modname}-%{version}*-info
 | 
					
						
							| 
									
										
										
										
											2014-10-10 10:02:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |