diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-16 10:06:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-17 11:45:50 +0000 |
commit | db11322f773eba6507674e7ce3cc21059ff1d560 (patch) | |
tree | 551758e2c9397131d4b0de724f91333de89468d4 /community | |
parent | 8f9c211d85f7f9c410eca1e1a370e07f701cf3fc (diff) | |
download | aports-db11322f773eba6507674e7ce3cc21059ff1d560.tar.bz2 aports-db11322f773eba6507674e7ce3cc21059ff1d560.tar.xz |
community/py-pyflakes: rebuild against python 3.7 and fix deps
Diffstat (limited to 'community')
-rw-r--r-- | community/py-pyflakes/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/community/py-pyflakes/APKBUILD b/community/py-pyflakes/APKBUILD index eb2369b730..4dbc3d20ae 100644 --- a/community/py-pyflakes/APKBUILD +++ b/community/py-pyflakes/APKBUILD @@ -3,12 +3,14 @@ pkgname=py-pyflakes _pkgname=${pkgname#py-} pkgver=2.1.1 -pkgrel=3 +pkgrel=4 pkgdesc="A passive checker of Python programs" url="https://github.com/pyflakes/pyflakes" arch="noarch" license="MIT" -makedepends="python2-dev python3-dev py-setuptools" +_py2deps="py2-setuptools" +_py3deps="py3-setuptools" +makedepends="python2-dev python3-dev py-setuptools $_py2deps $_py3deps" subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" @@ -35,10 +37,12 @@ package() { _py2() { replaces=pyflakes provides="pyflakes=$pkgver-r$pkgrel" + depends="python2 $_py2deps" _py python2 } _py3() { + depends="python3 $_py3deps" _py python3 } @@ -46,7 +50,6 @@ _py() { local python="$1" local pyver="${1#python}" pkgdesc="$pkgdesc (for $python)" - depends="$python" install_if="$pkgname=$pkgver-r$pkgrel $python" cd "$builddir" |