blob: 805f3eaca18b84adc1e3858b7c7935b7ce2e98f4 (
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: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-livereload
pkgver=2.5.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"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="06fdff344716f837abbe4b24d46db381 python-livereload-2.5.0.tar.gz"
sha256sums="79eca97371dd7d565f81372889f27d4f71a5efaba7f973e7e160c5556ee86be8 python-livereload-2.5.0.tar.gz"
sha512sums="7859d0b5f7419212926426b3b208fda56d47ca5dfd545b5d79dac5c8f65d7aaf6cc13975341a0d29429dc5756233c4a5adb168290e676ed8472e0c4888d0cfd4 python-livereload-2.5.0.tar.gz"
|