void-packages/srcpkgs/python-Flask/template

29 lines
995 B
Bash

# Template file for 'python-Flask'
pkgname=python-Flask
version=0.10.1
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="flask"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python python-Jinja2>=2.4 python-Werkzeug>=0.7 python-itsdangerous>=0.21"
short_desc="A microframework based on Werkzeug, Jinja2 and good intentions"
maintainer="Markus Berger <pulux@pf4sh.de>"
homepage="http://flask.pocoo.org"
license="BSD"
distfiles="${PYPI_SITE}/F/Flask/Flask-${version}.tar.gz"
checksum=4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373
python3.4-Flask_package() {
noarch=yes
depends="python3.4 python3.4-Jinja2>=2.4 python3.4-Werkzeug>=0.7 python3.4-itsdangerous>=0.21"
pycompile_version="3.4"
pycompile_module="flask"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}