# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-twiggy
_pkgname=Twiggy
pkgver=0.4.7
pkgrel=0
pkgdesc="A Pythonic logger"
url="http://twiggy.wearpants.org"
arch="noarch"
license="BSD"
depends="python2"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

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

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

sha512sums="5a0ccff78141a7fc122d5ad52c42b1520a6cd66fa6f64acc8c558b84a84374d9f50d05c15db44f36c7f037a1e67e9632df074dbaa97ad314b38aa034303879fa  Twiggy-0.4.7.tar.gz"
