summaryrefslogtreecommitdiff
path: root/python-bash_kernel/PKGBUILD
blob: 5369430824d434467a88c9662f0e0d59028ee907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname=python-bash_kernel
_pkgname=bash_kernel
pkgver=0.8.0
pkgrel=1
pkgdesc='A Jupyter kernel for bash.'
arch=('any')
url='https://github.com/takluyver/bash_kernel'
license=('BSD')
depends=(
  'python>=3.10'
  'python<3.11'
)
makedepends=(
  'python-jupyter_client'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/d9/2b/0f98098108aa7fa2c18d245e380d15b585e65a8c0f07b2fc11e1d1fe3b7f/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('e1d7952197956496ab807a56fa1b4b02471c56dccfeebf1b04d23ca51ab8481506a8833f6d2e5bac74cac4681e1c6c2681db30fd7e3a9950e2eeecc53ad03425')

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python $_pkgname/install.py --prefix="${pkgdir}/"
  install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}