Subject: [alpine-aports] [PATCH] testing/py-testtools: use py2-traceback2 only for python2

From: Robert Sacks <[email-masked]>
Date: Fri, 5 Jul 2019 11:22:43 -0400

---
 testing/py-testtools/APKBUILD | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/testing/py-testtools/APKBUILD b/testing/py-testtools/APKBUILD
index 130fab1216..8e9683390c 100644
--- a/testing/py-testtools/APKBUILD
+++ b/testing/py-testtools/APKBUILD
@@ -8,8 +8,7 @@ pkgdesc="Extensions to the Python standard library unit testing framework"
 url="https://pypi.python.org/pypi/testtools"
 arch="noarch"
 license="MIT"
-depends="python py-pbr py-setuptools py-fixtures py-extras py-six py-traceback2
-	py-mimeparse"
+depends="python py-pbr py-setuptools py-fixtures py-extras py-six py-mimeparse"
 makedepends="py-setuptools py3-setuptools"
 subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
 source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
@@ -31,7 +30,7 @@ package() {
 
 _py2() {
 	replaces="$pkgname"
-	depends="${depends//py-/py2-} py2-unittest2"  ## remove if there are no common Python dependencies
+	depends="${depends//py-/py2-} py2-traceback2 py2-unittest2"  ## remove if there are no common Python dependencies
 	_py python2
 }
 
-- 
2.22.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---