Accepting request 787880 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/787880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-readme_renderer?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-04-19 19:44:22 +00:00 committed by Git OBS Bridge
commit 7e331ac854
4 changed files with 28 additions and 12 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Mar 24 16:03:10 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Do not build the python2 package since Pygments, which is required
only builds a python3 package.
-------------------------------------------------------------------
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>
- Add patch to fix test fixtures with new pygments:
* pygments25.patch
-------------------------------------------------------------------
Sun Mar 3 09:43:05 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-readme_renderer
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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,16 +16,16 @@
#
%define skip_python2 1
%{?!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
Group: Development/Languages/Python
Url: https://github.com/pypa/readme_renderer
URL: https://github.com/pypa/readme_renderer
Source: https://files.pythonhosted.org/packages/source/r/readme_renderer/readme_renderer-%{version}.tar.gz
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}
@ -43,7 +43,6 @@ Requires: python-docutils >= 0.13.1
Requires: python-six
Recommends: python-cmarkgfm >= 0.2.0
BuildArch: noarch
%python_subpackages
%description
@ -63,9 +62,7 @@ long_description for packages.
%check
export LANG=en_US.UTF-8
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix}
}
%pytest
%files %{python_files}
%license LICENSE

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f
size 24038

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e67d64242f0174a63c3b727801a2fff4c1f38ebe5d71d95ff7ece081945a6cd4
size 24116