Compare commits
11 Commits
f616723ef0
...
73a2e1bcd6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73a2e1bcd6 | ||
|
|
94800e9458 | ||
|
|
b1f84a77f5 | ||
|
|
f366fab867 | ||
|
|
658ef143b6 | ||
|
|
b8f29a7ba1 | ||
|
|
ed823467c2 | ||
|
|
9a6caac8d8 | ||
|
|
a6d29ebc3a | ||
|
|
f7acfcc543 | ||
|
|
d6af34b23f |
Binary file not shown.
BIN
prettytable-3.9.0.tar.gz
Normal file
BIN
prettytable-3.9.0.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,12 @@
|
|||||||
Name: python-prettytable
|
%global _empty_manifest_terminate_build 0
|
||||||
Version: 2.4.0
|
Name: python-prettytable
|
||||||
Release: 1
|
Version: 3.9.0
|
||||||
Summary: Display tabular data in a visually appealing ASCII table format.
|
Release: 1
|
||||||
License: BSD
|
Summary: Display tabular data in a visually appealing ASCII table format.
|
||||||
URL: http://pypi.python.org/pypi/PrettyTable
|
License: BSD-3-Clause
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz
|
URL: https://github.com/jazzband/prettytable
|
||||||
|
Source0: https://files.pythonhosted.org/packages/e1/c0/5e9c4d2a643a00a6f67578ef35485173de273a4567279e4f0c200c01386b/prettytable-3.9.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
|
|
||||||
|
|
||||||
%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
|
||||||
@ -17,12 +16,15 @@ 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
|
(left or right justified or centred) and printing of "sub-tables" by specifying
|
||||||
a row range.
|
a row range.
|
||||||
|
|
||||||
%package_help
|
|
||||||
|
|
||||||
%package -n python3-prettytable
|
%package -n python3-prettytable
|
||||||
Summary: Display tabular data in a visually appealing ASCII table format.
|
Summary: Display tabular data in a visually appealing ASCII table format.
|
||||||
%{?python_provide:%python_provide python3-prettytable}
|
Provides: python-prettytable = %{version}-%{release}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pip python3-wheel python3-flit
|
||||||
|
BuildRequires: python3-hatchling python3-hatch-vcs
|
||||||
|
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
|
||||||
@ -30,29 +32,53 @@ the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for
|
|||||||
selection of which columns are to be printed, independent alignment of columns
|
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
|
(left or right justified or centred) and printing of "sub-tables" by specifying
|
||||||
a row range.
|
a row range.
|
||||||
This package is for python3.
|
|
||||||
|
%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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n prettytable-%{version}
|
%autosetup -n prettytable-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python3} setup.py build
|
%pyproject_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
%pyproject_install prettytable==%{version}
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
%files help
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
%defattr(-,root,root)
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
%doc README.md CHANGELOG.md
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
|
||||||
%files -n python3-prettytable
|
%files -n python3-prettytable
|
||||||
%defattr(-,root,root)
|
%{python3_sitelib}/*
|
||||||
%license COPYING
|
|
||||||
%{python3_sitelib}/prettytable*
|
%files help
|
||||||
%{python3_sitelib}/prettytable-%{version}*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 15 2024 zhangkea <zhangkea@uniontech.com> - 3.9.0-1
|
||||||
|
- Update package to version 3.9.0
|
||||||
|
|
||||||
|
* Wed Jul 12 2023 niuyaru <niuyaru@kylinos.cn> - 3.8.0-1
|
||||||
|
- Update package to version 3.8.0
|
||||||
|
|
||||||
|
* Fri Apr 28 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.6.0-2
|
||||||
|
- Use pyproject to compile package
|
||||||
|
|
||||||
|
* Tue Jan 31 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.6.0-1
|
||||||
|
- Update package to version 3.6.0
|
||||||
|
|
||||||
|
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.4.0-2
|
||||||
|
- Rebuild for next release
|
||||||
|
|
||||||
* Mon Dec 27 2021 yanglongkang <yanglongkang@huawei.com> -2.4.0-1
|
* Mon Dec 27 2021 yanglongkang <yanglongkang@huawei.com> -2.4.0-1
|
||||||
- upadate to 2.4.0
|
- upadate to 2.4.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user