diff --git a/python-blessed-1.17.5.tar.gz b/python-blessed-1.17.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..298a5a8406ff954f17ef46090a0516d9bfd742da Binary files /dev/null and b/python-blessed-1.17.5.tar.gz differ diff --git a/python-blessed.spec b/python-blessed.spec new file mode 100644 index 0000000000000000000000000000000000000000..e035c51ea895ec003cee1d830e4e058feba9d87c --- /dev/null +++ b/python-blessed.spec @@ -0,0 +1,44 @@ +%bcond_with bootstrap + +Name: python-blessed +Version: 1.17.5 +Release: 1 +Summary: Blessed is an easy, practical library for making python terminal apps +License: MIT +URL: http://pypi.python.org/pypi/blessed +Source0: https://codeload.github.com/jquast/blessed/tar.gz/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-nose python3-devel python3-setuptools python3-mock python3-six python3-wcwidth + +%description +Blessed is an easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen position and Location capabilities. + +%package -n python3-blessed +Summary: Blessed is an easy, practical library for making python terminal apps +%description -n python3-blessed +Blessed is an easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen position and Location capabilities. + +%prep +%autosetup -n blessed-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +export PYTHONIOENCODING=UTF8 +export TERM=xterm-256color +%{__python3} -m pytest --strict --verbose --verbose --exitfirst -c /dev/null + +%files -n python3-blessed +%doc LICENSE +%{python3_sitelib}/blessed/ +%{python3_sitelib}/blessed-*-info + +%changelog +* Tue Apr 28 2020 Wei Xiong +- init package