forked from pool/python-readme_renderer
- Update to 25.0:
* Fix testsuite to work with new pygments - Remove merged patch pygments25.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readme_renderer?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
23b3e0c2c5
commit
c711a5dc26
@@ -1,25 +0,0 @@
|
||||
Index: readme_renderer-24.0/tests/fixtures/test_CommonMark_008.html
|
||||
===================================================================
|
||||
--- readme_renderer-24.0.orig/tests/fixtures/test_CommonMark_008.html
|
||||
+++ readme_renderer-24.0/tests/fixtures/test_CommonMark_008.html
|
||||
@@ -1,6 +1,6 @@
|
||||
<p>Here is some Python code for a <code>Dog</code>:</p>
|
||||
<pre><span class="k">class</span> <span class="nc">Dog</span><span class="p">(</span><span class="n">Animal</span><span class="p">):</span>
|
||||
- <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="p">):</span>
|
||||
+ <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="p">):</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">name</span> <span class="o">=</span> <span class="n">name</span>
|
||||
|
||||
<span class="k">def</span> <span class="nf">make_sound</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
Index: readme_renderer-24.0/tests/fixtures/test_rst_008.html
|
||||
===================================================================
|
||||
--- readme_renderer-24.0.orig/tests/fixtures/test_rst_008.html
|
||||
+++ readme_renderer-24.0/tests/fixtures/test_rst_008.html
|
||||
@@ -4,7 +4,7 @@
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">name</span> <span class="o">=</span> <span class="n">name</span>
|
||||
|
||||
<span class="k">def</span> <span class="nf">make_sound</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
- <span class="k">print</span><span class="p">(</span><span class="s1">'Ruff!'</span><span class="p">)</span>
|
||||
+ <span class="nb">print</span><span class="p">(</span><span class="s1">'Ruff!'</span><span class="p">)</span>
|
||||
|
||||
<span class="n">dog</span> <span class="o">=</span> <span class="n">Dog</span><span class="p">(</span><span class="s1">'Fido'</span><span class="p">)</span>
|
||||
</pre>
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 15 07:07:09 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 25.0:
|
||||
* Fix testsuite to work with new pygments
|
||||
- Remove merged patch pygments25.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 09:44:32 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -18,14 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-readme_renderer
|
||||
Version: 24.0
|
||||
Version: 25.0
|
||||
Release: 0
|
||||
Summary: A library for rendering "readme" descriptions
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/pypa/readme_renderer
|
||||
Source: https://files.pythonhosted.org/packages/source/r/readme_renderer/readme_renderer-%{version}.tar.gz
|
||||
Patch0: pygments25.patch
|
||||
BuildRequires: %{python_module Pygments}
|
||||
BuildRequires: %{python_module Pygments >= 2.5.2}
|
||||
BuildRequires: %{python_module bleach >= 3.0.0}
|
||||
BuildRequires: %{python_module check-manifest}
|
||||
BuildRequires: %{python_module cmarkgfm >= 0.2.0}
|
||||
@@ -52,7 +51,6 @@ long_description for packages.
|
||||
|
||||
%prep
|
||||
%setup -q -n readme_renderer-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f
|
||||
size 24038
|
3
readme_renderer-25.0.tar.gz
Normal file
3
readme_renderer-25.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e67d64242f0174a63c3b727801a2fff4c1f38ebe5d71d95ff7ece081945a6cd4
|
||||
size 24116
|
Reference in New Issue
Block a user