Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
25157cd4e8
!20 Upgrade to latest release [python-cmd2 -> 2.4.3]
From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-03-07 09:44:16 +00:00
Wangjunqi123
b32f33faca update version to 2.4.3 2023-03-07 09:31:16 +08:00
openeuler-ci-bot
4a9d769aa7
!18 Update package
From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-08-10 08:25:08 +00:00
liqiuyu123
b8f7d03a3e update package 2022-08-10 14:52:39 +08:00
openeuler-ci-bot
b9fa1bc459
!16 Update package cmd2 of version 2.4.0
From: @renliang16 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-07-28 07:29:34 +00:00
renliang16
a2fdaa9afb Update package cmd2 of version 2.4.0 2022-07-27 02:18:17 +00:00
openeuler-ci-bot
b2eed86679 !10 Upgrade package version for OpenStack Wallaby support
From: @sean-lau
Reviewed-by: 
Signed-off-by:
2021-08-03 07:26:21 +00:00
sean-lau
d05728ed2a Upgrade package version for OpenStack Wallaby support 2021-08-03 15:17:26 +08:00
openeuler-ci-bot
374982087b !11 【轻量级 PR】:Add python3-setuptools_scm as buildrequire
From: @huangtianhua
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-08-02 08:21:01 +00:00
huangtianhua
30526ef1c3 Add python3-setuptools_scm as buildrequire 2021-08-02 02:42:04 +00:00
3 changed files with 36 additions and 38 deletions

Binary file not shown.

BIN
cmd2-2.4.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,62 +1,41 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-cmd2 Name: python-cmd2
Version: 1.4.0 Version: 2.4.3
Release: 2 Release: 1
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
License: MIT License: MIT
URL: https://github.com/python-cmd2/cmd2 URL: https://github.com/python-cmd2/cmd2
Source0: https://files.pythonhosted.org/packages/c1/76/98f8767ddc8febfbd6367b2fcd391cd92087496d00e58ad99008e126035e/cmd2-1.4.0.tar.gz Source0: https://files.pythonhosted.org/packages/13/04/b85213575a7bf31cbf1d699cc7d5500d8ca8e52cbd1f3569a753a5376d5c/cmd2-2.4.3.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-attrs
Requires: python3-colorama
Requires: python3-pyperclip
Requires: python3-wcwidth
Requires: python3-importlib-metadata
Requires: python3-pyreadline
Requires: python3-pytest
Requires: python3-codecov
Requires: python3-pytest-cov
Requires: python3-pytest-mock
Requires: python3-flake8
Requires: python3-sphinx
Requires: python3-sphinx-rtd-theme
Requires: python3-sphinx-autobuild
Requires: python3-doc8
Requires: python3-invoke
Requires: python3-twine
Requires: python3-mock
Requires: python3-nox
Requires: python3-nox
Requires: python3-codecov
Requires: python3-coverage
Requires: python3-pytest
Requires: python3-pytest-cov
Requires: python3-pytest-mock
Requires: python3-mock
Requires: python3-gnureadline
%description %description
cmd2 is a tool for building interactive command line applications in Python. quickly build feature-rich and user-friendly interactive command line applications in Python
%package -n python3-cmd2 %package -n python3-cmd2
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Provides: python-cmd2 Provides: python-cmd2 = %{version}-%{release}
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-pbr # General requires
Requires: python3-attrs
Requires: python3-pyperclip
Requires: python3-wcwidth
Requires: python3-importlib-metadata
Requires: python3-typing-extensions
%description -n python3-cmd2 %description -n python3-cmd2
cmd2 is a tool for building interactive command line applications in Python. quickly build feature-rich and user-friendly interactive command line applications in Python
%package help %package help
Summary: Development documents and examples for cmd2 Summary: Development documents and examples for cmd2
Provides: python3-cmd2-doc Provides: python3-cmd2-doc
%description help %description help
cmd2 is a tool for building interactive command line applications in Python. quickly build feature-rich and user-friendly interactive command line applications in Python
%prep %prep
%autosetup -n cmd2-1.4.0 %autosetup -n cmd2-%{version}
%build %build
%py3_build %py3_build
@ -68,6 +47,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{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 example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{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} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -96,7 +78,23 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Mar 07 2023 wangjunqi <wangjunqi@kylinos.cn> - 2.4.3-1
- Update package to version 2.4.3
* Wed Aug 10 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.4.2-1
- update to 2.4.2
* Tue Jul 26 2022 renliang16 <renliang@uniontech.com> - 2.4.0-1
- Upgrade package python3-cmd2 to version 2.4.0
* Mon Jul 26 2021 liusheng <liusheng2048@gmail.com> - 1.5.0-1
- Upgrade to version 1.5.0
* Mon Aug 2 2021 huangtianhua <huangtianhua@huawei.com> - 1.4.0-3
- Add python3-setuptools_scm as buildrequire
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com> * Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires - Add buildrequires
* Wed Dec 09 2020 Python_Bot <Python_Bot@openeuler.org> * Wed Dec 09 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated