diff --git a/python-tabulate.spec b/python-tabulate.spec index 56e82a257e45013aaf46d3b7458133c7a1668cac..2925d3f85bde102a017b88ff09c46c2d53c9967c 100644 --- a/python-tabulate.spec +++ b/python-tabulate.spec @@ -1,67 +1,61 @@ %global _empty_manifest_terminate_build 0 Name: python-tabulate -Version: 0.8.7 +Version: 0.8.2 Release: 1 Summary: Pretty-print tabular data License: MIT -URL: https://github.com/astanin/python-tabulate -Source0: https://files.pythonhosted.org/packages/57/6f/213d075ad03c84991d44e63b6516dd7d185091df5e1d02a660874f8f7e1e/tabulate-0.8.7.tar.gz +URL: https://bitbucket.org/astanin/python-tabulate +Source0: https://files.pythonhosted.org/packages/12/c2/11d6845db5edf1295bc08b2f488cf5937806586afe42936c3f34c097ebdc/tabulate-0.8.2.tar.gz BuildArch: noarch - -Requires: python3-wcwidth - %description -Pretty-print tabular data in Python, a library and a command-line -utility. -The main use cases of the library are: -- printing small tables without hassle: just one function call, - formatting is guided by the data itself -- authoring tabular data for lightweight plain-text markup: multiple - output formats suitable for further editing or transformation -- readable presentation of mixed textual and numeric data: smart - column alignment, configurable number formatting, alignment by a - decimal point + python-tabulate Pretty-print tabular data in Python, a library and a command- +line The main use cases of the library are:printing small tables without hassle: +just one function call, formatting is guided by the data itselfauthoring tabular +data for lightweight plain-text markup: multiple output formats suitable for +further editing or transformationreadable presentation of mixed textual and +numeric data: smart column alignment, configurable number formatting, alignment +by a decimal point Installation To install the Python library and the command +line utility, run:: pip install tabulateThe command line utility will be +installed as tabulate to bin on Linux -%package -n python3-tabulate +%package -n python2-tabulate Summary: Pretty-print tabular data -Provides: python-tabulate -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-tabulate -Pretty-print tabular data in Python, a library and a command-line -utility. -The main use cases of the library are: -- printing small tables without hassle: just one function call, - formatting is guided by the data itself -- authoring tabular data for lightweight plain-text markup: multiple - output formats suitable for further editing or transformation -- readable presentation of mixed textual and numeric data: smart - column alignment, configurable number formatting, alignment by a - decimal point +Provides: python2-tabulate +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-tabulate + python-tabulate Pretty-print tabular data in Python, a library and a command- +line The main use cases of the library are:printing small tables without hassle: +just one function call, formatting is guided by the data itselfauthoring tabular +data for lightweight plain-text markup: multiple output formats suitable for +further editing or transformationreadable presentation of mixed textual and +numeric data: smart column alignment, configurable number formatting, alignment +by a decimal point Installation To install the Python library and the command +line utility, run:: pip install tabulateThe command line utility will be +installed as tabulate to bin on Linux %package help Summary: Development documents and examples for tabulate -Provides: python3-tabulate-doc +Provides: python2-tabulate-doc %description help -Pretty-print tabular data in Python, a library and a command-line -utility. -The main use cases of the library are: -- printing small tables without hassle: just one function call, - formatting is guided by the data itself -- authoring tabular data for lightweight plain-text markup: multiple - output formats suitable for further editing or transformation -- readable presentation of mixed textual and numeric data: smart - column alignment, configurable number formatting, alignment by a - decimal point + python-tabulate Pretty-print tabular data in Python, a library and a command- +line The main use cases of the library are:printing small tables without hassle: +just one function call, formatting is guided by the data itselfauthoring tabular +data for lightweight plain-text markup: multiple output formats suitable for +further editing or transformationreadable presentation of mixed textual and +numeric data: smart column alignment, configurable number formatting, alignment +by a decimal point Installation To install the Python library and the command +line utility, run:: pip install tabulateThe command line utility will be +installed as tabulate to bin on Linux %prep -%autosetup -n tabulate-0.8.7 +%autosetup -n tabulate-0.8.2 %build -%py3_build +%py2_build %install -%py3_install +%py2_install 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 @@ -88,12 +82,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-tabulate -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-tabulate -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Wed Dec 16 2020 Python_Bot +* Tue May 11 2021 OpenStack_SIG - Package Spec generated diff --git a/tabulate-0.8.2.tar.gz b/tabulate-0.8.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..31acf4f3b60e93fd065a6c766db9423241fa0fe3 Binary files /dev/null and b/tabulate-0.8.2.tar.gz differ diff --git a/tabulate-0.8.7.tar.gz b/tabulate-0.8.7.tar.gz deleted file mode 100644 index b3810374b50db74d9dddeb553d691079691d7e67..0000000000000000000000000000000000000000 Binary files a/tabulate-0.8.7.tar.gz and /dev/null differ