# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=py3-json2html
pkgver=1.3.0
pkgrel=1
pkgdesc="Python wrapper to convert JSON into a human readable HTML Table representation."
url="https://pypi.org/project/json2html/"
license="MIT"
arch="noarch"
makedepends="py3-build py3-installer py3-wheel py3-setuptools"
depends="python3"
_pkgname=json2html
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir=$srcdir/$_pkgname-$pkgver
options="!check" #No checks

build() {
	python3 -m build --wheel --no-isolation
}

package() {
	python3 -m installer --destdir="$pkgdir" dist/*.whl
}

sha512sums="
3f040c8725e9fd5d74c76835fc7dc4a3da2bd6bf764b2e5b5835f10fd433722537b6c3ec7e90f84bacc104d49fceb257d98a14b0054990306b36a7dfbbb56d93  json2html-1.3.0.tar.gz
"
