diff --git a/srcpkgs/python-Flask-Login/template b/srcpkgs/python-Flask-Login/template new file mode 100644 index 00000000000..10f8b6be6d7 --- /dev/null +++ b/srcpkgs/python-Flask-Login/template @@ -0,0 +1,33 @@ +# Template file for 'python-Flask-Login' +pkgname=python-Flask-Login +version=0.3.1 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="flask_login.py" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-Flask" +short_desc="User session management for Flask (Python2)" +maintainer="pulux " +license="MIT" +homepage="https://github.com/maxcountryman/flask-login" +distfiles="${PYPI_SITE}/F/Flask-Login/Flask-Login-${version}.tar.gz" +checksum=d81d71894c104398743535d80560d3b7cbe33613f050b0c860d43938c856222f + +post_install() { + vlicense LICENSE +} + +python3.4-Flask-Login_package() { + noarch=yes + depends="python3.4-Flask" + pycompile_version="3.4" + pycompile_module="flask_login.py" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-Flask-Login b/srcpkgs/python3.4-Flask-Login new file mode 120000 index 00000000000..aacc1d0c164 --- /dev/null +++ b/srcpkgs/python3.4-Flask-Login @@ -0,0 +1 @@ +python-Flask-Login \ No newline at end of file