void-packages/srcpkgs/python-bottle/template
Aluísio Augusto Silva Gonçalves 36c6081b23 New package: python-bottle-0.12.16
2019-02-13 20:00:21 +01:00

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
}
}