summaryrefslogtreecommitdiffstats
path: root/main/py-genshi/APKBUILD
blob: 999d68f16c81af6081db1d38b1a0fe9ad7b8c4c0 (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: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=py-genshi
_realname=Genshi
pkgver=0.7
pkgrel=0
pkgdesc="Python toolkit for stream-based generation of output for the web."
url="http://genshi.edgewall.org/"
arch="all"
license="BSD"
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="54e64dd69da3ec961f86e686e0848a82  Genshi-0.7.tar.gz"
sha256sums="1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352  Genshi-0.7.tar.gz"
sha512sums="2d0042d4da4566725ddd80b73c5b7be09f479f5529e4aa69903edc2a98905ff6de42a0d5a6f02986d7962deb7740c4a3acf6955a8b77fdb42d3cf4ca037de6bf  Genshi-0.7.tar.gz"