diff options
-rw-r--r-- | testing/py-flake8-immediate/APKBUILD | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/testing/py-flake8-immediate/APKBUILD b/testing/py-flake8-immediate/APKBUILD index d399516850..514b0353a9 100644 --- a/testing/py-flake8-immediate/APKBUILD +++ b/testing/py-flake8-immediate/APKBUILD @@ -3,37 +3,24 @@ pkgname=py-flake8-immediate _pkgname=flake8-immediate pkgver=0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Enables immediate output for flake8" url="https://github.com/schlamar/flake8-immediate" arch="noarch" license="MIT" -depends="python2 flake8" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" +depends="flake8" +makedepends="python3-dev" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python3 setup.py build || return 1 } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="fb231c8a1e938046c55be0590c5e1849 flake8-immediate-0.2.zip" |