14
0

Accepting request 933422 from devel:languages:python

revert

OBS-URL: https://build.opensuse.org/request/show/933422
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistune?expand=0&rev=30
This commit is contained in:
2021-11-24 10:14:53 +00:00
committed by Git OBS Bridge
parent 82dcee1a54
commit eedf6317a8
4 changed files with 12 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mistune
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,15 @@
#
%define pkg_version 2.0.0rc1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?sle_version} && 0%{?sle_version} <= 150300
%define pythons python3
%endif
Name: python-mistune
Version: 2.0.0~rc1
Version: 0.8.4
Release: 0
Summary: A markdown parser in pure Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/lepture/mistune
Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{pkg_version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -41,7 +36,7 @@ BuildArch: noarch
A markdown parser in pure Python, inspired by marked.
%prep
%setup -q -n mistune-%{pkg_version}
%setup -q -n mistune-%{version}
%build
%python_build
@@ -55,7 +50,10 @@ A markdown parser in pure Python, inspired by marked.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%doc CHANGES.rst README.rst
%{python_sitelib}/mistune.py*
%pycache_only %{python_sitelib}/__pycache__/*
%dir %{python_sitelib}/mistune-%{version}-py*.egg-info
%{python_sitelib}/mistune-%{version}-py*.egg-info/*
%changelog