diff options
Diffstat (limited to 'testing/py-logbook')
-rw-r--r-- | testing/py-logbook/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/py-logbook/APKBUILD b/testing/py-logbook/APKBUILD new file mode 100644 index 0000000000..d1ebb5cf3f --- /dev/null +++ b/testing/py-logbook/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=py-logbook +pkgver=0.6.0 +pkgrel=0 +pkgdesc="A logging replacement for Python" +url="https://pypi.python.org/pypi/Logbook" +arch="noarch" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev python py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/L/Logbook/Logbook-$pkgver.tar.gz" + +_builddir="$srcdir"/Logbook-$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="2c77da3adeafd191bb8071cc5ad447bf Logbook-0.6.0.tar.gz" +sha256sums="e6391281a8a4c34b0758e65d72f3d5d990e4cfdb326336fc0a526bcacb8f10d6 Logbook-0.6.0.tar.gz" +sha512sums="41a939558976f51f1e82d2f1cf09a053eebd32ed45d76eb198d465bffe26011101e9a183dac03df34493e3ac81cd1218f8bb623dc97dd54e3c0cfc5d91fffdaa Logbook-0.6.0.tar.gz" |