From 98b8740ff0f2f442606e108aadb23096735b22b5 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Mon, 20 Jul 2015 23:03:20 -0500 Subject: main/pyflakes: move from testing --- main/pyflakes/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 main/pyflakes/APKBUILD (limited to 'main') 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 +# Maintainer: Fabian Affolter +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" -- cgit v1.2.3