[arch-commits] Commit in jupyter-nbclassic/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Mar 3 08:20:58 UTC 2022
Date: Thursday, March 3, 2022 @ 08:20:58
Author: arojas
Revision: 1140356
Update to 0.3.6
Modified:
jupyter-nbclassic/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-03 08:13:06 UTC (rev 1140355)
+++ PKGBUILD 2022-03-03 08:20:58 UTC (rev 1140356)
@@ -2,25 +2,25 @@
_pipname=nbclassic
pkgname=jupyter-$_pipname
-pkgver=0.3.5
+pkgver=0.3.6
pkgrel=1
pkgdesc='Jupyter Notebook as a Jupyter Server Extension'
arch=(any)
url='https://jupyter.org/'
license=(custom)
-depends=(jupyter-server jupyter-notebook)
-makedepends=(python-setuptools)
+depends=(jupyter-server jupyter-notebook-shim)
+makedepends=(python-build python-installer)
source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('99444dd63103af23c788d9b5172992f12caf8c3098dd5a35c787f0df31490c29')
+sha256sums=('7dbac0a6cb71bbe3afa1fe89369e6e3174d89f42aa08216a327046de45aa9a4f')
build() {
cd $_pipname-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd $_pipname-$pkgver
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
mv "$pkgdir"/{usr/,}etc
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
More information about the arch-commits
mailing list