diff --git a/srcpkgs/python-cssutils/template b/srcpkgs/python-cssutils/template new file mode 100644 index 0000000000..08b223fb05 --- /dev/null +++ b/srcpkgs/python-cssutils/template @@ -0,0 +1,27 @@ +# Template file for 'python-cssutils' +pkgname="python-cssutils" +version=1.0 +revision=1 +wrksrc="cssutils-${version}" +noarch=yes +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools unzip" +depends="python" +pycompile_module="cssutils" +short_desc="A CSS Cascading Style Sheets library for Python2" +maintainer="Farhad Shahbazi " +license="LGPL-3" +homepage="http://pypi.python.org/pypi/cssutils" +distfiles="${PYPI_SITE}/c/cssutils/cssutils-${version}.zip" +checksum=4504762f5d8800b98fa713749c00acfef8419826568f9363c490e45146a891af + +python3.4-cssutils_package() { + pycompile_version="3.4" + pycompile_module="cssutils" + depends="python3.4" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-cssutils b/srcpkgs/python3.4-cssutils new file mode 120000 index 0000000000..137f7b229a --- /dev/null +++ b/srcpkgs/python3.4-cssutils @@ -0,0 +1 @@ +python-cssutils \ No newline at end of file