update version to 0.9.0
This commit is contained in:
parent
6300ce1c8d
commit
39dae02c9f
17
0001-add-setup.py.patch
Normal file
17
0001-add-setup.py.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- c/setup.py 1970-01-01 08:00:00.000000000 +0800
|
||||
+++ a/setup.py 2022-12-06 09:22:10.203917839 +0800
|
||||
@@ -0,0 +1,14 @@
|
||||
+#!/usr/bin/env python
|
||||
+
|
||||
+try:
|
||||
+ from setuptools import setup
|
||||
+except ImportError:
|
||||
+ from distutils.core import setup
|
||||
+
|
||||
+
|
||||
+setup(
|
||||
+ name="tabulate",
|
||||
+ version="0.9.0",
|
||||
+ py_modules=["tabulate"],
|
||||
+ entry_points={"console_scripts": ["tabulate = tabulate:_main"]}
|
||||
+)
|
||||
@ -1,12 +1,14 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-tabulate
|
||||
Version: 0.8.10
|
||||
Version: 0.9.0
|
||||
Release: 1
|
||||
Summary: Pretty-print tabular data
|
||||
License: MIT
|
||||
URL: https://github.com/astanin/python-tabulate
|
||||
Source0: https://files.pythonhosted.org/packages/7a/53/afac341569b3fd558bf2b5428e925e2eb8753ad9627c1f9188104c6e0c4a/tabulate-0.8.10.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/ec/fe/802052aecb21e3797b8f7902564ab6ea0d60ff8ca23952079064155d1ae1/tabulate-0.9.0.tar.gz
|
||||
Patch0: 0001-add-setup.py.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Pretty-print tabular data in Python, a library and a command-line
|
||||
utility.
|
||||
@ -21,15 +23,13 @@ The main use cases of the library are:
|
||||
|
||||
%package -n python3-tabulate
|
||||
Summary: Pretty-print tabular data
|
||||
Provides: python-tabulate
|
||||
Provides: python-tabulate = %{version}-%{release}
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
# General requires
|
||||
BuildRequires: python3-wcwidth
|
||||
BuildRequires: python3-pytest
|
||||
# General requires
|
||||
Requires: python3-wcwidth
|
||||
%description -n python3-tabulate
|
||||
Pretty-print tabular data in Python, a library and a command-line
|
||||
utility.
|
||||
@ -43,7 +43,7 @@ The main use cases of the library are:
|
||||
decimal point
|
||||
|
||||
%package help
|
||||
Summary: Pretty-print tabular data
|
||||
Summary: Development documents and examples for tabulate
|
||||
Provides: python3-tabulate-doc
|
||||
%description help
|
||||
Pretty-print tabular data in Python, a library and a command-line
|
||||
@ -65,12 +65,14 @@ The main use cases of the library are:
|
||||
|
||||
%install
|
||||
%py3_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
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
if [ -d usr/lib ]; then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
@ -102,6 +104,9 @@ PYTHONPATH=. pytest
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 05 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.9.0-1
|
||||
- Update package to version 0.9.0
|
||||
|
||||
* Thu Sep 29 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.8.10-1
|
||||
- Upgrade to 0.8.10
|
||||
|
||||
|
||||
Binary file not shown.
BIN
tabulate-0.9.0.tar.gz
Normal file
BIN
tabulate-0.9.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user