~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

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

Robert Sacks <robert@sacks.email>
Details
Message ID
<20190705152243.11750-1-robert@sacks.email>
Sender timestamp
1562340163
DKIM signature
missing
Download raw message
Patch: +2 -3
---
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20190705174206.d67mpbqchhbom5lm@Impreza>
In-Reply-To
<20190705152243.11750-1-robert@sacks.email> (view parent)
Sender timestamp
1562348526
DKIM signature
missing
Download raw message
Merged but next time needs pkgrel to be bumped for changes to take effect (done
in a further commit)


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)