1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/py3-livereload/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

32 lines
1 KiB
Text

# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-livereload
_pyname=livereload
pkgver=2.6.3
pkgrel=3
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 --skip-build --root="$pkgdir"
}
sha512sums="ccccb17cb4d835eb9e812f8076f871164f6afb2fdc1aee9e35c5ef2d75be2c0403cee51d4eb30b029d7b35522f357ee8c3e9df926fd93511ba7d010ed2a69e8e py3-livereload-2.6.3.tar.gz"