diff --git a/srcpkgs/python-Flask-WTF/template b/srcpkgs/python-Flask-WTF/template index d00f9d11516..d47535b4d44 100644 --- a/srcpkgs/python-Flask-WTF/template +++ b/srcpkgs/python-Flask-WTF/template @@ -1,13 +1,12 @@ # Template file for 'python-Flask-WTF' pkgname=python-Flask-WTF version=0.13.1 -revision=1 +revision=2 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" +hostmakedepends="python-setuptools python3-setuptools" depends="python-Flask python-WTForms" short_desc="Simple integration of Flask and WTForms (Python2)" maintainer="Eivind Uggedal " @@ -20,14 +19,20 @@ post_install() { vlicense LICENSE } -python3.4-Flask-WTF_package() { +python3-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}" + replaces="python3.4-Flask-WTF>=0" + depends="python3-Flask python3-WTForms" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense LICENSE } } +python3.4-Flask-WTF_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-Flask-WTF>=${version}_${revision}" +} diff --git a/srcpkgs/python3-Flask-WTF b/srcpkgs/python3-Flask-WTF new file mode 120000 index 00000000000..d9346f045fd --- /dev/null +++ b/srcpkgs/python3-Flask-WTF @@ -0,0 +1 @@ +python-Flask-WTF \ No newline at end of file