diff --git a/srcpkgs/python-Flask-WTF/template b/srcpkgs/python-Flask-WTF/template new file mode 100644 index 00000000000..94a6465a9ab --- /dev/null +++ b/srcpkgs/python-Flask-WTF/template @@ -0,0 +1,33 @@ +# Template file for 'python-Flask-WTF' +pkgname=python-Flask-WTF +version=0.12 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="flask_wtf" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-Flask python-WTForms" +short_desc="Simple integration of Flask and WTForms (Python2)" +maintainer="Eivind Uggedal " +license="BSD" +homepage="https://github.com/lepture/flask-wtf" +distfiles="${PYPI_SITE}/F/Flask-WTF/Flask-WTF-${version}.tar.gz" +checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb + +post_install() { + vlicense LICENSE +} + +python3.4-Flask-WTF_package() { + noarch=yes + depends="python3.4-Flask python3.4-WTForms" + pycompile_version="3.4" + pycompile_module="flask_wtf" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-Flask-WTF b/srcpkgs/python3.4-Flask-WTF new file mode 120000 index 00000000000..d9346f045fd --- /dev/null +++ b/srcpkgs/python3.4-Flask-WTF @@ -0,0 +1 @@ +python-Flask-WTF \ No newline at end of file