[packages/python-prettytable] - updated to 1.0.1

qboosh qboosh at pld-linux.org
Mon Jan 15 07:53:46 CET 2024


commit 13f00df857d71e31f5a1e3e29ac23970538345c0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 15 06:29:32 2024 +0100

    - updated to 1.0.1

 python-prettytable.spec | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/python-prettytable.spec b/python-prettytable.spec
index ee6f1ec..0316578 100644
--- a/python-prettytable.spec
+++ b/python-prettytable.spec
@@ -7,28 +7,29 @@
 Summary:	Python 2 library for displaying tabular data in nice ASCII table format
 Summary(pl.UTF-8):	Biblioteka Pythona 2 do wyświetlania danych tabelarycznych w ładnej tabelce ASCII
 Name:		python-prettytable
-Version:	0.7.2
-Release:	7
+# keep 1.x here for python2 support
+Version:	1.0.1
+Release:	1
 License:	BSD
 Group:		Libraries/Python
-#Source0Download: https://pypi.python.org/simple/prettytable/
-Source0:	https://pypi.python.org/packages/source/P/PrettyTable/prettytable-%{version}.tar.bz2
-# Source0-md5:	760dc900590ac3c46736167e09fa463a
-URL:		https://pypi.python.org/pypi/PrettyTable
+#Source0Download: https://pypi.org/simple/prettytable/
+Source0:	https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz
+# Source0-md5:	b5bd0acec56ae7ccf5ac22d3f671c3a7
+URL:		https://pypi.org/project/PrettyTable
 %if %{with tests} && %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
 BuildRequires:	glibc-localedb-all
 %endif
 %if %{with python2}
-BuildRequires:	python-modules >= 1:2.4
+BuildRequires:	python-modules >= 1:2.7
 BuildRequires:	python-setuptools
 %endif
 %if %{with python3}
-BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-modules >= 1:3.5
 BuildRequires:	python3-setuptools
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.4
+Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,7 +45,7 @@ tabelarycznych w ładnie wyglądającej tabelce ASCII.
 Summary:	Python 3 library for displaying tabular data in nice ASCII table format
 Summary(pl.UTF-8):	Biblioteka Pythona 3 do wyświetlania danych tabelarycznych w ładnej tabelce ASCII
 Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.2
+Requires:	python3-modules >= 1:3.5
 
 %description -n python3-prettytable
 A simple Python 3 library for easily displaying tabular data in a
@@ -89,17 +90,15 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG README
+%doc CHANGELOG.md COPYING README.md
 %{py_sitescriptdir}/prettytable.py[co]
-%if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/prettytable-%{version}-py*.egg-info
 %endif
-%endif
 
 %if %{with python3}
 %files -n python3-prettytable
 %defattr(644,root,root,755)
-%doc CHANGELOG README
+%doc CHANGELOG.md COPYING README.md
 %{py3_sitescriptdir}/prettytable.py
 %{py3_sitescriptdir}/__pycache__/prettytable.cpython-*.py[co]
 %{py3_sitescriptdir}/prettytable-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-prettytable.git/commitdiff/13f00df857d71e31f5a1e3e29ac23970538345c0



More information about the pld-cvs-commit mailing list