summaryrefslogtreecommitdiff
path: root/python-bash_kernel/PKGBUILD
blob: 0655483ea98952166f5c74e30289caf1d344d72e (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.9.1
pkgrel=4
pkgdesc='A Jupyter kernel for bash.'
arch=('any')
url='https://github.com/takluyver/bash_kernel'
license=('BSD')
depends=(
  'python>=3.12'
  'python<3.13'
)
makedepends=(
  'python-jupyter_client'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/31/7c/9c7ef07b09188601bb767beda5482e58ce06ae5ae75af0ab8b294ff58ce7/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('1c9ddf52fd3b198609f38cf4459f991be1f4cf351d857ade48be283b80d790cac4136bb763869a9748f63b84e072c8179d0f22dfeead330144fcb52c0a23c273')

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