From eedf6317a89e692b00d041df18b9c8d09d4e83dc56296ef09635787a43582a72 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 24 Nov 2021 10:14:53 +0000 Subject: [PATCH] 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 --- mistune-0.8.4.tar.gz | 3 +++ mistune-2.0.0rc1.tar.gz | 3 --- python-mistune.changes | 13 ------------- python-mistune.spec | 20 +++++++++----------- 4 files changed, 12 insertions(+), 27 deletions(-) create mode 100644 mistune-0.8.4.tar.gz delete mode 100644 mistune-2.0.0rc1.tar.gz diff --git a/mistune-0.8.4.tar.gz b/mistune-0.8.4.tar.gz new file mode 100644 index 0000000..3b8f288 --- /dev/null +++ b/mistune-0.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e +size 58322 diff --git a/mistune-2.0.0rc1.tar.gz b/mistune-2.0.0rc1.tar.gz deleted file mode 100644 index 5dfaa36..0000000 --- a/mistune-2.0.0rc1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:452bdba97c27efc7c1a83823ed0d6a08a9ad6ea5c67648248509f618b68aa7d9 -size 72515 diff --git a/python-mistune.changes b/python-mistune.changes index 1eeed8c..4db3c41 100644 --- a/python-mistune.changes +++ b/python-mistune.changes @@ -1,16 +1,3 @@ -------------------------------------------------------------------- -Mon Nov 22 10:41:27 UTC 2021 - Andreas Schneider - -- Fix bulding python flavors on newer versions - -------------------------------------------------------------------- -Wed Nov 17 13:45:59 UTC 2021 - Andreas Schneider - -- Update to version 2.0.0rc1 - * whole new mistune - * plugins - * directives - ------------------------------------------------------------------- Fri Oct 23 14:42:42 UTC 2020 - Matej Cepl diff --git a/python-mistune.spec b/python-mistune.spec index 512bb0d..8ac4251 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -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