Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
ca6f1c4a4c
!14 Upgrade version to 1.7.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-07 01:50:36 +00:00
cherry530
835f4267f4 Upgrade version to 1.7.0
Signed-off-by: cherry530 <707078654@qq.com>
2024-02-06 16:20:11 +08:00
openeuler-ci-bot
22dbb7b27f
!11 Upgrade to latest release [python-texttable -> 1.6.7]
From: @Wangjunqi123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-12-19 12:20:44 +00:00
Wangjunqi123
2acdf73cc6 update version to 1.6.7 2022-12-16 15:27:12 +08:00
openeuler-ci-bot
82e86776b5
!10 【更新版本】更新master分支到最新的发布版本1.6.4
From: @kkzhs_admin 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-08-03 01:20:20 +00:00
kkz
a94eac2293 update to v1.6.4(the latest release) 2022-08-02 16:56:17 +08:00
openeuler-ci-bot
b9148f0ac8
!7 Fix changelog error
From: @ccdxx 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-06-09 10:14:53 +00:00
chendexi
d0dda4574a Fix changelog error
fix changelog error
2022-06-09 12:40:39 +08:00
openeuler-ci-bot
52e5f412ad !6 update 1.6.3
From: @markeryang
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-02-01 10:14:14 +08:00
markeryang
a1012358ff update to 1.6.3 2021-01-30 15:58:57 +08:00
5 changed files with 65 additions and 88 deletions

View File

@ -1,36 +0,0 @@
# python-texttable
#### Description
Python module to generate a formatted text table, using ASCII characters
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,37 +0,0 @@
# python-texttable
#### 介绍
Python module to generate a formatted text table, using ASCII characters
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,23 +1,31 @@
Name: python-texttable
Version: 1.6.2
Release: 2
Summary: Python module for creating simple ASCII tables
License: LGPLv3
URL: https://github.com/foutaise/texttable
Source0: https://github.com/foutaise/texttable/archive/v%{version}.tar.gz
BuildArch: noarch
%global _empty_manifest_terminate_build 0
Name: python-texttable
Version: 1.7.0
Release: 1
Summary: Python module for creating simple ASCII tables
License: MIT
URL: https://github.com/foutaise/texttable
Source0: https://files.pythonhosted.org/packages/source/t/texttable/texttable-%{version}.tar.gz
BuildArch: noarch
%description
Python module for creating simple ASCII tables
%package -n python3-texttable
%{?python_provide:%python_provide python3-texttable}
Summary: Python module for creating simple ASCII tables
BuildRequires: python3-devel, python3-setuptools, python3-pytest
Summary: Python module for creating simple ASCII tables
Provides: python-texttable = %{version}-%{release}
BuildRequires: python3-devel,
BuildRequires: python3-setuptools,
BuildRequires: python3-pytest
%description -n python3-texttable
Python module for creating simple ASCII tables
%package help
Summary: Development documents and examples for texttable
Provides: python3-texttable-doc
%description help
Python module for creating simple ASCII tables
%prep
%autosetup -n texttable-%{version}
@ -26,16 +34,58 @@ Python module for creating simple ASCII tables
%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
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
py.test-%{python3_version} --verbose tests.py
%files -n python3-texttable
%doc PKG-INFO README.md
%files -n python3-texttable -f filelist.lst
%license LICENSE
%{python3_sitelib}/*
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Feb 06 2024 xu_ping <707078654@qq.com> - 1.7.0-1
- Update package to version 1.7.0
* Fri Dec 16 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.6.7-1
- Update package to version 1.6.7
* Tue Aug 02 2022 zhaoshuang <zhaoshuang@uniontech.com> - 1.6.4-1
- update package to 1.6.4
* Thu Jan 14 2021 yanglongkang <yanglongkang@huawei.com> - 1.6.3-1
- update package to 1.6.3
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 1.6.2-2
- remove python2 dependency

BIN
texttable-1.7.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.