mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 08:55:20 +02:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-livereload
|
|
_pyname=livereload
|
|
pkgver=2.7.0
|
|
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 py3-gpep517 py3-wheel"
|
|
checkdepends="py3-nose"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/lepture/python-$_pyname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir"/python-$_pyname-$pkgver
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
# Upstream knows about it, does not know how to fix yet
|
|
NOSE_EXCLUDE=test_watch_multiple_dirs python3 -m nose
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
676f50b9300e1582177493cef24f4e2b10a4e385d0de780bf9161dee66e3063420338021464477c8079bffd0e4690a4b0d15c71025ebf1959addbaa6e69fa8bb py3-livereload-2.7.0.tar.gz
|
|
"
|