mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
30 lines
963 B
Plaintext
30 lines
963 B
Plaintext
# Contributor: Russ Webber <russ@rw.id.au>
|
|
# Maintainer: Russ Webber <russ@rw.id.au>
|
|
pkgname=py3-pydocstyle
|
|
_pkgname=pydocstyle
|
|
pkgver=5.1.1
|
|
pkgrel=2
|
|
pkgdesc="Static analysis tool for checking compliance with Python docstring conventions"
|
|
url="https://www.pydocstyle.org/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-snowballstemmer"
|
|
makedepends="py3-setuptools py3-pytest py3-mock py3-six"
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/PyCQA/$_pkgname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
# integration tests call pip which doesn't exist
|
|
PYTHONPATH="$builddir/build/lib" py.test --deselect src/tests/test_integration.py -vv src/tests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="70c7408dfa4c8e54a3abf0548a9af26a7ad7ee0bb76f3a41bf6f2297ce09c13c03ab5e066b1b15404ba6390ddfcacbc5e199d8b73ee74e3b184759d88c8b2a51 pydocstyle-5.1.1.tar.gz"
|