aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-frosted/APKBUILD
blob: 681110fe7a2c1d42451250ff6a0bbf7ea0eb1a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
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="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="65e2d54bfb211b9ab01ccefae2d88b46  frosted-1.2.0.tar.gz"
sha256sums="73f02ee2f95282fb62b2289060e1a0705de276df8ee11f7824da0f66f83037cc  frosted-1.2.0.tar.gz"
sha512sums="6b3921677638df42e9c78a9874525f0f21d35220b3f532141b944a554b35afa427b43f6c1b93276ac71574e43f231f3b1745a4be8000cbaaad6a17f433910a00  frosted-1.2.0.tar.gz"