diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-07-20 23:03:20 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-21 06:10:50 +0000 |
commit | 98b8740ff0f2f442606e108aadb23096735b22b5 (patch) | |
tree | 51e1801d0b94a9c163d17ba0f16746809f177821 /main | |
parent | 7d96e5d809b529d5cda94f4ed2f4b74777bd1275 (diff) | |
download | aports-98b8740ff0f2f442606e108aadb23096735b22b5.tar.bz2 aports-98b8740ff0f2f442606e108aadb23096735b22b5.tar.xz |
main/pyflakes: move from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/pyflakes/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/pyflakes/APKBUILD b/main/pyflakes/APKBUILD new file mode 100644 index 0000000000..cb53407331 --- /dev/null +++ b/main/pyflakes/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=pyflakes +pkgver=0.8.1 +pkgrel=0 +pkgdesc="A passive checker of Python programs" +url="https://launchpad.net/pyflakes" +arch="noarch" +license="MIT" +depends="python" +depends_dev="" +makedepends="python-dev" +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="905fe91ad14b912807e8fdc2ac2e2c23 pyflakes-0.8.1.tar.gz" +sha256sums="3fa80a10b36d51686bf7744f5dc99622cd5c98ce8ed64022e629868aafc17769 pyflakes-0.8.1.tar.gz" +sha512sums="b9843637891f3e82a8430121395ceb4ec5df48b5ba73b96a307ebcb4a393e8cebee1681e094ee1f71a85b58bd2f32562b78fbd61d3fa85634f3ac448b1244637 pyflakes-0.8.1.tar.gz" |