From ae628b0381aeaa365ce82f287a5253b1b0c90292 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Mon, 3 Aug 2015 17:25:25 +0000 Subject: [PATCH] New package: python-WTForms-2.0.2 --- srcpkgs/python-WTForms/template | 33 +++++++++++++++++++++++++++++++++ srcpkgs/python3.4-WTForms | 1 + 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/python-WTForms/template create mode 120000 srcpkgs/python3.4-WTForms diff --git a/srcpkgs/python-WTForms/template b/srcpkgs/python-WTForms/template new file mode 100644 index 0000000000..ac80cf25f6 --- /dev/null +++ b/srcpkgs/python-WTForms/template @@ -0,0 +1,33 @@ +# Template file for 'python-WTForms' +pkgname=python-WTForms +version=2.0.2 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="wtforms" +hostmakedepends="python-setuptools python3.4-setuptools unzip" +depends="python" +short_desc="Forms validation and rendering library for Python2" +maintainer="Eivind Uggedal " +license="BSD" +homepage="http://wtforms.simplecodes.com/" +distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.zip" +checksum=10737758ceae03b53021f3aa7e81bfc8dd6f679c879ffeb5e64ac6570facb6c1 + +post_install() { + vlicense LICENSE.txt LICENSE +} + +python3.4-WTForms_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="wtforms" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE.txt LICENSE + } +} diff --git a/srcpkgs/python3.4-WTForms b/srcpkgs/python3.4-WTForms new file mode 120000 index 0000000000..64195c4de2 --- /dev/null +++ b/srcpkgs/python3.4-WTForms @@ -0,0 +1 @@ +python-WTForms \ No newline at end of file