aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-bottle
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-05 08:52:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-22 08:23:14 +0000
commit2a5e2331253a6e5e0ec18d04c3bf74bf3fac9f0d (patch)
tree356abdcf3f50ab7081cb38fd05a0bcd604d7b64e /testing/py-bottle
parent9ee5b76b009d27eeffe48fb9ae6e4df9837dcf51 (diff)
downloadaports-2a5e2331253a6e5e0ec18d04c3bf74bf3fac9f0d.tar.bz2
aports-2a5e2331253a6e5e0ec18d04c3bf74bf3fac9f0d.tar.xz
Revert "testing/py-bottle: duplicate"
Diffstat (limited to 'testing/py-bottle')
-rw-r--r--testing/py-bottle/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/py-bottle/APKBUILD b/testing/py-bottle/APKBUILD
new file mode 100644
index 0000000000..d299e629bb
--- /dev/null
+++ b/testing/py-bottle/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Paul Kilar <pkilar@gmail.com>
+# Maintainer: Paul Kilar <pkilar@gmail.com>
+pkgname=py-bottle
+pkgver='0.11.6'
+pkgrel=0
+pkgdesc="Bottle is a fast, simple and lightweight WSGI micro web-framework for Python."
+url="http://bottlepy.org/"
+arch="noarch"
+license="MIT"
+depends="python"
+depends_dev=""
+makedepends=""
+install=""
+subpackages=""
+source="https://pypi.python.org/packages/source/b/bottle/bottle-$pkgver.tar.gz"
+_builddir="$srcdir"/bottle-$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="0bafdc4e13ea2b1a3bddf36b5af108c4 bottle-0.11.6.tar.gz"
+sha256sums="2e63802cbe6a21537e35d92ec3c80a1e302dc619d169efe6a212cab9f48e7b29 bottle-0.11.6.tar.gz"
+sha512sums="511748cee1694db9ec04f5f49cf5d44d273f6424733532d4558acc546b4a44a1462433ca9483bf59235b48318b20289e9ae8f8c5d1dc4379da4a86c03848f922 bottle-0.11.6.tar.gz"