aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-twiggy
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-twiggy')
-rw-r--r--testing/py-twiggy/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-twiggy/APKBUILD b/testing/py-twiggy/APKBUILD
new file mode 100644
index 0000000000..01693fbc65
--- /dev/null
+++ b/testing/py-twiggy/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-twiggy
+_pkgname=Twiggy
+pkgver=0.4.5
+pkgrel=0
+pkgdesc="A Pythonic logger"
+url="http://twiggy.wearpants.org"
+arch="noarch"
+license="BSD"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$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="b0dfbbb7f56342e448af4d22a47a339c Twiggy-0.4.5.tar.gz"
+sha256sums="4e8f1894e5aee522db6cb245ccbfde3c5d1aa08d31330c7e3af783b0e66eec23 Twiggy-0.4.5.tar.gz"
+sha512sums="72855bc3a9b25ba95787558b29565b6cf131a5eed5238062ee885d35e0e27a89b802083304a320a6638a96e0c0932c2c43ed4dea31dbc92492037d9ec56f45fd Twiggy-0.4.5.tar.gz"