aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-08-30 17:50:38 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2020-08-31 07:01:42 +0000
commite42064021a440ca02e4ceee7132334b0c69e99e4 (patch)
treea3e840b45acb5778989065779e833255054c5ee1
parent41a63b1a9683fcb092f73decca0a947020787e81 (diff)
downloadaports-e42064021a440ca02e4ceee7132334b0c69e99e4.tar.gz
aports-e42064021a440ca02e4ceee7132334b0c69e99e4.tar.bz2
aports-e42064021a440ca02e4ceee7132334b0c69e99e4.tar.xz
community/py3-livereload: upgrade to 2.6.3
-rw-r--r--community/py3-livereload/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/py3-livereload/APKBUILD b/community/py3-livereload/APKBUILD
index 2fa33a30e8..03bdd2b073 100644
--- a/community/py3-livereload/APKBUILD
+++ b/community/py3-livereload/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-livereload
-_pkgname=livereload
-pkgver=2.6.2
+_pyname=livereload
+pkgver=2.6.3
pkgrel=0
pkgdesc="livereload server in python"
url="https://github.com/lepture/python-livereload"
@@ -12,17 +12,21 @@ 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
+checkdepends="py3-nose"
+source="$pkgname-$pkgver.tar.gz::https://github.com/lepture/python-$_pyname/archive/$pkgver.tar.gz"
+builddir="$srcdir"/python-$_pyname-$pkgver
build() {
- cd "$builddir"
- python3 setup.py 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() {
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="cb3daf132190d83d220cdf7cafe0081ed370618df50bde82fa00827796e6b146f8fb70897f8bf00bbeed6cabbd3b6a23727bebf18c0f542f772204f277b2ee9e livereload-2.6.2.tar.gz"
+sha512sums="ccccb17cb4d835eb9e812f8076f871164f6afb2fdc1aee9e35c5ef2d75be2c0403cee51d4eb30b029d7b35522f357ee8c3e9df926fd93511ba7d010ed2a69e8e py3-livereload-2.6.3.tar.gz"