aports/testing/py3-dash-bootstrap-components/APKBUILD
Alistair Francis 0bbd5af718 testing/py3-dash-bootstrap-components: new aport
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2025-04-13 09:17:33 +00:00

30 lines
1 KiB
Text

# Maintainer: Alistair Francis <alistair@alistair23.me>
pkgname=py3-dash-bootstrap-components
_pyname=dash-bootstrap-components
pkgver=1.6.0
pkgrel=0
pkgdesc="Bootstrap themed components for use in Plotly Dash"
url="https://dash-bootstrap-components.opensource.faculty.ai/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-gpep517 py3-installer py3-poetry-core py3-wheel py3-setuptools"
checkdepends="py3-pytest py3-setuptools py3-pexpect"
source="py3-dash-bootstrap-components-$pkgver.tar.gz::https://github.com/facultyai/dash-bootstrap-components/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
# Depends on py3-dash, which creates a circular dependency
options="!check"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 1>&2
}
package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
}
sha512sums="
99dec0ea27c23fae60e12210168aa92284f96497972bc1a99207192353c0d6ffa3b914e5688d1efc68a24a079d24e812a8f2a07d3185d35482022814f734e769 py3-dash-bootstrap-components-1.6.0.tar.gz
"