# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=py-newt_syrup _realname=newt-syrup pkgver=0.2.0 pkgrel=0 pkgdesc="Newt Syrup is an app framework built on top of Newt" url="http://newt-syrup.fedorahosted.org/" arch="noarch" license="LGPLv2+" depends="" depends_dev="" makedepends="python-dev py-setuptools" install="" subpackages="" source="saveas-https://github.com/mcpierce/newt-syrup/archive/RELEASE-0.2.0.tar.gz/${pkgname}-${pkgver}.tar.gz" _builddir="$srcdir"/${_realname}-RELEASE-$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="7f41378272a8aeea64dbb99e5c4d3ef0 py-newt_syrup-0.2.0.tar.gz" sha256sums="5c92b37984186ce16d036c978564810430bc39209acae85010ca2c7dc0143ef9 py-newt_syrup-0.2.0.tar.gz" sha512sums="ea1573a35cb097a7ff0ae1326eaedef37fbfe4af8e5b7bf17e17f785ae35823797cde570f366eb8168f81e520ef75d209a15b6c9192fe2e92294d76f312016fa py-newt_syrup-0.2.0.tar.gz"