# $Id: PKGBUILD 182622 2016-07-10 18:58:46Z arojas $
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=sage-notebook-exporter
pkgver=3.2
pkgrel=2
pkgdesc="Jupyter extension to export notebooks from SageNB"
arch=(any)
url="https://github.com/vbraun/ExportSageNB"
license=(GPL3)
depends=(jupyter-nbconvert ipython python-six)
makedepends=(python-setuptools)
source=("https://github.com/vbraun/ExportSageNB/archive/v$pkgver.tar.gz")
sha256sums=('a99ba8a0806f1f36bda7239aee7f9ddb7d2ca792e7d36eec03ae559d7bd8f492')

package() {
  cd ExportSageNB-$pkgver

  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
