- Add patch to build with python 3.7:
* markdown-2.6.11-python37.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=45
This commit is contained in:
parent
e0e5445fe7
commit
e3e6d37042
11
markdown-2.6.11-python37.patch
Normal file
11
markdown-2.6.11-python37.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up Markdown-2.6.11/tests/__init__.py.orig markdown/tests/__init__.py
|
||||||
|
--- Markdown-2.6.11/tests/__init__.py.orig 2018-06-03 10:51:55.518781537 +0000
|
||||||
|
+++ Markdown-2.6.11/tests/__init__.py 2018-06-03 10:59:34.088350325 +0000
|
||||||
|
@@ -185,5 +185,7 @@ def run():
|
||||||
|
# Except for the warnings that shouldn't
|
||||||
|
warnings.filterwarnings('default', category=PendingDeprecationWarning)
|
||||||
|
warnings.filterwarnings('default', category=DeprecationWarning, module='markdown')
|
||||||
|
+ warnings.filterwarnings('default', category=DeprecationWarning, module='yaml')
|
||||||
|
+ warnings.filterwarnings('default', category=DeprecationWarning, module='nose')
|
||||||
|
|
||||||
|
nose.main(addplugins=[HtmlOutput(), Markdown()])
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 7 07:51:51 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add patch to build with python 3.7:
|
||||||
|
* markdown-2.6.11-python37.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 19 11:32:36 UTC 2018 - tchvatal@suse.com
|
Mon Mar 19 11:32:36 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -24,8 +24,9 @@ Release: 0
|
|||||||
Summary: Python implementation of Markdown
|
Summary: Python implementation of Markdown
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://packages.python.org/Markdown/
|
Url: https://python-markdown.github.io/
|
||||||
Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
|
||||||
|
Patch0: markdown-2.6.11-python37.patch
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -53,6 +54,7 @@ supported by the [Available Extensions][].
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Markdown-%{version}
|
%setup -q -n Markdown-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user