archrelease: copy trunk to community-any
[arch-community.git] / jupyter-jsmol / trunk / PKGBUILD
bloba5fe40a851e5071a86e3425b9cd2ee4ee95e5d6a
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=jupyter-jsmol
4 pkgver=2022.1.0
5 pkgrel=2
6 pkgdesc='JSmol viewer widget which can be used in Jupyter Notebooks and JupyterLab'
7 arch=(any)
8 url='https://pypi.org/project/jupyter-jsmol/'
9 license=(BSD)
10 depends=(python-ipywidgets jupyter-notebook)
11 makedepends=(python-setuptools python-jupyter_packaging)
12 source=(https://pypi.python.org/packages/source/j/$pkgname/${pkgname/-/_}-$pkgver.tar.gz)
13 sha256sums=('6889b236dcd1eb69093ec1bc87ce352809c89a551214eada81186c2830c07c9a')
15 package() {
16   cd ${pkgname/-/_}-$pkgver
17   python setup.py install --root="$pkgdir" --optimize=1
18   mv "$pkgdir"/{usr/,}etc