Upgrade to support Yoga

This commit is contained in:
huangtianhua 2022-07-13 15:50:29 +08:00
parent 6b1ec15753
commit 6cd0078e62
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 %global _empty_manifest_terminate_build 0
Name: python-doc8 Name: python-doc8
Version: 0.8.1 Version: 0.10.1
Release: 1 Release: 1
Summary: Style checker for Sphinx (or other) RST documentation Summary: Style checker for Sphinx (or other) RST documentation
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/pycqa/doc8 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 BuildArch: noarch
%description %description
doc8 is an opinionated style checker for rst (with basic support for plain text) doc8 is an opinionated style checker for rst (with basic support for plain text)
@ -29,12 +30,10 @@ BuildRequires: python3-stevedore
BuildRequires: python3-pygments BuildRequires: python3-pygments
# Test requires # Test requires
BuildRequires: python3-testtools BuildRequires: python3-testtools
BuildRequires: python3-nose
BuildRequires: python3-mock BuildRequires: python3-mock
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-restructuredtext-lint BuildRequires: python3-restructuredtext-lint
# General requires # General requires
Requires: python3-nose
Requires: python3-testtools Requires: python3-testtools
Requires: python3-chardet Requires: python3-chardet
Requires: python3-docutils Requires: python3-docutils
@ -54,7 +53,8 @@ doc8 is an opinionated style checker for rst (with basic support for plain text)
styles of documentation. styles of documentation.
%prep %prep
%autosetup -n doc8-0.8.1 %autosetup -n doc8-%{version}
cp %{SOURCE1} ./
%build %build
%py3_build %py3_build
@ -99,5 +99,8 @@ pytest
%{_docdir}/* %{_docdir}/*
%changelog %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 * Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 0.8.1-1
- Package Spec generate - Package Spec generate

4
setup.py Normal file
View File

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