1 # Maintainer : Eli Schwartz <eschwartz@archlinux.org>
6 pkgdesc="Python toolkit for stream-based generation of output for the web."
8 url="https://genshi.edgewall.org/"
10 depends=('python-six')
11 makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
12 checkdepends=('python-pytest')
13 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz")
14 sha256sums=('53920c8ed890a3ce0e274845abe82d34736191ffc51300788d4cc71e4fcdd0eb')
19 python -m build --wheel --no-isolation
31 python -m installer --destdir="${pkgdir}" dist/*.whl
32 install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING