mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 06:22:37 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# 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"
|