# Contributor: Bart Ribbers <bribbers@disroot.org>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-sphinx-inline-tabs
pkgver=2023.4.21
pkgrel=1
pkgdesc="Add inline tabbed content to your Sphinx documentation"
url="https://github.com/pradyunsg/sphinx-inline-tabs"
arch="noarch"
license="MIT"
depends="
	py3-sphinx
	python3
	"
makedepends="py3-gpep517 py3-flit-core py3-installer"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/s/sphinx_inline_tabs/sphinx_inline_tabs-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/sphinx_inline_tabs-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

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

sha512sums="
d5c856821ca3d2b251733fe200465679dc875d66719851f89b6e38fd1898e40a2bbc97975b6bbdb7bf769fb67038bbb8dd94282504adb0977c57e8d1cf3fde5c  sphinx_inline_tabs-2023.4.21.tar.gz
"
