!8 [sync] PR-7: update to 2.1.2

From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-21 02:39:02 +00:00 committed by Gitee
commit 9244fa9503
3 changed files with 13 additions and 9 deletions

View File

@ -1,19 +1,20 @@
#%define _python_bytecompile_errors_terminate_build 0
Name: python-urwid Name: python-urwid
Version: 2.0.1 Version: 2.1.2
Release: 6 Release: 1
Summary: Console user interface library Summary: Console user interface library
License: LGPLv2+ License: LGPLv2+
URL: http://excess.org/urwid/ URL: http://excess.org/urwid/
Source0: https://pypi.python.org/packages/source/u/urwid/urwid-2.0.1.tar.gz Source0: https://pypi.python.org/packages/source/u/urwid/urwid-%{version}.tar.gz
%description %description
Urwid is a console user interface library for Python. It includes Urwid is a console user interface library for Python. It includes
many features useful for text console application developers many features useful for text console application developers
%package -n python2-urwid %package -n python2-urwid
Summary: %summary Summary:%summary
%{?python_provide:%python_provide python2-urwid} %{?python_provide:%python_provide python2-urwid}
BuildRequires: gcc python2-devel python2-setuptools python2-twisted pygobject2 python2-test BuildRequires: gcc python2-devel python2-setuptools python2-twisted pygobject2 python2-test python2-mock
%description -n python2-urwid %description -n python2-urwid
Urwid is a console user interface library for Python. It includes Urwid is a console user interface library for Python. It includes
@ -22,14 +23,14 @@ many features useful for text console application developers
%package -n python3-urwid %package -n python3-urwid
Summary: %summary Summary: %summary
%{?python_provide:%python_provide python3-urwid} %{?python_provide:%python_provide python3-urwid}
BuildRequires: python3-devel python3-setuptools python3-test /usr/bin/2to3 BuildRequires: python3-devel python3-setuptools python3-test /usr/bin/2to3 gcc
%description -n python3-urwid %description -n python3-urwid
Urwid is a console user interface library for Python. It includes Urwid is a console user interface library for Python. It includes
many features useful for text console application developers many features useful for text console application developers
%prep %prep
%autosetup -n urwid-2.0.1 -p1 %autosetup -n urwid-%{version} -p1
find urwid -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \; find urwid -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
find urwid -type f -name "*.py" -exec chmod 644 {} \; find urwid -type f -name "*.py" -exec chmod 644 {} \;
rm -rf %{py3dir} rm -rf %{py3dir}
@ -59,14 +60,17 @@ cd -
%files -n python2-urwid %files -n python2-urwid
%doc README.rst examples docs COPYING %doc README.rst examples docs COPYING
%{python2_sitearch}/urwid %{python2_sitearch}/urwid
%{python2_sitearch}/urwid-2.0.1*.egg-info %{python2_sitearch}/urwid-2.1.2*.egg-info
%files -n python3-urwid %files -n python3-urwid
%doc README.rst examples docs COPYING %doc README.rst examples docs COPYING
%{python3_sitearch}/urwid %{python3_sitearch}/urwid
%{python3_sitearch}/urwid-2.0.1*.egg-info %{python3_sitearch}/urwid-%{version}*.egg-info
%changelog %changelog
* Tue Jul 27 2021 liyanan <liyanan32@huawei.com> - 2.1.2-1
- update to 2.1.2
* Fri Aug 21 2020 shixuantong <shixuantong@huawei.com> - 2.3-6 * Fri Aug 21 2020 shixuantong <shixuantong@huawei.com> - 2.3-6
- add release version for rebuild - add release version for rebuild

Binary file not shown.

BIN
urwid-2.1.2.tar.gz Normal file

Binary file not shown.