Package Details: python2-urwid 2.1.1-3

Git Clone URL: https://aur.archlinux.org/python2-urwid.git (read-only, click to copy)
Package Base: python2-urwid
Description: Curses-based user interface library
Upstream URL: http://excess.org/urwid/
Licenses: LGPL
Submitter: TheGoliath
Maintainer: None
Last Packager: TheGoliath
Votes: 1
Popularity: 0.000619
First Submitted: 2020-06-18 10:22
Last Updated: 2020-09-22 11:58

Latest Comments

TecMunky commented on 2020-09-23 14:11

A failure occured in check()

How do I resolve this?

Preparing...
Cloning python2-urwid build files...
Checking python2-urwid dependencies...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...

Building python2-urwid...
==> Making package: python2-urwid 2.1.1-3 (Wed 23 Sep 2020 08:31:14 CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python2-urwid-2.1.1.tar.gz
==> Validating source files with sha256sums...
    python2-urwid-2.1.1.tar.gz ... Passed
==> Validating source files with sha512sums...
    python2-urwid-2.1.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python2-urwid-2.1.1.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/urwid
copying urwid/wimp.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/widget.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/web_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/vterm.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/version.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/util.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/treetools.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/text_layout.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/split_repr.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/signals.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/raw_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/old_str_util.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/numedit.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/monitored_list.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/main_loop.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/listbox.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/lcd_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/html_fragment.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/graphics.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/font.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/escape.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/display_common.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/decoration.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/curses_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/container.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/compat.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/command_map.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/canvas.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/_async_kw_event_loop.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/__init__.py -> build/lib.linux-x86_64-2.7/urwid
creating build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/util.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_widget.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_vterm.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_util.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_text_layout.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_str_util.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_listbox.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_graphics.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_event_loops.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_escapes.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_doctests.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_decoration.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_container.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_canvas.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/__init__.py -> build/lib.linux-x86_64-2.7/urwid/tests
running build_ext
building 'urwid.str_util' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/source
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c source/str_util.c -o build/temp.linux-x86_64-2.7/source/str_util.o
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/source/str_util.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/urwid/str_util.so
==> Starting check()...
py27 create: /tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27
py27 installdeps: setuptools, tornado<5.0.0, coverage, twisted==16.6.0, mock
py27 develop-inst: /tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1
ERROR: invocation failed (exit code 2), logfile: /tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/log/py27-3.log
================================== log start ===================================
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: Exception:
Traceback (most recent call last):
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 188, in _main
    status = self.run(options, args)
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/commands/freeze.py", line 98, in run
    for line in freeze(**freeze_kwargs):
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/operations/freeze.py", line 68, in freeze
    req = FrozenRequirement.from_dist(dist)
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/operations/freeze.py", line 253, in from_dist
    req, editable, comments = get_requirement_info(dist)
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/operations/freeze.py", line 188, in get_requirement_info
    vcs_backend = vcs.get_backend_for_dir(location)
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/vcs/versioncontrol.py", line 237, in get_backend_for_dir
    repo_path = vcs_backend.get_repository_root(location)
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/vcs/mercurial.py", line 150, in get_repository_root
    log_failed_cmd=False,
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/vcs/versioncontrol.py", line 686, in run_command
    log_failed_cmd=log_failed_cmd)
  File "/tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.py", line 189, in call_subprocess
    stdout=subprocess.PIPE, cwd=cwd, env=env,
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 20] Not a directory

=================================== log end ====================================
___________________________________ summary ____________________________________
ERROR:   py27: InvocationError for command /tmp/pamac-build/python2-urwid/src/urwid-release-2.1.1/.tox/py27/bin/python -m pip freeze (exited with code 2)
==> ERROR: A failure occurred in check().
    Aborting...

TheGoliath commented on 2020-09-22 11:58

Updated the PKGBUILD :) (& renewed the certificates)

tuxsavvy commented on 2020-09-22 11:35

Testing part fails. Below is the full makechrootpkg for this package, along with a fixed and tested working PKGBUILD (please see further below):

$ makechrootpkg -c -r $CHROOT
[sudo] password for me: 
==> Synchronizing chroot copy [/home/me/chroot/root] -> [me]...done
==> Making package: python2-urwid 2.1.1-2 (Tue 22 Sep 2020 11:26:04)
==> Retrieving sources...
  -> Downloading python2-urwid-2.1.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   126    0   126    0     0    328      0 --:--:-- --:--:-- --:--:--   328
100  592k    0  592k    0     0   302k      0 --:--:--  0:00:01 --:--:--  458k
==> Validating source files with sha256sums...
    python2-urwid-2.1.1.tar.gz ... Passed
==> Validating source files with sha512sums...
    python2-urwid-2.1.1.tar.gz ... Passed
==> Making package: python2-urwid 2.1.1-2 (Tue 22 Sep 2020 21:26:15)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (3) python2-funcsigs-1.0.2-3  python2-pbr-5.5.0-1  python2-mock-3.0.5-3

Total Installed Size:  1.05 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                                                                                                              [######################################################################################] 100%
(3/3) checking package integrity                                                                                                            [######################################################################################] 100%
(3/3) loading package files                                                                                                                 [######################################################################################] 100%
(3/3) checking for file conflicts                                                                                                           [######################################################################################] 100%
(3/3) checking available disk space                                                                                                         [######################################################################################] 100%
:: Processing package changes...
(1/3) installing python2-pbr                                                                                                                [######################################################################################] 100%
(2/3) installing python2-funcsigs                                                                                                           [######################################################################################] 100%
(3/3) installing python2-mock                                                                                                               [######################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found python2-urwid-2.1.1.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting python2-urwid-2.1.1.tar.gz with bsdtar
==> Starting build()...
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/urwid
copying urwid/web_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/decoration.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/old_str_util.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/version.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/canvas.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/compat.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/monitored_list.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/__init__.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/wimp.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/container.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/vterm.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/command_map.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/html_fragment.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/_async_kw_event_loop.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/util.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/lcd_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/font.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/raw_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/numedit.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/split_repr.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/graphics.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/treetools.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/widget.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/text_layout.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/escape.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/curses_display.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/main_loop.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/listbox.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/signals.py -> build/lib.linux-x86_64-2.7/urwid
copying urwid/display_common.py -> build/lib.linux-x86_64-2.7/urwid
creating build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_canvas.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_decoration.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/__init__.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_str_util.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_widget.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/util.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_text_layout.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_graphics.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_util.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_container.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_vterm.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_escapes.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_listbox.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_doctests.py -> build/lib.linux-x86_64-2.7/urwid/tests
copying urwid/tests/test_event_loops.py -> build/lib.linux-x86_64-2.7/urwid/tests
running build_ext
building 'urwid.str_util' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/source
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c source/str_util.c -o build/temp.linux-x86_64-2.7/source/str_util.o
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/source/str_util.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/urwid/str_util.so
==> Starting check()...
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
creating urwid.egg-info
writing urwid.egg-info/PKG-INFO
writing top-level names to urwid.egg-info/top_level.txt
writing dependency_links to urwid.egg-info/dependency_links.txt
writing manifest file 'urwid.egg-info/SOURCES.txt'
reading manifest file 'urwid.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'CHANGELOG'
writing manifest file 'urwid.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-2.7/urwid/str_util.so -> urwid
test1 (urwid.tests.test_canvas.CanvasCacheTest) ... ok
test (urwid.tests.test_canvas.CanvasJoinTest) ... ok
test1 (urwid.tests.test_canvas.CanvasOverlayTest) ... ok
test2 (urwid.tests.test_canvas.CanvasOverlayTest) ... ok
test3 (urwid.tests.test_canvas.CanvasOverlayTest) ... ok
test1 (urwid.tests.test_canvas.CanvasPadTrimTest) ... ok
test2 (urwid.tests.test_canvas.CanvasPadTrimTest) ... ok
test1 (urwid.tests.test_canvas.CanvasTest) ... ok
test2 (urwid.tests.test_canvas.CanvasTest) ... ok
test1 (urwid.tests.test_canvas.ShardBodyTest) ... ok
test2 (urwid.tests.test_canvas.ShardBodyTest) ... ok
test3 (urwid.tests.test_canvas.ShardBodyTest) ... ok
test (urwid.tests.test_canvas.ShardsJoinTest) ... ok
test1 (urwid.tests.test_canvas.ShardsTrimTest) ... ok
test2 (urwid.tests.test_canvas.ShardsTrimTest) ... ok
test_create (urwid.tests.test_decoration.FillerTest) ... ok
test_repr (urwid.tests.test_decoration.FillerTest) ... ok
test_values (urwid.tests.test_decoration.FillerTest) ... ok
test_create (urwid.tests.test_decoration.PaddingTest) ... ok
test_cursor (urwid.tests.test_decoration.PaddingTest) ... ok
test_reduced_padding_cursor (urwid.tests.test_decoration.PaddingTest) ... ok
test_values (urwid.tests.test_decoration.PaddingTest) ... ok
test1byte (urwid.tests.test_str_util.DecodeOneTest) ... ok
test2byte (urwid.tests.test_str_util.DecodeOneTest) ... ok
test3byte (urwid.tests.test_str_util.DecodeOneTest) ... ok
test4byte (urwid.tests.test_str_util.DecodeOneTest) ... ok
test1_SpaceWrap (urwid.tests.test_widget.EditRenderTest) ... ok
test2_ClipWrap (urwid.tests.test_widget.EditRenderTest) ... ok
test3_AnyWrap (urwid.tests.test_widget.EditRenderTest) ... ok
test4_CursorNudge (urwid.tests.test_widget.EditRenderTest) ... ok
test1_left (urwid.tests.test_widget.EditTest) ... ok
test2_right (urwid.tests.test_widget.EditTest) ... ok
test3_up (urwid.tests.test_widget.EditTest) ... ok
test4_down (urwid.tests.test_widget.EditTest) ... ok
test_utf8_input (urwid.tests.test_widget.EditTest) ... ok
test1_wrap (urwid.tests.test_widget.TextTest) ... ok
test2_left (urwid.tests.test_widget.TextTest) ... ok
test3_right (urwid.tests.test_widget.TextTest) ... ok
test4_center (urwid.tests.test_widget.TextTest) ... ok
test5_encode_error (urwid.tests.test_widget.TextTest) ... ok
test (urwid.tests.test_text_layout.CalcBreaksCantDisplayTest) ... ok
test (urwid.tests.test_text_layout.CalcBreaksCharTest) ... ok
test (urwid.tests.test_text_layout.CalcBreaksDBCharTest) ... ok
test (urwid.tests.test_text_layout.CalcBreaksDBWordTest) ... ok
test (urwid.tests.test_text_layout.CalcBreaksUTF8Test) ... ok
test (urwid.tests.test_text_layout.CalcBreaksWordTest) ... ok
test (urwid.tests.test_text_layout.CalcBreaksWordTest2) ... ok
tests (urwid.tests.test_text_layout.CalcPosTest) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateCantDisplayTest) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateCantDisplayTest) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateCantDisplayTest) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateCharTest) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateCharTest) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateCharTest) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateClipTest) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateClipTest) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateClipTest) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateWordTest) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateWordTest) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateWordTest) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateWordTest2) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateWordTest2) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateWordTest2) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateWordTest3) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateWordTest3) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateWordTest3) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateWordTest4) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateWordTest4) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateWordTest4) ... ok
test1_left (urwid.tests.test_text_layout.CalcTranslateWordTest5) ... ok
test2_right (urwid.tests.test_text_layout.CalcTranslateWordTest5) ... ok
test3_center (urwid.tests.test_text_layout.CalcTranslateWordTest5) ... ok
test (urwid.tests.test_text_layout.Pos2CoordsTest) ... ok
test1_padding (urwid.tests.test_text_layout.SubsegTest) ... ok
test2_text (urwid.tests.test_text_layout.SubsegTest) ... ok
test3_range (urwid.tests.test_text_layout.SubsegTest) ... ok
test1 (urwid.tests.test_graphics.BarGraphTest) ... ok
test2 (urwid.tests.test_graphics.BarGraphTest) ... ok
test_linebox_border (urwid.tests.test_graphics.LineBoxTest) ... ok
test1 (urwid.tests.test_graphics.SmoothBarGraphTest) ... ok
test1 (urwid.tests.test_util.CalcTextPosTest) ... ok
test2_wide (urwid.tests.test_util.CalcTextPosTest) ... ok
test3_utf8 (urwid.tests.test_util.CalcTextPosTest) ... ok
test4_utf8 (urwid.tests.test_util.CalcTextPosTest) ... ok
test1 (urwid.tests.test_util.CalcWidthTest) ... ok
test2 (urwid.tests.test_util.CalcWidthTest) ... ok
test1 (urwid.tests.test_util.ConvertDecSpecialTest) ... ok
test_locale (urwid.tests.test_util.PortabilityTest) ... ok
test_rle_append (urwid.tests.test_util.RleTest) ... ok
test_rle_prepend (urwid.tests.test_util.RleTest) ... ok
test (urwid.tests.test_util.TagMarkupTest) ... ok
test_bad_tuple (urwid.tests.test_util.TagMarkupTest) ... ok
test_bad_type (urwid.tests.test_util.TagMarkupTest) ... ok
test1 (urwid.tests.test_util.WithinDoubleByteTest) ... ok
test2 (urwid.tests.test_util.WithinDoubleByteTest) ... ok
test3 (urwid.tests.test_util.WithinDoubleByteTest) ... ok
test_box_column (urwid.tests.test_container.ColumnsTest) ... ok
test_init_with_a_generator (urwid.tests.test_container.ColumnsTest) ... ok
test_move_cursor (urwid.tests.test_container.ColumnsTest) ... ok
test_old_attributes (urwid.tests.test_container.ColumnsTest) ... ok
test_widths (urwid.tests.test_container.ColumnsTest) ... ok
test_widths_focus_end (urwid.tests.test_container.ColumnsTest) ... ok
test_columns (urwid.tests.test_container.CommonContainerTest) ... ok
test_focus_path (urwid.tests.test_container.CommonContainerTest) ... ok
test_frame (urwid.tests.test_container.CommonContainerTest) ... ok
test_grid_flow (urwid.tests.test_container.CommonContainerTest) ... ok
test_list_box (urwid.tests.test_container.CommonContainerTest) ... ok
test_overlay (urwid.tests.test_container.CommonContainerTest) ... ok
test_pile (urwid.tests.test_container.CommonContainerTest) ... ok
test (urwid.tests.test_container.FrameTest) ... ok
test_basics (urwid.tests.test_container.GridFlowTest) ... ok
test_cell_width (urwid.tests.test_container.GridFlowTest) ... ok
test_keypress_v_sep_0 (urwid.tests.test_container.GridFlowTest) ... ok
test_v_sep (urwid.tests.test_container.GridFlowTest) ... ok
test_get_cursor_coords (urwid.tests.test_container.OverlayTest) ... ok
test_old_params (urwid.tests.test_container.OverlayTest) ... ok
test_change_focus_with_mouse (urwid.tests.test_container.PileTest) ... ok
test_init_with_a_generator (urwid.tests.test_container.PileTest) ... ok
test_mouse_event_in_empty_pile (urwid.tests.test_container.PileTest) ... ok
test_select_change (urwid.tests.test_container.PileTest) ... ok
test_zero_weight (urwid.tests.test_container.PileTest) ... ok
test_bargraph (urwid.tests.test_container.WidgetSquishTest) ... ok
test_buttons (urwid.tests.test_container.WidgetSquishTest) ... ok
test_columns (urwid.tests.test_container.WidgetSquishTest) ... ok
test_filler (urwid.tests.test_container.WidgetSquishTest) ... ok
test_frame (urwid.tests.test_container.WidgetSquishTest) ... ok
test_graphvscale (urwid.tests.test_container.WidgetSquishTest) ... ok
test_listbox (urwid.tests.test_container.WidgetSquishTest) ... ok
test_overlay (urwid.tests.test_container.WidgetSquishTest) ... ok
test_pile (urwid.tests.test_container.WidgetSquishTest) ... ok
test_solidfill (urwid.tests.test_container.WidgetSquishTest) ... ok
test_carriage_return (urwid.tests.test_vterm.TermTest) ... ok
test_cursor_scrolling_region (urwid.tests.test_vterm.TermTest) ... ok
test_cursor_scrolling_region_with_focus (urwid.tests.test_vterm.TermTest) ... ok
test_cursor_visibility (urwid.tests.test_vterm.TermTest) ... ok
test_defargs (urwid.tests.test_vterm.TermTest) ... ok
test_deletelines (urwid.tests.test_vterm.TermTest) ... ok
test_encoding_unicode (urwid.tests.test_vterm.TermTest) ... ok
test_encoding_unicode_ascii (urwid.tests.test_vterm.TermTest) ... ok
test_encoding_vt100_graphics (urwid.tests.test_vterm.TermTest) ... ok
test_encoding_wrong_unicode (urwid.tests.test_vterm.TermTest) ... ok
test_erase_display (urwid.tests.test_vterm.TermTest) ... ok
test_erase_line (urwid.tests.test_vterm.TermTest) ... ok
test_get_utf8_len (urwid.tests.test_vterm.TermTest) ... ok
test_horizontal_resize (urwid.tests.test_vterm.TermTest) ... ok
test_ibmpc_mapping (urwid.tests.test_vterm.TermTest) ... ok
test_in_listbox (urwid.tests.test_vterm.TermTest) ... ok
test_insertlines (urwid.tests.test_vterm.TermTest) ... ok
test_linefeed (urwid.tests.test_vterm.TermTest) ... ok
test_linefeed2 (urwid.tests.test_vterm.TermTest) ... ok
test_movement (urwid.tests.test_vterm.TermTest) ... ok
test_nul (urwid.tests.test_vterm.TermTest) ... ok
test_nullargs (urwid.tests.test_vterm.TermTest) ... ok
test_relative_region_jump (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_region_move (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_region_move_with_focus (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_region_reverse (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_region_reverse_with_focus (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_region_simple (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_region_simple_with_focus (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_twice (urwid.tests.test_vterm.TermTest) ... ok
test_scrolling_twice_with_focus (urwid.tests.test_vterm.TermTest) ... ok
test_set_leds (urwid.tests.test_vterm.TermTest) ... ok
test_set_multiple_modes (urwid.tests.test_vterm.TermTest) ... ok
test_set_title (urwid.tests.test_vterm.TermTest) ... ok
test_simplestring (urwid.tests.test_vterm.TermTest) ... ok
test_vertical_resize (urwid.tests.test_vterm.TermTest) ... ok
test_wrap_backspace_tab (urwid.tests.test_vterm.TermTest) ... FAIL
test_wrap_simple (urwid.tests.test_vterm.TermTest) ... ok
test_bare_escape (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test_bug_104 (urwid.tests.test_escapes.InputEscapeSequenceParserTest)
GH #104: click-Esc & Esc-click crashes urwid apps ... ok
test_ctrl_pgup (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test_esc_meta_1 (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test_meta (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test_midsequence (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test_mouse_press (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test_shift_arrows (urwid.tests.test_escapes.InputEscapeSequenceParserTest) ... ok
test1_simple (urwid.tests.test_listbox.ListBoxCalculateVisibleTest) ... ok
test2_cursor (urwid.tests.test_listbox.ListBoxCalculateVisibleTest) ... ok
test1unselectable (urwid.tests.test_listbox.ListBoxChangeFocusTest) ... ok
test2selectable (urwid.tests.test_listbox.ListBoxChangeFocusTest) ... ok
test3large_selectable (urwid.tests.test_listbox.ListBoxChangeFocusTest) ... ok
test4cursor (urwid.tests.test_listbox.ListBoxChangeFocusTest) ... ok
test5set_focus_valign (urwid.tests.test_listbox.ListBoxChangeFocusTest) ... ok
test1_up (urwid.tests.test_listbox.ListBoxKeypressTest) ... ok
test2_down (urwid.tests.test_listbox.ListBoxKeypressTest) ... ok
test3_page_up (urwid.tests.test_listbox.ListBoxKeypressTest) ... ok
test4_page_down (urwid.tests.test_listbox.ListBoxKeypressTest) ... ok
test1_simple (urwid.tests.test_listbox.ListBoxRenderTest) ... ok
test2_trim (urwid.tests.test_listbox.ListBoxRenderTest) ... ok
test3_shift (urwid.tests.test_listbox.ListBoxRenderTest) ... ok
test4_really_large_contents (urwid.tests.test_listbox.ListBoxRenderTest) ... ok
test_listbox_pile (urwid.tests.test_listbox.ZeroHeightContentsTest) ... ok
test_listbox_text_pile_down (urwid.tests.test_listbox.ZeroHeightContentsTest) ... ok
test_listbox_text_pile_page_down (urwid.tests.test_listbox.ZeroHeightContentsTest) ... ok
test_listbox_text_pile_page_up (urwid.tests.test_listbox.ZeroHeightContentsTest) ... ok
test_listbox_text_pile_up (urwid.tests.test_listbox.ZeroHeightContentsTest) ... ok
__init__ (urwid.widget.Divider)
Doctest: urwid.widget.Divider.__init__ ... ok
render (urwid.widget.Divider)
Doctest: urwid.widget.Divider.render ... ok
rows (urwid.widget.Divider)
Doctest: urwid.widget.Divider.rows ... ok
__init__ (urwid.widget.Edit)
Doctest: urwid.widget.Edit.__init__ ... ok
get_cursor_coords (urwid.widget.Edit)
Doctest: urwid.widget.Edit.get_cursor_coords ... ok
get_edit_text (urwid.widget.Edit)
Doctest: urwid.widget.Edit.get_edit_text ... ok
get_pref_col (urwid.widget.Edit)
Doctest: urwid.widget.Edit.get_pref_col ... ok
get_text (urwid.widget.Edit)
Doctest: urwid.widget.Edit.get_text ... ok
insert_text (urwid.widget.Edit)
Doctest: urwid.widget.Edit.insert_text ... ok
keypress (urwid.widget.Edit)
Doctest: urwid.widget.Edit.keypress ... ok
mouse_event (urwid.widget.Edit)
Doctest: urwid.widget.Edit.mouse_event ... ok
move_cursor_to_coords (urwid.widget.Edit)
Doctest: urwid.widget.Edit.move_cursor_to_coords ... ok
render (urwid.widget.Edit)
Doctest: urwid.widget.Edit.render ... ok
set_caption (urwid.widget.Edit)
Doctest: urwid.widget.Edit.set_caption ... ok
set_edit_pos (urwid.widget.Edit)
Doctest: urwid.widget.Edit.set_edit_pos ... ok
set_edit_text (urwid.widget.Edit)
Doctest: urwid.widget.Edit.set_edit_text ... ok
set_text (urwid.widget.Edit)
Doctest: urwid.widget.Edit.set_text ... ok
update_text (urwid.widget.Edit)
Doctest: urwid.widget.Edit.update_text ... ok
__init__ (urwid.widget.IntEdit)
Doctest: urwid.widget.IntEdit.__init__ ... ok
keypress (urwid.widget.IntEdit)
Doctest: urwid.widget.IntEdit.keypress ... ok
value (urwid.widget.IntEdit)
Doctest: urwid.widget.IntEdit.value ... ok
__init__ (urwid.widget.SolidFill)
Doctest: urwid.widget.SolidFill.__init__ ... ok
render (urwid.widget.SolidFill)
Doctest: urwid.widget.SolidFill.render ... ok
__init__ (urwid.widget.Text)
Doctest: urwid.widget.Text.__init__ ... ok
get_text (urwid.widget.Text)
Doctest: urwid.widget.Text.get_text ... ok
pack (urwid.widget.Text)
Doctest: urwid.widget.Text.pack ... ok
render (urwid.widget.Text)
Doctest: urwid.widget.Text.render ... ok
rows (urwid.widget.Text)
Doctest: urwid.widget.Text.rows ... ok
set_align_mode (urwid.widget.Text)
Doctest: urwid.widget.Text.set_align_mode ... ok
set_layout (urwid.widget.Text)
Doctest: urwid.widget.Text.set_layout ... ok
set_text (urwid.widget.Text)
Doctest: urwid.widget.Text.set_text ... ok
set_wrap_mode (urwid.widget.Text)
Doctest: urwid.widget.Text.set_wrap_mode ... ok
_set_w (urwid.widget.WidgetWrap)
Doctest: urwid.widget.WidgetWrap._set_w ... ok
__init__ (urwid.wimp.Button)
Doctest: urwid.wimp.Button.__init__ ... ok
get_label (urwid.wimp.Button)
Doctest: urwid.wimp.Button.get_label ... ok
keypress (urwid.wimp.Button)
Doctest: urwid.wimp.Button.keypress ... ok
label (urwid.wimp.Button)
Doctest: urwid.wimp.Button.label ... ok
mouse_event (urwid.wimp.Button)
Doctest: urwid.wimp.Button.mouse_event ... ok
set_label (urwid.wimp.Button)
Doctest: urwid.wimp.Button.set_label ... ok
__init__ (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.__init__ ... ok
get_label (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.get_label ... ok
keypress (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.keypress ... ok
label (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.label ... ok
mouse_event (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.mouse_event ... ok
set_label (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.set_label ... ok
set_state (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.set_state ... ok
toggle_state (urwid.wimp.CheckBox)
Doctest: urwid.wimp.CheckBox.toggle_state ... ok
__init__ (urwid.wimp.RadioButton)
Doctest: urwid.wimp.RadioButton.__init__ ... ok
set_state (urwid.wimp.RadioButton)
Doctest: urwid.wimp.RadioButton.set_state ... ok
toggle_state (urwid.wimp.RadioButton)
Doctest: urwid.wimp.RadioButton.toggle_state ... ok
render (urwid.wimp.SelectableIcon)
Doctest: urwid.wimp.SelectableIcon.render ... ok
__init__ (urwid.decoration.AttrMap)
Doctest: urwid.decoration.AttrMap.__init__ ... ok
set_attr_map (urwid.decoration.AttrMap)
Doctest: urwid.decoration.AttrMap.set_attr_map ... ok
set_focus_map (urwid.decoration.AttrMap)
Doctest: urwid.decoration.AttrMap.set_focus_map ... ok
__init__ (urwid.decoration.AttrWrap)
Doctest: urwid.decoration.AttrWrap.__init__ ... ok
__init__ (urwid.decoration.BoxAdapter)
Doctest: urwid.decoration.BoxAdapter.__init__ ... ok
rows (urwid.decoration.BoxAdapter)
Doctest: urwid.decoration.BoxAdapter.rows ... ok
__init__ (urwid.decoration.Padding)
Doctest: urwid.decoration.Padding.__init__ ... ok
WidgetDecoration (urwid.decoration)
Doctest: urwid.decoration.WidgetDecoration ... ok
_get_base_widget (urwid.decoration.WidgetDecoration)
Doctest: urwid.decoration.WidgetDecoration._get_base_widget ... ok
base_widget (urwid.decoration.WidgetDecoration)
Doctest: urwid.decoration.WidgetDecoration.base_widget ... ok
calculate_left_right_padding (urwid.decoration)
Doctest: urwid.decoration.calculate_left_right_padding ... ok
calculate_top_bottom_filler (urwid.decoration)
Doctest: urwid.decoration.calculate_top_bottom_filler ... ok
__init__ (urwid.display_common.AttrSpec)
Doctest: urwid.display_common.AttrSpec.__init__ ... ok
get_rgb_values (urwid.display_common.AttrSpec)
Doctest: urwid.display_common.AttrSpec.get_rgb_values ... ok
_color_desc_256 (urwid.display_common)
Doctest: urwid.display_common._color_desc_256 ... ok
_color_desc_88 (urwid.display_common)
Doctest: urwid.display_common._color_desc_88 ... ok
_parse_color_256 (urwid.display_common)
Doctest: urwid.display_common._parse_color_256 ... ok
_parse_color_88 (urwid.display_common)
Doctest: urwid.display_common._parse_color_88 ... ok
_value_lookup_table (urwid.display_common)
Doctest: urwid.display_common._value_lookup_table ... ok
_test_process_input (urwid.main_loop.MainLoop)
Doctest: urwid.main_loop.MainLoop._test_process_input ... ok
_test_run (urwid.main_loop.MainLoop)
Doctest: urwid.main_loop.MainLoop._test_run ... ok
_test_run_screen_event_loop (urwid.main_loop.MainLoop)
Doctest: urwid.main_loop.MainLoop._test_run_screen_event_loop ... ok
_update (urwid.main_loop.MainLoop)
Doctest: urwid.main_loop.MainLoop._update ... ok
_refl (urwid.main_loop)
Doctest: urwid.main_loop._refl ... ok
__init__ (urwid.numedit.FloatEdit)
Doctest: urwid.numedit.FloatEdit.__init__ ... ok
__init__ (urwid.numedit.IntegerEdit)
Doctest: urwid.numedit.IntegerEdit.__init__ ... ok
value (urwid.numedit.IntegerEdit)
Doctest: urwid.numedit.IntegerEdit.value ... ok
keypress (urwid.numedit.NumEdit)
Doctest: urwid.numedit.NumEdit.keypress ... ok
__delitem__ (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.__delitem__ ... ok
__imul__ (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.__imul__ ... ok
__init__ (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.__init__ ... ok
__setitem__ (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.__setitem__ ... ok
_get_focus (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList._get_focus ... ok
_set_focus (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList._set_focus ... ok
append (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.append ... ok
extend (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.extend ... ok
insert (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.insert ... ok
pop (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.pop ... ok
remove (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.remove ... ok
reverse (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.reverse ... ok
set_focus_changed_callback (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.set_focus_changed_callback ... ok
sort (urwid.monitored_list.MonitoredFocusList)
Doctest: urwid.monitored_list.MonitoredFocusList.sort ... ok
set_modified_callback (urwid.monitored_list.MonitoredList)
Doctest: urwid.monitored_list.MonitoredList.set_modified_callback ... ok
_attrspec_to_escape (urwid.raw_display.Screen)
Doctest: urwid.raw_display.Screen._attrspec_to_escape ... ok
normalize_repr (urwid.split_repr)
Doctest: urwid.split_repr.normalize_repr ... ok
python3_repr (urwid.split_repr)
Doctest: urwid.split_repr.python3_repr ... ok
remove_defaults (urwid.split_repr)
Doctest: urwid.split_repr.remove_defaults ... ok
split_repr (urwid.split_repr)
Doctest: urwid.split_repr.split_repr ... ok
int_scale (urwid.util)
Doctest: urwid.util.int_scale ... ok
connect (urwid.signals.Signals)
Doctest: urwid.signals.Signals.connect ... ok
__init__ (urwid.graphics.ProgressBar)
Doctest: urwid.graphics.ProgressBar.__init__ ... ok
test_event_loop (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok
test_remove_alarm (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok
test_remove_watch_file (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok
test_run (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok

======================================================================
FAIL: test_wrap_backspace_tab (urwid.tests.test_vterm.TermTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python2-urwid/src/urwid-release-2.1.1/urwid/tests/test_vterm.py", line 288, in test_wrap_backspace_tab
    self.expect(' ' * (self.term.width - 1) + 'a')
  File "/build/python2-urwid/src/urwid-release-2.1.1/urwid/tests/test_vterm.py", line 130, in expect
    self.assertEqual(got, what, desc)
AssertionError: Expected:
'                                                                               a'
Got:
'                                                                               t'

----------------------------------------------------------------------
Ran 303 tests in 0.795s

FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=303 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=303 errors=0 failures=1>
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/me/chroot/me/build
makechrootpkg -c -r $CHROOT  9.80s user 4.86s system 26% cpu 55.672 total

Updated PKGBUILD which works fine for me:

# Maintainer:
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>

pkgname=python2-urwid
pkgver=2.1.1
pkgrel=3
pkgdesc='Curses-based user interface library'
url='http://excess.org/urwid/'
arch=('x86_64')
license=('LGPL')
depends=('python2' 'glibc')
makedepends=('glibc' 'python2-setuptools' 'python2-mock' 'python-tox')
source=(https://github.com/urwid/urwid/archive/release-${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('06fc11e62083f0de2ae8525d278bd5ca7f06bcf10773e299812ab5f617f8bd50')
sha512sums=('6ab861c02edff37e31b1a5b138e71abf978f8ef9a54e0993b740ec62c0986ce1e25c2421a4a4b0d428a8cd64970496b23790074c911b6e4990b3d821a3bf2b4c')

build() {
  (cd urwid-release-${pkgver}
    python2 setup.py build
  )
}

check() {
  (cd urwid-release-${pkgver}
    tox -e py27
  )
}

package() {
  cd urwid-release-${pkgver}
  python2 setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
  rm -r "${pkgdir}"/usr/lib/python*/site-packages/urwid/tests
}

# vim: ts=2 sw=2 et:

Also your repo (TheGoliath) has expired SSL certificate as of writing.

TheGoliath commented on 2020-08-21 12:57

Updated the PKGBUILD :)

leccesg commented on 2020-08-19 15:09

@corsaw Hello, after I enter the prompt:

[taizongh@leccesg ~]$ python2 -m pip install mock

/usr/bin/python2: No module named pip

Can you tell me how to do that? thank you

lann commented on 2020-08-12 16:22

@corsaw

Thank you for the method. It's OK now

FMB commented on 2020-08-12 12:47

Add python2-mock to makedepends.

corsaw commented on 2020-08-11 21:16

I had the same issue as @lann but was able to resolve it by running

python2 -m pip install mock

with pip for python2 installed, and then rerunning makepkg with the -C flag to clean before building.

lann commented on 2020-08-11 17:03

I got these errors when i try to install this package

Traceback (most recent call last): File "setup.py", line 82, in <module> setup(setup_d) File "/usr/lib/python2.7/site-packages/setuptools/init.py", line 162, in setup return distutils.core.setup(attrs) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 237, in run self.run_tests() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 259, in run_tests exit=False, File "/usr/lib/python2.7/unittest/main.py", line 94, in init self.parseArgs(argv) File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 55, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName parent, obj = obj, getattr(obj, part) AttributeError: 'module' object has no attribute 'test_container'