28 lines
805 B
Bash
28 lines
805 B
Bash
# 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 <grauwolf@geekosphere.org>"
|
|
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
|
|
}
|
|
}
|