diff options
-rw-r--r-- | testing/py-flake8-debugger/APKBUILD | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/testing/py-flake8-debugger/APKBUILD b/testing/py-flake8-debugger/APKBUILD index e257489e46..48249e6f59 100644 --- a/testing/py-flake8-debugger/APKBUILD +++ b/testing/py-flake8-debugger/APKBUILD @@ -2,40 +2,27 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-flake8-debugger _pkgname=flake8-debugger -pkgver=1.3.2 -pkgrel=1 +pkgver=1.4.0 +pkgrel=0 pkgdesc="Extension for flake8 which lint for ipdb/pdb statements" url="https://github.com/jbkahn/flake8-debugger" 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="9afbb76cb781d6fc125d98efed4c8f10 flake8-debugger-1.3.2.tar.gz" -sha256sums="4760fa3a5bad208c12ae91d44f66a2ff7d859c68c411493070da261c57610f1f flake8-debugger-1.3.2.tar.gz" -sha512sums="8570896797d8a3a40ca30da3f214c7676e7c1870e5b2af388711883e81d790883e9797dc4479549a2ac2aca1d4fc659a78bb836f5df11ab1002d23035469ae6f flake8-debugger-1.3.2.tar.gz" +md5sums="9f7d01657d6a56a7b2bf0c2343fecf60 flake8-debugger-1.4.0.tar.gz" +sha256sums="5918490f710f1cbbcabd11748558063274b93984ea63744eb712dbcd8d721232 flake8-debugger-1.4.0.tar.gz" +sha512sums="19fb987989fe3ecf944e996c0da6d85a24bf2eaf4e615eeaf188ee06cb1feb02c5344ad9a50a7ca00b1d567196026341230459c697de81074027c56164606d39 flake8-debugger-1.4.0.tar.gz" |