# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-flake8-docstrings _pkgname=flake8-docstrings pkgver=0.1.4 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="83e7e78e4cc44ec4eef5440ca4de5871 flake8-docstrings-0.1.4.tar.gz" sha256sums="f2569b682735811e1592b539f1fcc141f3ae44f3c9e3a9401542537959887b68 flake8-docstrings-0.1.4.tar.gz" sha512sums="98c0fb9b4eb9c823a363bbb56a76bf3103a52ecd8eeeb6aed3d3497bd9480e67308b918256aca998ec81f47ee84517b8f9e567ec96889e4903ce0252de318787 flake8-docstrings-0.1.4.tar.gz"