aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-twiggy
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-31 20:47:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-20 10:27:27 +0000
commitd4e9ef6e72baa24132fe165dbefbf0166c786740 (patch)
treece5e036a608108accf3df9ccc85d4737c0246c53 /testing/py-twiggy
parenta468d32f617cdd8f28d07dddf8779d8008472ab2 (diff)
downloadaports-d4e9ef6e72baa24132fe165dbefbf0166c786740.tar.bz2
aports-d4e9ef6e72baa24132fe165dbefbf0166c786740.tar.xz
testing/py-twiggy: new aport
A Pythonic logger http://twiggy.wearpants.org
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"