!8 Upgrade to support Yoga

From: @huangtianhua 
Reviewed-by: @xiyuanwang 
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2022-07-13 08:32:06 +00:00 committed by Gitee
commit 16ca5759c1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 12 additions and 5 deletions

BIN
doc8-0.10.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-doc8
Version: 0.8.1
Version: 0.10.1
Release: 1
Summary: Style checker for Sphinx (or other) RST documentation
License: Apache-2.0
URL: https://github.com/pycqa/doc8
Source0: https://files.pythonhosted.org/packages/95/1a/fe1172cbad4c11923fcacc0dea2dfb23471e6f8daee7ddb0d73a8b85d7b1/doc8-0.8.1.tar.gz
Source0: https://files.pythonhosted.org/packages/76/04/3f70faf4ad8d9bcc5f6a2ee27e4cad48fd3a1ed80f3ce40fc9334f268e2d/doc8-0.10.1.tar.gz
Source1: setup.py
BuildArch: noarch
%description
doc8 is an opinionated style checker for rst (with basic support for plain text)
@ -29,12 +30,10 @@ BuildRequires: python3-stevedore
BuildRequires: python3-pygments
# Test requires
BuildRequires: python3-testtools
BuildRequires: python3-nose
BuildRequires: python3-mock
BuildRequires: python3-pytest
BuildRequires: python3-restructuredtext-lint
# General requires
Requires: python3-nose
Requires: python3-testtools
Requires: python3-chardet
Requires: python3-docutils
@ -54,7 +53,8 @@ doc8 is an opinionated style checker for rst (with basic support for plain text)
styles of documentation.
%prep
%autosetup -n doc8-0.8.1
%autosetup -n doc8-%{version}
cp %{SOURCE1} ./
%build
%py3_build
@ -99,5 +99,8 @@ pytest
%{_docdir}/*
%changelog
* Wed Jul 13 2022 huangtianhua <huangtianhua@huawei.com> - 0.10.1-1
- Upgrade to support Yoga
* Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 0.8.1-1
- Package Spec generate

4
setup.py Normal file
View File

@ -0,0 +1,4 @@
from setuptools import setup
setup(install_requires=["setuptools>=42"])