mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 18:52:30 +01:00
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-flake8-docstrings
|
|
_pkgname=flake8-docstrings
|
|
pkgver=1.0.2
|
|
pkgrel=1
|
|
pkgdesc="Extension for flake8 which uses pep257 to check docstrings"
|
|
url="https://bitbucket.org/icordasc/flake8-docstrings"
|
|
arch="noarch"
|
|
license="MIT"
|
|
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"
|
|
python3 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="09f3d6fd3aac13cd3a750af89ee88800 flake8-docstrings-1.0.2.tar.gz"
|
|
sha256sums="65860ba7ccbe29b339eae985d6a4f794b074f66c7bd9f858d78838e263a54596 flake8-docstrings-1.0.2.tar.gz"
|
|
sha512sums="dfd55f71f34013edcc24f87a15833c7c11fad60c0063201b74dce7c5be7f503ed9d7dc6316d5a42666ba74236555c3498c723b0c4e8e02b922db736a39b7dfc3 flake8-docstrings-1.0.2.tar.gz"
|