update version to 3.6.0

This commit is contained in:
Wangjunqi123 2023-01-31 11:02:07 +08:00
parent a6d29ebc3a
commit 9a6caac8d8
4 changed files with 12 additions and 8 deletions

View File

@ -8,5 +8,5 @@
+if __name__ == "__main__": +if __name__ == "__main__":
+ setup( + setup(
+ name = "prettytable", + name = "prettytable",
+ version = "3.5.0" + version = "3.6.0"
+ ) + )

Binary file not shown.

BIN
prettytable-3.6.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,14 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-prettytable Name: python-prettytable
Version: 3.5.0 Version: 3.6.0
Release: 1 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-3-Clause License: BSD-3-Clause
URL: https://github.com/jazzband/prettytable URL: https://github.com/jazzband/prettytable
Source0: https://files.pythonhosted.org/packages/51/d8/f4739a1971029c00fdb97c9ea4abbfb20ea041f6aa7613343f12a468e217/prettytable-3.5.0.tar.gz Source0: https://files.pythonhosted.org/packages/ba/b6/8e78337766d4c324ac22cb887ecc19487531f508dbf17d922b91492d55bb/prettytable-3.6.0.tar.gz
Patch0: 0001-add-setup.py.patch Patch0: 0001-add-setup.py.patch
BuildArch: noarch BuildArch: noarch
%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
represent tabular data in visually appealing ASCII tables. It was inspired by represent tabular data in visually appealing ASCII tables. It was inspired by
@ -24,6 +23,8 @@ Provides: python-prettytable = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm BuildRequires: python3-setuptools_scm
Requires: python3-importlib-metadata
Requires: python3-wcwidth
%description -n python3-prettytable %description -n python3-prettytable
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
represent tabular data in visually appealing ASCII tables. It was inspired by represent tabular data in visually appealing ASCII tables. It was inspired by
@ -56,6 +57,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -84,8 +88,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Wed Nov 23 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.5.0-1 * Tue Jan 31 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.6.0-1
- Update package to version 3.5.0 - Update package to version 3.6.0
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.4.0-2 * Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.4.0-2
- Rebuild for next release - Rebuild for next release