Skip to content
Snippets Groups Projects
Commit 84e3c7a6 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

initial commit

parents
No related branches found
No related tags found
No related merge requests found
.SRCINFO 0 → 100644
pkgbase = jupyterlab-autosave-on-focus-change
pkgdesc = JupyterLab extension to autosave files on focus change
pkgver = 0.4.0
pkgrel = 1
url = https://github.com/s-weigand/jupyterlab_autosave_on_focus_change
arch = any
license = BSD-3-Clause
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
makedepends = python-jupyter-packaging
makedepends = python-hatchling
makedepends = python-hatch-nodejs-version
makedepends = python-hatch-jupyter-builder
makedepends = npm
depends = jupyterlab
source = jupyterlab-autosave-on-focus-change-0.4.0.tar.gz::https://github.com/s-weigand/jupyterlab_autosave_on_focus_change/archive/refs/tags/v0.4.0.tar.gz
source = install.json
sha256sums = d092c0eaadf17288990b47c690be76cc2a0133d3d70db631d2c15ae7040b14d5
sha256sums = 5ae4dc788e815001de85448b35358ab5e3b8862ce7029cca4288c8a8227bb98b
pkgname = jupyterlab-autosave-on-focus-change
PKGBUILD 0 → 100644
# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
_pyname=jupyterlab_autosave_on_focus_change
pkgname=jupyterlab-autosave-on-focus-change
pkgdesc="JupyterLab extension to autosave files on focus change"
url="https://github.com/s-weigand/jupyterlab_autosave_on_focus_change"
pkgver=0.4.0
pkgrel=1
license=(BSD-3-Clause)
arch=(any)
depends=(
jupyterlab
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
python-jupyter-packaging
python-hatchling
python-hatch-nodejs-version
python-hatch-jupyter-builder
npm
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
"install.json")
sha256sums=('d092c0eaadf17288990b47c690be76cc2a0133d3d70db631d2c15ae7040b14d5'
'5ae4dc788e815001de85448b35358ab5e3b8862ce7029cca4288c8a8227bb98b')
prepare() {
cd $_pyname-$pkgver
# Replace uninstallation instructions with Arch-specific ones.
cp ../install.json .
}
build() {
cd $_pyname-$pkgver
python -m build --no-isolation --wheel --skip-dependency-check
}
package() {
cd $_pyname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
{
"packageManager": "pacman",
"packageName": "jupyterlab-autosave-on-focus-change",
"uninstallInstructions": "Use pacman to uninstall the package jupyterlab-autosave-on-focus-change"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment