summaryrefslogtreecommitdiffstats
path: root/main/py-genshi/APKBUILD
blob: 7169ef7112374e3dd9a8a95045ebb96dbbe657de (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
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=py-genshi
_realname=Genshi
pkgver=0.6
pkgrel=2
pkgdesc="Python toolkit for stream-based generation of output for the web."
url="http://genshi.edgewall.org/"
arch="noarch"
license="BSD"
depends="python"
makedepends="py-setuptools python-dev"
install=""
subpackages=""
source="http://ftp.edgewall.com/pub/genshi/$_realname-$pkgver.tar.gz"

_builddir="$srcdir"/$_realname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="604e8b23b4697655d36a69c2d8ef7187  Genshi-0.6.tar.gz"