From bdb0a1ff05134687a397051ddb50930192fc65e8 Mon Sep 17 00:00:00 2001 From: Farhad Shahbazi Date: Wed, 15 Apr 2015 20:04:46 +0200 Subject: [PATCH] New package: python-cssutils-1.0 --- srcpkgs/python-cssutils/template | 27 +++++++++++++++++++++++++++ srcpkgs/python3.4-cssutils | 1 + 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/python-cssutils/template create mode 120000 srcpkgs/python3.4-cssutils 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