python-prettytable:sync community

This commit is contained in:
hanxinke 2020-01-09 20:49:36 +08:00
parent 325b64b10f
commit 6a7dda4156
2 changed files with 8 additions and 15 deletions

View File

@ -1,12 +0,0 @@
diff -Naur -Naru prettytable-0.7.2.orig/prettytable_test.py prettytable-0.7.2/prettytable_test.py
--- prettytable-0.7.2.orig/prettytable_test.py 2013-04-06 23:43:12.000000000 +0000
+++ prettytable-0.7.2/prettytable_test.py 2014-01-07 18:49:26.017977139 +0000
@@ -582,7 +582,7 @@
def testPrint(self):
print()
- print(self.x)
+ #print(self.x)
if __name__ == "__main__":
unittest.main()

View File

@ -1,11 +1,10 @@
Name: python-prettytable
Version: 0.7.2
Release: 16
Release: 17
Summary: Display tabular data in a visually appealing ASCII table format.
License: BSD
URL: http://pypi.python.org/pypi/PrettyTable
Source0: http://pypi.python.org/packages/source/P/PrettyTable/prettytable-%{version}.tar.gz
Patch0: disable-encoding-check.patch
BuildArch: noarch
%if 0%{?with_python2}
@ -52,7 +51,7 @@ a row range.
This package is for python3.
%prep
%autosetup -n prettytable-%{version} -p1
%autosetup -n prettytable-%{version}
rm -rf %{py3dir}
cp -a . %{py3dir}
@ -104,5 +103,11 @@ popd
%{python3_sitelib}/prettytable-%{version}*
%changelog
* Thu Jan 9 2020 hanxinke<hanxinke@huawei.com> - 0.7.2-17
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:sync community
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.7.2-16
- Package init