aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-docstrings
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-05 20:56:58 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-09-08 14:35:47 +0200
commit902a57877c769fc8a04a3ba18952a66b913da728 (patch)
treec2794d713b383bd5a7bc05d6cd0d0b5737abeb71 /testing/py-flake8-docstrings
parentaef2e521570ddc446241d42f453683dee7310339 (diff)
downloadaports-902a57877c769fc8a04a3ba18952a66b913da728.tar.bz2
aports-902a57877c769fc8a04a3ba18952a66b913da728.tar.xz
testing/py-flake8-docstrings: new aport
Extension for flake8 which uses pep257 to check docstrings https://bitbucket.org/icordasc/flake8-docstrings
Diffstat (limited to 'testing/py-flake8-docstrings')
-rw-r--r--testing/py-flake8-docstrings/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flake8-docstrings/APKBUILD b/testing/py-flake8-docstrings/APKBUILD
new file mode 100644
index 0000000000..6e697c8664
--- /dev/null
+++ b/testing/py-flake8-docstrings/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flake8-docstrings
+_pkgname=flake8-docstrings
+pkgver=0.1.2
+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="1d0087430b63e3c59b6bc64354596ad3 flake8-docstrings-0.1.2.tar.gz"
+sha256sums="03ed201557fd1729e0fa502aed8004a07acf0771cf738920bd052c771e68fb4d flake8-docstrings-0.1.2.tar.gz"
+sha512sums="ef77e5717563b121f29ba14535e8a4f35c11bfb018e45733fe687a07150c5b2e9fc7b00dcf6a52b12f6681b8ee29caae2f28e3e5b3c263f08be133842169c11e flake8-docstrings-0.1.2.tar.gz"