Date: Tuesday, November 3, 2015 @ 10:09:28 Author: fyan Revision: 145764
upgpkg: python-testtools 1.8.0-2 adjust requires metadata Modified: python-testtools/trunk/PKGBUILD ----------+ PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-11-03 08:56:31 UTC (rev 145763) +++ PKGBUILD 2015-11-03 09:09:28 UTC (rev 145764) @@ -4,7 +4,7 @@ pkgbase=python-testtools pkgname=('python-testtools' 'python2-testtools') pkgver=1.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Extensions to the Python standard library unit testing framework" arch=('any') license=('MIT') @@ -19,6 +19,7 @@ prepare() { # Since we are always latest... sed -i 's|unittest2|unittest|' testtools/testtools/tests/test_run.py testtools/testtools/tests/test_testsuite.py testtools/testtools/tests/test_deferredruntest.py + sed -i '/unittest2>=1.0.0/d' testtools/requirements.txt cp -a testtools{,-py2} @@ -25,6 +26,7 @@ # These are for python 2.x and old python 3.x only sed -i 's|import linecache2 as linecache|import linecache|' testtools/testtools/tests/test_compat.py sed -i "s|traceback = try_import('traceback2')|import traceback|" testtools/testtools/content.py + sed -i '/traceback2/d' testtools/requirements.txt } build() {