[arch-commits] Commit in python-jupyter_core/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Apr 18 18:42:11 UTC 2022


    Date: Monday, April 18, 2022 @ 18:42:11
  Author: arojas
Revision: 1187014

Update to 4.10.0

Modified:
  python-jupyter_core/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-18 17:41:25 UTC (rev 1187013)
+++ PKGBUILD	2022-04-18 18:42:11 UTC (rev 1187014)
@@ -1,7 +1,7 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 
 pkgname=python-jupyter_core
-pkgver=4.9.2
+pkgver=4.10.0
 pkgrel=1
 pkgdesc="Jupyter core package. A base package on which Jupyter projects rely."
 arch=('any')
@@ -11,21 +11,22 @@
 makedepends=('python-build' 'python-installer' 'python-wheel')
 checkdepends=('python-pytest' 'python-nose')
 source=("https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-$pkgver.tar.gz")
-sha256sums=('d69baeb9ffb128b8cd2657fcf2703f89c769d1673c851812119e3a2a0e93ad9a')
+sha256sums=('a6de44b16b7b31d7271130c71a6792c4040f077011961138afed5e5e73181aec')
 
 prepare() {
-  cd "$srcdir/jupyter_core-$pkgver"
+  cd jupyter_core-$pkgver
   sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
+  sed -e 's|setuptools>=60.0|setuptools|' -i pyproject.toml
 }
 
 build() {
-  cd "$srcdir/jupyter_core-$pkgver"
+  cd jupyter_core-$pkgver
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd "$srcdir/jupyter_core-$pkgver"
-  pytest -vv \
+  cd jupyter_core-$pkgver
+  pytest -v \
     --deselect jupyter_core/tests/test_command.py::test_not_on_path \
     --deselect jupyter_core/tests/test_command.py::test_path_priority \
     --deselect jupyter_core/tests/test_command.py::test_argv0 \
@@ -33,7 +34,7 @@
 }
 
 package() {
-  cd "$srcdir/jupyter_core-$pkgver"
+  cd jupyter_core-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
   install -Dm644 examples/jupyter-completion.bash "$pkgdir/usr/share/bash-completion/completions/jupyter"



More information about the arch-commits mailing list