blob: 13a52303e3ff6dbbbd5424f49e8ee1c3eeb88b57 (
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
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-docstrings
_pkgname=flake8-docstrings
pkgver=0.2.0
pkgrel=0
pkgdesc="Extension for flake8 which uses pep257 to check docstrings"
url="https://bitbucket.org/icordasc/flake8-docstrings"
arch="noarch"
license="MIT"
depends="python py-flake8"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="a8ee13b2bffe9b107cbc6b4d927a693b flake8-docstrings-0.2.0.tar.gz"
sha256sums="b8a8a00ed5f4bb4fe194c0a79e4ec621f93f46a54f41ad3d79611d5a6f69b565 flake8-docstrings-0.2.0.tar.gz"
sha512sums="488a2095d4ef7ee0f52703b581e4a8d48b61a56b7be6f93a6945484e1d671e95ac38f80932ed738ce6eac16201ee7a96de0fc0109492f828ffc5b065dd22f2b4 flake8-docstrings-0.2.0.tar.gz"
|