mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# 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"
|