Upgrade version to 2.0.0
This commit is contained in:
parent
37688fce12
commit
7a4874a8ea
Binary file not shown.
BIN
prettytable-2.0.0.tar.gz
Normal file
BIN
prettytable-2.0.0.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,16 @@
|
|||||||
Name: python-prettytable
|
%global srcname prettytable
|
||||||
Version: 0.7.2
|
|
||||||
Release: 20
|
Name: python-%{srcname}
|
||||||
|
Version: 2.0.0
|
||||||
|
Release: 1
|
||||||
Summary: Display tabular data in a visually appealing ASCII table format.
|
Summary: Display tabular data in a visually appealing ASCII table format.
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://pypi.python.org/pypi/PrettyTable
|
URL: http://pypi.python.org/pypi/PrettyTable
|
||||||
Source0: https://files.pythonhosted.org/packages/e0/a1/36203205f77ccf98f3c6cf17cf068c972e6458d7e58509ca66da949ca347/prettytable-%{version}.tar.gz
|
Source0: %{pypi_source}
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
BuildRequires: python3-setuptools_scm python3-pytest python3-py python3-wcwidth
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PrettyTable is a simple Python library designed to make it quick and easy to
|
PrettyTable is a simple Python library designed to make it quick and easy to
|
||||||
@ -39,24 +42,24 @@ This package is for python3.
|
|||||||
%{__python3} setup.py build
|
%{__python3} setup.py build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} prettytable_test.py
|
%{__python3} setup.py test
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README CHANGELOG
|
%doc COPYING
|
||||||
|
|
||||||
%files -n python3-prettytable
|
%files -n python3-prettytable
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python3_sitelib}/prettytable.py*
|
%{python3_sitelib}/*
|
||||||
%{python3_sitelib}/__pycache__/prettytable*
|
|
||||||
%{python3_sitelib}/prettytable-%{version}*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 2 2021 shangyibin <shangyibin1@huawei.com> - 2.0.0-1
|
||||||
|
- Upgrade tp version 2.0.0
|
||||||
|
|
||||||
* Wed Nov 4 2020 wangjie<wangjie294@huawei.com> -0.7.2-20
|
* Wed Nov 4 2020 wangjie<wangjie294@huawei.com> -0.7.2-20
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user