python-Flask-Login: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:25:40 +07:00
parent 39744c1094
commit bf4696c88c
3 changed files with 18 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# 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
}
}

View File

@ -1 +0,0 @@
python-Flask-Login

View File

@ -0,0 +1,18 @@
# Template file for 'python3-Flask-Login'
pkgname=python3-Flask-Login
version=0.5.0
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Flask"
short_desc="User session management for Flask (Python3)"
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
}