summaryrefslogtreecommitdiff
path: root/community/py3-genshi/APKBUILD
blob: d6e01fc3a9a53ee9ec9e332da5ae92c8b4b0c7c8 (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
# Contributor: Mika Havela <mika.havela@gmail.com>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-genshi
_realname=Genshi
pkgver=0.7.7
pkgrel=1
pkgdesc="Python toolkit for stream-based generation of output for the web"
url="http://genshi.edgewall.org/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-six"
source="$pkgname-$pkgver.tar.gz::https://github.com/edgewall/genshi/archive/$pkgver.tar.gz"
builddir="$srcdir/genshi-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
c946a27f451b74bab9c4af63965fc255c69736d436f39f9cc346df4ecf5e13f6ee46ae71c5df572a908c89990b31d1ec442e966ab7620994e096e5d021d71487  py3-genshi-0.7.7.tar.gz
"