Accepting request 942709 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942709 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mistune?expand=0&rev=10
This commit is contained in:
commit
f332dc59f6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e
|
|
||||||
size 58322
|
|
3
mistune-2.0.0.tar.gz
Normal file
3
mistune-2.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7489946a89183b614ea62e56261fb1e4163d80fa1db486aaa010e0c53416f1ec
|
||||||
|
size 82992
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Fix building on openSUSE 15.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 6 13:13:49 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.0.0:
|
||||||
|
- Complete rewrite of the package with quite modern API.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 10:16:00 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Revert to 0.* version, because 2.* breaks python-m2r in the
|
||||||
|
current moment.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 23 14:42:42 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Fri Oct 23 14:42:42 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-mistune
|
# spec file for package python-mistune
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,33 +16,38 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
Name: python-mistune
|
%define modname mistune
|
||||||
Version: 0.8.4
|
%define skip_python2 1
|
||||||
|
Name: python-%{modname}
|
||||||
|
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
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
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
|
||||||
%setup -q -n mistune-%{version}
|
%autosetup -p1 -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -50,10 +55,8 @@ A markdown parser in pure Python, inspired by marked.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES.rst README.rst
|
%doc README.md
|
||||||
%{python_sitelib}/mistune.py*
|
%{python_sitelib}/%{modname}
|
||||||
%pycache_only %{python_sitelib}/__pycache__/*
|
%{python_sitelib}/%{modname}-%{version}*-info
|
||||||
%dir %{python_sitelib}/mistune-%{version}-py*.egg-info
|
|
||||||
%{python_sitelib}/mistune-%{version}-py*.egg-info/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user