Accepting request 681160 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/681160 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-readme_renderer?expand=0&rev=2
This commit is contained in:
commit
ca49c3de43
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 3 09:43:05 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove bcond_with test preventing the tests from running
|
||||||
|
- Remove unnecessary dependency on flake8
|
||||||
|
- Increase dependency on bleach to fix test failure
|
||||||
|
- Add cmarkgfm >= 0.2.0 from upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 30 11:27:34 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>
|
Sun Dec 30 11:27:34 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-readme_renderer
|
# spec file for package python-readme_renderer
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_with test
|
|
||||||
Name: python-readme_renderer
|
Name: python-readme_renderer
|
||||||
Version: 24.0
|
Version: 24.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,26 +25,23 @@ License: Apache-2.0
|
|||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/r/readme_renderer/readme_renderer-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module Pygments}
|
BuildRequires: %{python_module Pygments}
|
||||||
BuildRequires: %{python_module bleach >= 2.1.0}
|
BuildRequires: %{python_module bleach >= 3.0.0}
|
||||||
BuildRequires: %{python_module check-manifest}
|
BuildRequires: %{python_module check-manifest}
|
||||||
BuildRequires: %{python_module cmarkgfm}
|
BuildRequires: %{python_module cmarkgfm >= 0.2.0}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module docutils >= 0.13.1}
|
BuildRequires: %{python_module docutils >= 0.13.1}
|
||||||
BuildRequires: %{python_module flake8}
|
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
%endif
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pygments
|
Requires: python-Pygments
|
||||||
Requires: python-bleach >= 2.1.0
|
Requires: python-bleach >= 3.0.0
|
||||||
Requires: python-docutils >= 0.13.1
|
Requires: python-docutils >= 0.13.1
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Recommends: python-cmarkgfm
|
Recommends: python-cmarkgfm >= 0.2.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -65,16 +61,13 @@ long_description for packages.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
py.test-%{$python_bin_suffix}
|
py.test-%{$python_bin_suffix}
|
||||||
}
|
}
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user