blob: ed212901db263c3c8894323679b019b8d3fa3596 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-cssutils
_pkgname=cssutils
pkgver=0.9.10
pkgrel=0
pkgdesc="A CSS Cascading Style Sheets library for Python"
url="http://cthedot.de/cssutils/"
arch="noarch"
license="LGPL3+"
depends=""
depends_dev="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/c/$_pkgname/$_pkgname-${pkgver}.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --root="${pkgdir}/" --optimize=1
}
md5sums="81b5c0294c54479a54548769eaa236f8 cssutils-0.9.10.zip"
sha256sums="2ea142fddf8aec9231fde5bc1184b282008f2ca35a7b483371eef5b97b6c23a6 cssutils-0.9.10.zip"
sha512sums="09f6ab240822aa1c74a30875c49c91282f9c865780b99af0e23950d1dd7b0737c7ddf98b18ecf2eb05ddd6d7261679e26d75aa906a586488c76b997e5178c3ab cssutils-0.9.10.zip"
|