# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-frosted _pkgname=frosted pkgver=1.2.0 pkgrel=0 pkgdesc="A passive Python syntax checker" url="https://github.com/timothycrosley/frosted" arch="noarch" license="MIT" depends="python py-pies" depends_dev="" makedepends="python2-dev" install="" subpackages="" source="https://files.pythonhosted.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="65e2d54bfb211b9ab01ccefae2d88b46 frosted-1.2.0.tar.gz" sha256sums="73f02ee2f95282fb62b2289060e1a0705de276df8ee11f7824da0f66f83037cc frosted-1.2.0.tar.gz" sha512sums="6b3921677638df42e9c78a9874525f0f21d35220b3f532141b944a554b35afa427b43f6c1b93276ac71574e43f231f3b1745a4be8000cbaaad6a17f433910a00 frosted-1.2.0.tar.gz"