aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-livereload/APKBUILD
blob: c599b955c9f4664f52762f23386081e6c3ec7328 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-livereload
_pkgname=livereload
pkgver=2.6.1
pkgrel=1
pkgdesc="livereload server in python"
url="https://github.com/lepture/python-livereload"
arch="noarch"
license="BSD-3-Clause"
replaces="py-livereload" # for backwards compatibility
provides="py-livereload=$pkgver-r$pkgrel" # for backwards compatibility
depends="py3-six py3-tornado python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
        cd "$builddir"
        python3 setup.py build
}

package() {
        cd "$builddir"
        python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="77449618e687102123921015ca3c7a15bccefc5a193470c87eb358989fd3188ebc7f67c6cff02aa1215f6f22d89252a11386d564d554d2e280394f38a27774b6  livereload-2.6.1.tar.gz"