diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-26 14:28:41 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-26 14:34:03 +0200 |
commit | 83ca7e65c4530cdc849d10c66a3208233ce4f615 (patch) | |
tree | 9d42e7db43a50a236fd2f0923066eba9c6912072 /community | |
parent | e8837373b8ca34b34195002fb5308b02b70b6c2e (diff) | |
download | aports-83ca7e65c4530cdc849d10c66a3208233ce4f615.tar.bz2 aports-83ca7e65c4530cdc849d10c66a3208233ce4f615.tar.xz |
community/pytest: DRY abuild
Diffstat (limited to 'community')
-rw-r--r-- | community/pytest/APKBUILD | 5 |
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" |