void-packages/srcpkgs/python-Flask-Login/template
2020-04-25 11:13:08 +02:00

30 lines
770 B
Bash

# Template file for 'python-Flask-Login'
pkgname=python-Flask-Login
version=0.5.0
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-Flask"
short_desc="User session management for Flask (Python2)"
maintainer="pulux <pulux@pf4sh.de>"
license="MIT"
homepage="https://github.com/maxcountryman/flask-login"
distfiles="${PYPI_SITE}/F/Flask-Login/Flask-Login-${version}.tar.gz"
checksum=6d33aef15b5bcead780acc339464aae8a6e28f13c90d8b1cf9de8b549d1c0b4b
post_install() {
vlicense LICENSE
}
python3-Flask-Login_package() {
archs=noarch
depends="python3-Flask"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}