diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-12 12:31:15 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-12 12:31:15 +0000 |
commit | a867f96b891b615548dd35f5c1b12644cf7c0186 (patch) | |
tree | 336fdeffa746fb59c5460496917cd5bbe8c937d4 /community | |
parent | dad480d3a9728e10555e8a6427fff525358bc980 (diff) | |
download | aports-a867f96b891b615548dd35f5c1b12644cf7c0186.tar.bz2 aports-a867f96b891b615548dd35f5c1b12644cf7c0186.tar.xz |
community/py-livereload: moved from testing, upgrade to 2.4.1
Diffstat (limited to 'community')
-rw-r--r-- | community/py-livereload/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/py-livereload/APKBUILD b/community/py-livereload/APKBUILD new file mode 100644 index 0000000000..b3a3e75c32 --- /dev/null +++ b/community/py-livereload/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=py-livereload +pkgver=2.4.1 +pkgrel=0 +pkgdesc="livereload server in python" +url="https://github.com/lepture/python-livereload" +arch="noarch" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev py-setuptools" +install="" +subpackages="" +source="python-livereload-$pkgver.tar.gz::https://github.com/lepture/python-livereload/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/python-livereload-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="d6125f3dce2ef000ca50b3121eb2de81 python-livereload-2.4.1.tar.gz" +sha256sums="8a29fe9c869181f8e1617c2e32d6a3bf896d7da20267dc682150e7c98d230b55 python-livereload-2.4.1.tar.gz" +sha512sums="9106fe1894092ab336270f539be41d4db2d277560a41898e45014e34783ab0b601c993a5a5831c951d313db98ea835aecc8eb31468ba186e243a28df75bfe9bb python-livereload-2.4.1.tar.gz" |