aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-todo/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-08 23:05:45 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-12-27 10:25:27 +0200
commit36c2188d29b30aa6ca9c9a26e4b91847139b0066 (patch)
treea994fd7b945aab0fa050c910d8e827542a5f63cb /testing/py-flake8-todo/APKBUILD
parent8f2d6f9d86af1afa0e3ddebbb1b8524bac703b4c (diff)
downloadaports-36c2188d29b30aa6ca9c9a26e4b91847139b0066.tar.bz2
aports-36c2188d29b30aa6ca9c9a26e4b91847139b0066.tar.xz
testing/py-flake8-todo: upgrade to 0.6
Diffstat (limited to 'testing/py-flake8-todo/APKBUILD')
-rw-r--r--testing/py-flake8-todo/APKBUILD39
1 files changed, 13 insertions, 26 deletions
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 <fabian@affolter-engineering.ch>
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"