blob: fac50a1524b4a48800352e63fff6d5dc6a0bc017 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Paul Kilar <pkilar@gmail.com>
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=py-bottle
_pkgname=bottle
pkgver=0.12.8
pkgrel=0
pkgdesc="A fast, simple and lightweight WSGI micro web-framework"
url="http://bottlepy.org/"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends=""
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="13132c0a8f607bf860810a6ee9064c5b bottle-0.12.8.tar.gz"
sha256sums="cd5d1755a85e533205ed8a2465badf38602227c5f171c3852e07724b28c050ac bottle-0.12.8.tar.gz"
sha512sums="85fbdac6f7ae804a74bc527bb47bcdb5cf653a0227efe36e81e25513b687dd4abc1f772ff7232bd914cb392dea07297154d80aa05b1216c1f796dbed0d5a9510 bottle-0.12.8.tar.gz"
|