aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-debugger/APKBUILD
blob: 721b002039ee7443af00469b1087f25ce24dfb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-debugger
_pkgname=flake8-debugger
pkgver=3.1.0
pkgrel=0
pkgdesc="Extension for flake8 which lint for ipdb/pdb statements"
# AttributeError: 'DebuggerTestStyleGuide' object has no attribute 'max_doc_length'
options="!check"
url="https://github.com/jbkahn/flake8-debugger"
arch="noarch"
license="MIT"
depends="py3-flake8"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/JBKahn/flake8-debugger/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-flake8-debugger" # Backwards compatibility
provides="py-flake8-debugger=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="487864ba8b717978e91fb9b76dc43b14e4c0efa322a6a032c9592d65da9f6eb87e624ec05a731263dd63560ab8508d4f0e05b86e83c3d101ae34638719abdbb7  py3-flake8-debugger-3.1.0.tar.gz"