diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-11-08 23:01:07 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-27 10:25:27 +0200 |
commit | f52cfe79d5061a0acaeada55dadc73148b1e0ca1 (patch) | |
tree | 3280609e48a7d2766054751ebe4df32982e9a814 /testing/py-flake8-print | |
parent | 3eaa5796b8d4fc9c53ed7c2cfe61323187d52e5d (diff) | |
download | aports-f52cfe79d5061a0acaeada55dadc73148b1e0ca1.tar.bz2 aports-f52cfe79d5061a0acaeada55dadc73148b1e0ca1.tar.xz |
testing/py-flake8-print: upgrade to 2.0.2
Diffstat (limited to 'testing/py-flake8-print')
-rw-r--r-- | testing/py-flake8-print/APKBUILD | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/testing/py-flake8-print/APKBUILD b/testing/py-flake8-print/APKBUILD index 876a654e95..6c81fb183b 100644 --- a/testing/py-flake8-print/APKBUILD +++ b/testing/py-flake8-print/APKBUILD @@ -2,40 +2,27 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-flake8-print _pkgname=flake8-print -pkgver=1.5.0 -pkgrel=1 +pkgver=2.0.2 +pkgrel=0 pkgdesc="Extension for flake8 which lint for print statements" url="https://github.com/jbkahn/flake8-print" 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.tar.gz" - -_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="5435bc6aeb4397f178ab29d53f552e5c flake8-print-1.5.0.tar.gz" -sha256sums="c870ffaecdfc6aef3e33ce0a95ebff2f104bf6c3f1704ee62316dd141405b5f6 flake8-print-1.5.0.tar.gz" -sha512sums="a4990ded06a186f2840a0e11e126a2fc9cbe342e898e2010d541f6123c4663322b526dd009dccbd8cad3e58b306b02a428f8360490e995f9e5efa5d0f805c5ef flake8-print-1.5.0.tar.gz" +md5sums="7483af885c65dcb3bb0b21b5d67928d3 flake8-print-2.0.2.tar.gz" +sha256sums="19a0db71b37d985732c247032f84c111d191ed5977d7f852a654c6a8ac137595 flake8-print-2.0.2.tar.gz" +sha512sums="9ec69c0f0489a48ea2861644fe2ac2f9ab11e55d156883dded3788e64033783c2cc4fc7bcca4f3d0cf41e291ede36e8f09ac3462954648d251784db70b77ce93 flake8-print-2.0.2.tar.gz" |