python-WTForms: update to 2.2. (#14937)

This commit is contained in:
maxice8 2018-06-09 15:28:09 -03:00 committed by Alessio Sergi
parent 17a227f5e1
commit 8189a62a8a

View file

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