summaryrefslogtreecommitdiffstats
path: root/testing/py-genshi/APKBUILD
blob: 394ef2943c3bf87503b9a63f46c638a5b148e820 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-genshi
_pkgname=Genshi
pkgver=0.6
pkgrel=0
pkgdesc="Python toolkit for stream-based generation of output for the web"
url="http://genshi.edgewall.org/"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://ftp.edgewall.com/pub/genshi/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$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"