summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-12-07 21:58:48 +0100
committerErich Eckner <git@eckner.net>2022-12-07 21:58:48 +0100
commitc0767453b3c397320be7dc43e358ca8e9b00aa2c (patch)
tree2fe3450206a567c955e02c5bef6e347c9cc660cb
parent672ac5a0aa2849dd6854610e8ddb0327cd9692b9 (diff)
downloadarchlinuxewe-c0767453b3c397320be7dc43e358ca8e9b00aa2c.tar.xz
python-bash_kernel: 0.7.2-63 -> 0.8.0-1
-rw-r--r--python-bash_kernel/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/python-bash_kernel/PKGBUILD b/python-bash_kernel/PKGBUILD
index 5a36ef4a7..536943082 100644
--- a/python-bash_kernel/PKGBUILD
+++ b/python-bash_kernel/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=python-bash_kernel
_pkgname=bash_kernel
-pkgver=0.7.2
-pkgrel=63
+pkgver=0.8.0
+pkgrel=1
pkgdesc='A Jupyter kernel for bash.'
arch=('any')
url='https://github.com/takluyver/bash_kernel'
@@ -12,16 +12,14 @@ depends=(
'python>=3.10'
'python<3.11'
)
-source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/96/8f/869587d23c29bf74dc52a9bd5c80170762adfc78ecb5108ae8b32bb48f82/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('94231b4c014888241a0c06b69e5d59b0baa6000bf922cfc6ca2d558a96387e109bcb0dcb15061b94bfde6c30296dce4a3b8cd8f2a7c53014b48870321bb40685')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py build
-}
+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 setup.py install --root="${pkgdir}/" --optimize=1
+ python $_pkgname/install.py --prefix="${pkgdir}/"
install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}