diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-11-08 23:12:42 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-27 10:25:27 +0200 |
commit | 62818dd589ffdae55a53974b5f6e02763022df01 (patch) | |
tree | 111a38c3a443a26b8c159c05b1a0da59c72cf6e7 /testing | |
parent | 99e498506ce16c4ecea70900c6ecb67e4539187e (diff) | |
download | aports-62818dd589ffdae55a53974b5f6e02763022df01.tar.bz2 aports-62818dd589ffdae55a53974b5f6e02763022df01.tar.xz |
testing/py-flake8-builtins: new aport
Extension for flake8 to check for builtins
https://github.com/gforcada/flake8-builtins
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-flake8-builtins/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py-flake8-builtins/APKBUILD b/testing/py-flake8-builtins/APKBUILD new file mode 100644 index 0000000000..6538809a86 --- /dev/null +++ b/testing/py-flake8-builtins/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-flake8-builtins +_pkgname=flake8-builtins +pkgver=0.2 +pkgrel=0 +pkgdesc="Extension for flake8 to check for builtins" +url="https://github.com/gforcada/flake8-builtins" +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="c05026a3a2b773fb29af4d482196c57a flake8-builtins-0.2.tar.gz" +sha256sums="d426403d6c73e19af6e9f720da8329809ccd454d046872e674c3b2bd0ac9666b flake8-builtins-0.2.tar.gz" +sha512sums="cde2f4d5e5b0076d6dc267df7a35ed84c3dda2012056072415ea8b67536b4569d6d1182e8ffb0a5f62afdaf6b34fa082bfdc7b48b6aa7aa6df950bb6c7d5e3dd flake8-builtins-0.2.tar.gz" |