forked from pool/python-mistune
Accepting request 942645 from home:bnavigator:branches:devel:languages:python
- Cleanup specfile - Unskip python36: required by httpbin OBS-URL: https://build.opensuse.org/request/show/942645 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistune?expand=0&rev=35
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 26 17:24:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Cleanup specfile
|
||||||
|
- Unskip python36: required by httpbin
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 16 19:49:28 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
Thu Dec 16 19:49:28 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
|||||||
@@ -18,19 +18,14 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define modname mistune
|
%define modname mistune
|
||||||
%define skip_python36 1
|
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%endif
|
Name: python-%{modname}
|
||||||
Name: python-mistune
|
|
||||||
# Wait with the upgrade to 2.* when python-m2r is working
|
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A markdown parser in pure Python
|
Summary: Python Markdown parser with renderers and plugins
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/lepture/mistune
|
URL: https://github.com/lepture/mistune
|
||||||
# Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%%{version}.tar.gz
|
|
||||||
Source: https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
Source: https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -42,10 +37,11 @@ BuildArch: noarch
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A markdown parser in pure Python, inspired by marked.
|
A Python Markdown parser with renderers and plugins,
|
||||||
|
compatible with sane CommonMark rules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n mistune-%{version}
|
%autosetup -p1 -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -59,9 +55,8 @@ A markdown parser in pure Python, inspired by marked.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.*
|
%doc README.md
|
||||||
%{python_sitelib}/mistune
|
%{python_sitelib}/%{modname}
|
||||||
%dir %{python_sitelib}/mistune-%{version}.dist-info
|
%{python_sitelib}/%{modname}-%{version}*-info
|
||||||
%{python_sitelib}/mistune-%{version}.dist-info/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user