30 lines
788 B
Bash
30 lines
788 B
Bash
# Template file for 'python-bottle'
|
|
pkgname=python-bottle
|
|
version=0.12.16
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="bottle-${version}"
|
|
build_style=python-module
|
|
pycompile_module="bottle"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
short_desc="Fast and simple WSGI-framework for small web-applications (Python2)"
|
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
|
license="MIT"
|
|
homepage="http://bottlepy.org"
|
|
distfiles="https://github.com/bottlepy/bottle/archive/${version}.tar.gz"
|
|
checksum=@71fc9dbf5159e2f37ae4a79dfa816538cb8ed7a6908f09e1086160055a2d0225
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-bottle_package() {
|
|
noarch=yes
|
|
pycompile_module="bottle"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
vlicense LICENSE
|
|
}
|
|
}
|