aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-livereload/APKBUILD
blob: a159dd645183b511e5d383311c88f5e1dc74f08a (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-livereload
pkgver=2.4.0
pkgrel=0
pkgdesc="livereload server in python"
url="https://github.com/lepture/python-livereload"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="python-livereload-$pkgver.tar.gz::https://github.com/lepture/python-livereload/archive/v$pkgver.tar.gz"

_builddir="$srcdir"/python-livereload-$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="2ffeb87a910c22c5913b7962b093e5c8  python-livereload-2.4.0.tar.gz"
sha256sums="a3f162357d886710a317f6f8c0595ac1db176bd9db171f0ca751c4954c29b5e2  python-livereload-2.4.0.tar.gz"
sha512sums="9b961ed41224359e986873973840fae43387af1b773328ab1262d095879aeff98090d736d696abdfcd9b2f1c127a061a29d044df7cfa15ba218b0162576093a3  python-livereload-2.4.0.tar.gz"