# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-newt_syrup
_realname=newt-syrup
pkgver=0.2.0
pkgrel=1
pkgdesc="Newt Syrup is an app framework built on top of Newt"
url="http://newt-syrup.fedorahosted.org/"
arch="noarch"
license="LGPL-2.0-or-later"
depends="py-newt"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://mcpierce.fedorapeople.org/sources/newt_syrup-$pkgver.tar.gz"

builddir="$srcdir"/${_realname}-RELEASE-$pkgver

builddir="$srcdir"/newt_syrup-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="5707d1a33fd234c3684aad4f3ec4d448  newt_syrup-0.2.0.tar.gz"
sha256sums="27f34eaa54540adee5cdda95bd97d2af75a7eddcc303b4c73f36917f79e157e9  newt_syrup-0.2.0.tar.gz"
sha512sums="9b6b1807585d58aaeca0d4783b3d2d643cdf8779acb5352b24128a59ed151f917ecf91d3f1da1d42f10350e8afed13d878e713329154a94a95c181733f393006  newt_syrup-0.2.0.tar.gz"
