python-WTForms: update to 2.2. (#14937)
This commit is contained in:
parent
17a227f5e1
commit
8189a62a8a
1 changed files with 10 additions and 9 deletions
|
@ -1,22 +1,23 @@
|
|||
# Template file for 'python-WTForms'
|
||||
pkgname=python-WTForms
|
||||
version=2.1
|
||||
revision=3
|
||||
version=2.2
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
wrksrc="WTForms-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="wtforms"
|
||||
hostmakedepends="python-setuptools python3-setuptools unzip"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Forms validation and rendering library for Python2"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
license="BSD"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://wtforms.simplecodes.com/"
|
||||
distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.zip"
|
||||
checksum=ffdf10bd1fa565b8233380cb77a304cd36fd55c73023e91d4b803c96bc11d46f
|
||||
#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.txt LICENSE
|
||||
vlicense LICENSE.rst LICENSE
|
||||
}
|
||||
|
||||
python3-WTForms_package() {
|
||||
|
@ -26,6 +27,6 @@ python3-WTForms_package() {
|
|||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt LICENSE
|
||||
vlicense LICENSE.rst LICENSE
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue