New package: python-Flask-WTF-0.12

This commit is contained in:
Eivind Uggedal 2015-08-03 17:29:18 +00:00
parent ae628b0381
commit 7fe07d2d0b
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Template file for 'python-Flask-WTF'
pkgname=python-Flask-WTF
version=0.12
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="flask_wtf"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-Flask python-WTForms"
short_desc="Simple integration of Flask and WTForms (Python2)"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="https://github.com/lepture/flask-wtf"
distfiles="${PYPI_SITE}/F/Flask-WTF/Flask-WTF-${version}.tar.gz"
checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb
post_install() {
vlicense LICENSE
}
python3.4-Flask-WTF_package() {
noarch=yes
depends="python3.4-Flask python3.4-WTForms"
pycompile_version="3.4"
pycompile_module="flask_wtf"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}

1
srcpkgs/python3.4-Flask-WTF Symbolic link
View file

@ -0,0 +1 @@
python-Flask-WTF