aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-01 13:48:19 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-01 14:03:40 +0200
commitac8a0b2745ff3ea19d924b3c3ec91182dcf6a702 (patch)
tree16fb8c97235806887168252572eda64f8082d14d /testing
parent7bab5142ee01178cdc6e5ef25a7dce48a8f68488 (diff)
downloadaports-ac8a0b2745ff3ea19d924b3c3ec91182dcf6a702.tar.bz2
aports-ac8a0b2745ff3ea19d924b3c3ec91182dcf6a702.tar.xz
testing/py-livereload: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py-livereload/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-livereload/APKBUILD b/testing/py-livereload/APKBUILD
new file mode 100644
index 0000000000..a159dd6451
--- /dev/null
+++ b/testing/py-livereload/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-livereload
+pkgver=2.4.0
+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="2ffeb87a910c22c5913b7962b093e5c8 python-livereload-2.4.0.tar.gz"
+sha256sums="a3f162357d886710a317f6f8c0595ac1db176bd9db171f0ca751c4954c29b5e2 python-livereload-2.4.0.tar.gz"
+sha512sums="9b961ed41224359e986873973840fae43387af1b773328ab1262d095879aeff98090d736d696abdfcd9b2f1c127a061a29d044df7cfa15ba218b0162576093a3 python-livereload-2.4.0.tar.gz"