30 lines
808 B
Bash
30 lines
808 B
Bash
# Template file for 'python-Flask-WTF'
|
|
pkgname=python-Flask-WTF
|
|
version=0.14.3
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-Flask python-WTForms"
|
|
short_desc="Simple integration of Flask and WTForms (Python2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/lepture/flask-wtf"
|
|
distfiles="${PYPI_SITE}/F/Flask-WTF/Flask-WTF-${version}.tar.gz"
|
|
checksum=d417e3a0008b5ba583da1763e4db0f55a1269d9dd91dcc3eb3c026d3c5dbd720
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-Flask-WTF_package() {
|
|
archs=noarch
|
|
depends="python3-Flask python3-WTForms"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|