aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/pytest/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/pytest/APKBUILD b/community/pytest/APKBUILD
index 4d2cce54d2..33e8509b84 100644
--- a/community/pytest/APKBUILD
+++ b/community/pytest/APKBUILD
@@ -8,8 +8,9 @@ url="http://pytest.org"
arch="noarch"
license="MIT"
depends="py3-$pkgname"
-_py2_depends="py2-py py2-six py2-attrs py2-setuptools py2-more-itertools py2-pluggy py2-funcsigs"
-_py3_depends="py3-py py3-six py3-attrs py3-more-itertools py3-pluggy"
+_py_depends="py-py py-six py-attrs py-more-itertools py-pluggy"
+_py2_depends="${_py_depends//py-/py2-} py2-setuptools py2-funcsigs"
+_py3_depends="${_py_depends//py-/py3-}"
makedepends="python2-dev py-setuptools python3-dev $_py2_depends $_py3_depends"
subpackages="py3-$pkgname:_py3 py2-$pkgname:_py2"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"