From 36c2188d29b30aa6ca9c9a26e4b91847139b0066 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 8 Nov 2016 23:05:45 +0000 Subject: testing/py-flake8-todo: upgrade to 0.6 --- testing/py-flake8-todo/APKBUILD | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) (limited to 'testing/py-flake8-todo/APKBUILD') diff --git a/testing/py-flake8-todo/APKBUILD b/testing/py-flake8-todo/APKBUILD index c23b0177ba..d716f9e0e7 100644 --- a/testing/py-flake8-todo/APKBUILD +++ b/testing/py-flake8-todo/APKBUILD @@ -2,40 +2,27 @@ # Maintainer: Fabian Affolter pkgname=py-flake8-todo _pkgname=flake8-todo -pkgver=0.3 -pkgrel=1 +pkgver=0.6 +pkgrel=0 pkgdesc="TODO notes checker plugin for flake8" url="https://github.com/schlamar/flake8-todo" arch="noarch" license="MIT" -depends="python2 flake8" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -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 -} +depends="flake8" +makedepends="python3-dev" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +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="489b799f09678b0459e24ee71ec757fe flake8-todo-0.3.zip" -sha256sums="462788906ce7a0a6914d95cc61a5502bd157b56878832241d47ddb4f26c9ae0d flake8-todo-0.3.zip" -sha512sums="c5b36d3c42f87588ef4aa8fc9a9fd67b2047183c90e4dce8ac12d1b7656c135bd6635a08d92c463c36bc0fb80f55b42bdb5145841dc1fabf934ca8d76e6008a7 flake8-todo-0.3.zip" +md5sums="e43766af016e8bc502903ba37c2bab5a flake8-todo-0.6.tar.gz" +sha256sums="974ad0de9212fa9f38bc5136ca6cb491b5736ef3b3d1df6fbaec7eea22d553e1 flake8-todo-0.6.tar.gz" +sha512sums="6988a41f5fc05d0cbd14617681c1002d466c33b3e3e5ce5bc8500f66457015e6538c083163cd4f6c1b4d5954e123e4de1c0caaec539053df6fc9be58d358bfa0 flake8-todo-0.6.tar.gz" -- cgit v1.2.3