aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-docstrings/APKBUILD
blob: 3c91a276339a2518909ea39f740ed27b4c5ddbd6 (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
# 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=2
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"