# Contributor: Carlo Landmeter # Maintainer: Francesco Colista setvar pkgname = 'py-livereload' setvar pkgver = '2.5.1' setvar pkgrel = '0' setvar pkgdesc = ""livereload server in python"" setvar url = ""https://github.com/lepture/python-livereload"" setvar arch = ""noarch"" setvar license = ""BSD"" setvar depends = """" setvar depends_dev = """" setvar makedepends = ""$depends_dev py-setuptools"" setvar install = """" setvar subpackages = """" setvar source = ""python-livereload-$pkgver.tar.gz::https://github.com/lepture/python-livereload/archive/v$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/python-livereload-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir python2 setup.py build || return 1 } proc package { cd $_builddir python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setvar md5sums = ""19746eacb95c2cbae868764e726c7e8e python-livereload-2.5.1.tar.gz"" setvar sha256sums = ""b90a47fb761a6c4a770454ccf1cf03d0351a415ff04bf87bc8a531f945cbc8ab python-livereload-2.5.1.tar.gz"" setvar sha512sums = ""018195932d3c1366bbf6a9bface5d05818c42d020806453c6942901ad645616416c3bdbf48222c8a31664360b94f03696fd3a5ca9c9cfb7673de005d3540f330 python-livereload-2.5.1.tar.gz""