aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-todo/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-20 12:38:01 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-20 14:50:55 -0300
commit4ec6146cb1bb54dbbfb815da9444b2ee295270fc (patch)
tree3d3820333fddbcfe83fd82fc7ff41e0d1e9122a7 /testing/py3-flake8-todo/APKBUILD
parenta2fdc7132b8ac141b2a854673429c148d4a84346 (diff)
downloadaports-4ec6146cb1bb54dbbfb815da9444b2ee295270fc.tar.bz2
aports-4ec6146cb1bb54dbbfb815da9444b2ee295270fc.tar.xz
testing/py3-flake8-todo: switch to py3
Diffstat (limited to 'testing/py3-flake8-todo/APKBUILD')
-rw-r--r--testing/py3-flake8-todo/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/testing/py3-flake8-todo/APKBUILD b/testing/py3-flake8-todo/APKBUILD
index bdde025595..aee1a74000 100644
--- a/testing/py3-flake8-todo/APKBUILD
+++ b/testing/py3-flake8-todo/APKBUILD
@@ -1,28 +1,27 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flake8-todo
+pkgname=py3-flake8-todo
_pkgname=flake8-todo
pkgver=0.6
-pkgrel=2
+pkgrel=3
pkgdesc="TODO notes checker plugin for flake8"
url="https://github.com/schlamar/flake8-todo"
arch="noarch"
license="MIT"
depends="flake8"
-makedepends="python3-dev"
+makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
+replaces="py-flake8-todo" # Backwards compatibility
+provides="py-flake8-todo=$pkgver-r$pkgrel" # Backwards compatibility
+
build() {
- cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="e43766af016e8bc502903ba37c2bab5a flake8-todo-0.6.tar.gz"
-sha256sums="974ad0de9212fa9f38bc5136ca6cb491b5736ef3b3d1df6fbaec7eea22d553e1 flake8-todo-0.6.tar.gz"
sha512sums="6988a41f5fc05d0cbd14617681c1002d466c33b3e3e5ce5bc8500f66457015e6538c083163cd4f6c1b4d5954e123e4de1c0caaec539053df6fc9be58d358bfa0 flake8-todo-0.6.tar.gz"