[arch-commits] Commit in python-testtools/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Apr 22 08:05:25 UTC 2016
Date: Friday, April 22, 2016 @ 10:05:25
Author: fyan
Revision: 171566
upgpkg: python-testtools 2.1.0-1
Modified:
python-testtools/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-22 04:09:24 UTC (rev 171565)
+++ PKGBUILD 2016-04-22 08:05:25 UTC (rev 171566)
@@ -3,7 +3,7 @@
pkgbase=python-testtools
pkgname=('python-testtools' 'python2-testtools')
-pkgver=2.0.0
+pkgver=2.1.0
pkgrel=1
pkgdesc="Extensions to the Python standard library unit testing framework"
arch=('any')
@@ -21,7 +21,7 @@
cp -a testtools{,-py2}
# These are for python 2.x and old python 3.x only
- sed -i 's|unittest2|unittest|' testtools/testtools/tests/test_run.py testtools/testtools/tests/test_testsuite.py testtools/testtools/tests/test_deferredmatchers.py testtools/testtools/tests/test_deferred.py testtools/testtools/tests/test_deferredruntest.py
+ sed -i 's|unittest2|unittest|' testtools/testtools/tests/test_run.py testtools/testtools/tests/test_testsuite.py testtools/testtools/tests/twistedsupport/test_matchers.py testtools/testtools/tests/twistedsupport/test_deferred.py testtools/testtools/tests/twistedsupport/test_runtest.py
sed -i '/unittest2>=1.0.0/d' testtools/requirements.txt
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
More information about the arch-commits
mailing list