diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-05 21:02:55 +0000 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-08 14:35:47 +0200 |
commit | e8caf8f1dbe803ffddfc43e9b8811002d7e1aaa2 (patch) | |
tree | 6e21b7c93d2d6abf06e35a8a00ec84950b854ebd /testing/py-flake8-immediate/APKBUILD | |
parent | 902a57877c769fc8a04a3ba18952a66b913da728 (diff) | |
download | aports-e8caf8f1dbe803ffddfc43e9b8811002d7e1aaa2.tar.bz2 aports-e8caf8f1dbe803ffddfc43e9b8811002d7e1aaa2.tar.xz |
testing/py-flake8-immediate: new aport
Enables immediate output for flake8
https://github.com/schlamar/flake8-immediate
Diffstat (limited to 'testing/py-flake8-immediate/APKBUILD')
-rw-r--r-- | testing/py-flake8-immediate/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flake8-immediate/APKBUILD b/testing/py-flake8-immediate/APKBUILD new file mode 100644 index 000000000..48379c0df --- /dev/null +++ b/testing/py-flake8-immediate/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-flake8-immediate +_pkgname=flake8-immediate +pkgver=0.2 +pkgrel=0 +pkgdesc="Enables immediate output for flake8" +url="https://github.com/schlamar/flake8-immediate" +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.zip" + +_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="fb231c8a1e938046c55be0590c5e1849 flake8-immediate-0.2.zip" +sha256sums="edfaae46f0254fb87f6bf247fafde4379ecade0d8efc6a6fb5dbc6371fcbb7bc flake8-immediate-0.2.zip" +sha512sums="51403249731028373af129fd4451f62d90266003ab702bfa8ce925460c7136f3ac35aedd434303c07932147d2ddbeb0e0a5345838ecb1515ff74268575a561f0 flake8-immediate-0.2.zip" |