2022-11-23 17:33:47 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-prettytable
|
2023-07-12 13:58:54 +08:00
|
|
|
Version: 3.8.0
|
|
|
|
|
Release: 1
|
2022-11-23 17:33:47 +08:00
|
|
|
Summary: Display tabular data in a visually appealing ASCII table format.
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: https://github.com/jazzband/prettytable
|
2023-07-12 13:58:54 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/18/fa/82e719efc465238383f099c08b5284b974f5002dbe12050bcbbc912366eb/prettytable-3.8.0.tar.gz
|
2022-11-23 17:33:47 +08:00
|
|
|
BuildArch: noarch
|
2019-09-30 11:15:21 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
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
|
|
|
|
|
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for
|
|
|
|
|
selection of which columns are to be printed, independent alignment of columns
|
|
|
|
|
(left or right justified or centred) and printing of "sub-tables" by specifying
|
|
|
|
|
a row range.
|
|
|
|
|
|
|
|
|
|
%package -n python3-prettytable
|
2022-11-23 17:33:47 +08:00
|
|
|
Summary: Display tabular data in a visually appealing ASCII table format.
|
|
|
|
|
Provides: python-prettytable = %{version}-%{release}
|
2023-01-31 11:02:07 +08:00
|
|
|
BuildRequires: python3-devel
|
2023-04-28 10:16:18 +08:00
|
|
|
BuildRequires: python3-pip python3-wheel python3-flit
|
|
|
|
|
BuildRequires: python3-hatchling python3-hatch-vcs
|
2022-11-23 17:33:47 +08:00
|
|
|
BuildRequires: python3-setuptools_scm
|
2023-01-31 11:02:07 +08:00
|
|
|
Requires: python3-importlib-metadata
|
|
|
|
|
Requires: python3-wcwidth
|
2019-09-30 11:15:21 -04:00
|
|
|
%description -n python3-prettytable
|
|
|
|
|
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
|
|
|
|
|
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for
|
|
|
|
|
selection of which columns are to be printed, independent alignment of columns
|
|
|
|
|
(left or right justified or centred) and printing of "sub-tables" by specifying
|
|
|
|
|
a row range.
|
2022-11-23 17:33:47 +08:00
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for prettytable
|
|
|
|
|
Provides: python3-prettytable-doc
|
|
|
|
|
%description help
|
|
|
|
|
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
|
|
|
|
|
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for
|
|
|
|
|
selection of which columns are to be printed, independent alignment of columns
|
|
|
|
|
(left or right justified or centred) and printing of "sub-tables" by specifying
|
|
|
|
|
a row range.
|
2019-09-30 11:15:21 -04:00
|
|
|
|
|
|
|
|
%prep
|
2020-01-09 20:49:36 +08:00
|
|
|
%autosetup -n prettytable-%{version}
|
2019-09-30 11:15:21 -04:00
|
|
|
|
|
|
|
|
%build
|
2023-04-28 10:16:18 +08:00
|
|
|
%pyproject_build
|
2019-09-30 11:15:21 -04:00
|
|
|
|
|
|
|
|
%install
|
2023-04-28 10:16:18 +08:00
|
|
|
%pyproject_install prettytable==%{version}
|
2022-11-23 17:33:47 +08:00
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
2023-04-28 10:16:18 +08:00
|
|
|
|
|
|
|
|
%files -n python3-prettytable
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
2022-11-23 17:33:47 +08:00
|
|
|
%{_docdir}/*
|
2019-09-30 11:15:21 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2023-07-12 13:58:54 +08:00
|
|
|
* Wed Jul 12 2023 niuyaru <niuyaru@kylinos.cn> - 3.8.0-1
|
|
|
|
|
- Update package to version 3.8.0
|
|
|
|
|
|
2023-04-28 10:16:18 +08:00
|
|
|
* Fri Apr 28 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.6.0-2
|
|
|
|
|
- Use pyproject to compile package
|
|
|
|
|
|
2023-01-31 11:02:07 +08:00
|
|
|
* Tue Jan 31 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.6.0-1
|
|
|
|
|
- Update package to version 3.6.0
|
2022-11-23 17:33:47 +08:00
|
|
|
|
2022-10-26 07:52:47 +00:00
|
|
|
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.4.0-2
|
|
|
|
|
- Rebuild for next release
|
|
|
|
|
|
2021-12-27 21:04:35 +08:00
|
|
|
* Mon Dec 27 2021 yanglongkang <yanglongkang@huawei.com> -2.4.0-1
|
|
|
|
|
- upadate to 2.4.0
|
|
|
|
|
|
2020-09-09 11:14:07 +08:00
|
|
|
* Wed Nov 4 2020 wangjie<wangjie294@huawei.com> -0.7.2-20
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove python2
|
|
|
|
|
|
2020-09-05 10:14:51 +08:00
|
|
|
* Sat Sep 5 2020 shixuantong <shixuantong@huawei.com> - 0.7.2-19
|
|
|
|
|
- Type: bugfix
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: update Source0
|
|
|
|
|
|
2020-02-19 10:26:00 +08:00
|
|
|
* Wed Feb 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.7.2-18
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add macros of python-provides about python3
|
|
|
|
|
|
2020-01-09 20:49:36 +08:00
|
|
|
* Thu Jan 9 2020 hanxinke<hanxinke@huawei.com> - 0.7.2-17
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:sync community
|
|
|
|
|
|
2019-09-30 11:15:21 -04:00
|
|
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.7.2-16
|
|
|
|
|
- Package init
|