Group :: Development/Python3
RPM: python3-module-blessed
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: python3-module-blessed-1.17.10-alt.patch
Download
Download
.gear/blessed.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++
.gear/rules | 3 ++
.gear/tags/list | 1 +
.gear/upstream/remotes | 3 ++
blessed/__init__.py | 2 +-
tox.ini | 12 +++----
version.json | 2 +-
7 files changed, 99 insertions(+), 10 deletions(-)
diff --git a/.gear/blessed.spec b/.gear/blessed.spec
new file mode 100644
index 0000000..544fa84
--- /dev/null
+++ b/.gear/blessed.spec
@@ -0,0 +1,86 @@
+%define _unpackaged_files_terminate_build 1
+%define oname blessed
+
+%def_with check
+
+Name: python3-module-%oname
+Version: 1.17.10
+Release: alt1
+
+Summary: A feature-filled fork of Erik Rose's blessings project
+License: MIT
+Group: Development/Python3
+Url: https://pypi.org/project/blessed/
+# https://github.com/jquast/blessed.git
+BuildArch: noarch
+
+Source: %name-%version.tar
+Patch0: %name-%version-alt.patch
+
+BuildRequires(pre): rpm-build-python3
+%if_with check
+BuildRequires: /dev/pts
+BuildRequires: python3(curses)
+BuildRequires: python3(mock)
+BuildRequires: python3(pytest)
+BuildRequires: python3(six)
+BuildRequires: python3(tox)
+BuildRequires: python3(wcwidth)
+BuildRequires: terminfo-extra
+%endif
+
+%py3_requires wcwidth curses
+
+%description
+A feature-filled fork of Erik Rose's blessings project.
+
+%prep
+%setup
+%autopatch -p1
+
+# don't package Windows Terminal
+rm blessed/win_terminal.py
+
+sed -i 's|#!/usr/bin/env python.*|#!/usr/bin/env python3|' \
+ $(find ./ -name '*.py')
+
+%build
+%python3_build_debug
+
+%install
+%python3_install
+
+%check
+export PIP_NO_BUILD_ISOLATION=no
+export PIP_NO_INDEX=YES
+export TOXENV=py3
+tox.py3 --sitepackages -vv -r
+
+%files
+%doc LICENSE README.rst
+%python3_sitelibdir/%oname/
+%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
+
+%changelog
+* Wed Oct 14 2020 Stanislav Levin <slev@altlinux.org> 1.17.10-alt1
+- 1.17.5 -> 1.17.10.
+
+* Thu May 07 2020 Stanislav Levin <slev@altlinux.org> 1.17.5-alt1
+- 1.14.2 -> 1.17.5.
+- Enabled testing.
+
+* Tue Nov 12 2019 Andrey Bychkov <mrdrew@altlinux.org> 1.14.2-alt2
+- disable python2
+
+* Tue Mar 27 2018 Andrey Bychkov <mrdrew@altlinux.org> 1.14.2-alt1
+- Version 1.14.2
+
+* Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 1.9.5-alt1.git20150112.1.1
+- (NMU) Fix Requires and BuildRequires to python-setuptools
+
+* Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.9.5-alt1.git20150112.1
+- (NMU) rebuild with rpm-build-python3-0.1.9
+ (for common python3/site-packages/ and auto python3.3-ABI dep when needed)
+
+* Fri Feb 20 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.5-alt1.git20150112
+- Initial build for Sisyphus
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..df650ed
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+spec: .gear/blessed.spec
+tar: @version@:.
+diff: @version@:. . name=@name@-@version@-alt.patch
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..21326f9
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+50a55507d765b938cb6a7be051d2c22d8fbfbcf1 1.17.10
diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes
new file mode 100644
index 0000000..b8d0ac5
--- /dev/null
+++ b/.gear/upstream/remotes
@@ -0,0 +1,3 @@
+[remote "upstream"]
+ url = https://github.com/jquast/blessed.git
+ fetch = +refs/heads/*:refs/remotes/upstream/*
diff --git a/blessed/__init__.py b/blessed/__init__.py
index 13aafad..33edb37 100644
--- a/blessed/__init__.py
+++ b/blessed/__init__.py
@@ -19,4 +19,4 @@ if (3, 0, 0) <= _sys.version_info[:3] < (3, 2, 3):
'support due to http://bugs.python.org/issue10570.')
__all__ = ('Terminal',)
-__version__ = '1.17.9'
+__version__ = '1.17.10'
diff --git a/tox.ini b/tox.ini
index 76b19f7..ac154cc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,11 +14,9 @@ skip_missing_interpreters = true
[testenv]
passenv = TEST_QUICK TEST_KEYBOARD TEST_RAW
basepython = python3.8
-deps = pytest==5.3.2
- pytest-cov==2.8.1
- pytest-xdist==1.31.0
- mock==3.0.5
-commands = {envpython} -m pytest --cov-config={toxinidir}/tox.ini {posargs:\
+deps = pytest>=5.3.2
+ mock
+commands = {envpython} -m pytest {posargs:\
--strict --verbose \
--junit-xml=.tox/results.{envname}.xml \
--durations=3 \
@@ -27,11 +25,9 @@ commands = {envpython} -m pytest --cov-config={toxinidir}/tox.ini {posargs:\
tests
[pytest]
-looponfailroots = blessed
norecursedirs = .git .tox build
addopts = --disable-pytest-warnings
- --cov-append --cov-report=html --color=yes --ignore=setup.py --ignore=.tox
- --cov=blessed
+ --color=yes --ignore=setup.py --ignore=.tox
filterwarnings =
error
junit_family = xunit1
diff --git a/version.json b/version.json
index ab12904..889378a 100644
--- a/version.json
+++ b/version.json
@@ -1 +1 @@
-{"version": "1.17.9"}
+{"version": "1.17.10"}