2018-06-09 20:28:09 +02:00

33 lines
903 B
Bash

# Template file for 'python-WTForms'
pkgname=python-WTForms
version=2.2
revision=1
noarch=yes
wrksrc="WTForms-${version}"
build_style=python-module
pycompile_module="wtforms"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Forms validation and rendering library for Python2"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD-3-Clause"
homepage="http://wtforms.simplecodes.com/"
#changelog="https://raw.githubusercontent.com/wtforms/wtforms/master/CHANGES.rst"
distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.tar.gz"
checksum=49c6dc46a188db98be7582046db35bae3e4701b71a2e8f4212873289cd51553a
post_install() {
vlicense LICENSE.rst LICENSE
}
python3-WTForms_package() {
noarch=yes
depends="python3"
pycompile_module="wtforms"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst LICENSE
}
}