Skip to content
Snippets Groups Projects
Commit 8813a426 authored by Iztok Fister Jr.'s avatar Iztok Fister Jr. Committed by alice
Browse files

testing/py3-branca: new aport

parent d99f0d48
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38875testing/py3-branca: new aport
Pipeline #136031 passed
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-branca
_pkgorig=branca
pkgver=0.5.0
pkgrel=0
pkgdesc="Generate complex HTML+JS pages with Python"
url="https://github.com/python-visualization/branca"
arch="noarch"
license="MIT"
depends="python3 py3-jinja2"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/python-visualization/branca/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
options="!check" # disable for now - several test dependencies are missing
build() {
python3 setup.py build
}
check() {
python3 -m pytest -k 'not test_iframe'
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
6d0b6cffc97ad4a0840881abc27a3053bd78514511691cd7b40d5789d1e2b98d994dcedbf9c9419776c053bd96779dd735cb34b4c7ad3ae07a251a873643fcbb branca-0.5.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment