mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 19:31:10 +02:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py-livereload
|
|
pkgver=2.6.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
|
|
}
|
|
|
|
sha512sums="351fa56c64a3bea7c43e1a60c3633bcb80a6093aaadaa73e8f0bc6a27f939c52f272d60922e5d1d956834b7cff16b8c7ee702cbc85473e554629a38efaef9993 python-livereload-2.6.0.tar.gz"
|