void-packages/srcpkgs/python-WTForms/template

34 lines
881 B
Bash
Raw Normal View History

2015-08-03 19:25:25 +02:00
# Template file for 'python-WTForms'
pkgname=python-WTForms
2016-01-09 20:06:44 +01:00
version=2.1
2015-08-03 19:25:25 +02:00
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="wtforms"
hostmakedepends="python-setuptools python3.4-setuptools unzip"
depends="python"
short_desc="Forms validation and rendering library for Python2"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="http://wtforms.simplecodes.com/"
distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.zip"
2016-01-09 20:06:44 +01:00
checksum=ffdf10bd1fa565b8233380cb77a304cd36fd55c73023e91d4b803c96bc11d46f
2015-08-03 19:25:25 +02:00
post_install() {
vlicense LICENSE.txt LICENSE
}
python3.4-WTForms_package() {
2015-08-31 13:34:39 +02:00
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="wtforms"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
2015-08-03 19:25:25 +02:00
vlicense LICENSE.txt LICENSE
2015-08-31 13:34:39 +02:00
}
2015-08-03 19:25:25 +02:00
}