Skip to content
Snippets Groups Projects

testing/py3-branca: new aport

Merged Iztok Fister Jr. requested to merge (removed):branca into master
1 file
+ 32
0
Compare changes
  • Side-by-side
  • Inline
+ 32
0
# 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
"
Loading