aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-twiggy/APKBUILD
blob: 36c69cfdf5a45644edb4caca9cb5b0cc27449f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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"