aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-livereload/APKBUILD
blob: 0f627cc27d4a15b551aabf6632cfa8ac71ae8729 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-livereload
_pyname=livereload
pkgver=2.6.3
pkgrel=0
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"
checkdepends="py3-nose"
source="$pkgname-$pkgver.tar.gz::https://github.com/lepture/python-$_pyname/archive/$pkgver.tar.gz"
builddir="$srcdir"/python-$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	# Upstream knows about it, does not know how to fix yet
	NOSE_EXCLUDE=test_watch_multiple_dirs nosetests -s
}

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

sha512sums="ccccb17cb4d835eb9e812f8076f871164f6afb2fdc1aee9e35c5ef2d75be2c0403cee51d4eb30b029d7b35522f357ee8c3e9df926fd93511ba7d010ed2a69e8e  py3-livereload-2.6.3.tar.gz"