[arch-commits] Commit in python-jupyter_core/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 16 21:02:19 UTC 2022
Date: Wednesday, March 16, 2022 @ 21:02:19
Author: arojas
Revision: 1155954
Update to 4.9.2
Modified:
python-jupyter_core/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-16 21:02:01 UTC (rev 1155953)
+++ PKGBUILD 2022-03-16 21:02:19 UTC (rev 1155954)
@@ -1,18 +1,17 @@
# Maintainer: Kyle Keen <keenerd at gmail.com>
pkgname=python-jupyter_core
-pkgver=4.9.1
-pkgrel=3
+pkgver=4.9.2
+pkgrel=1
pkgdesc="Jupyter core package. A base package on which Jupyter projects rely."
arch=('any')
url="https://pypi.python.org/pypi/jupyter_core"
license=('BSD')
depends=('python-traitlets')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel')
checkdepends=('python-pytest' 'python-nose')
-#source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-$pkgver.tar.gz")
-sha256sums=('dce8a7499da5a53ae3afd5a9f4b02e5df1d57250cf48f3ad79da23b4778cd6fa')
+sha256sums=('d69baeb9ffb128b8cd2657fcf2703f89c769d1673c851812119e3a2a0e93ad9a')
prepare() {
cd "$srcdir/jupyter_core-$pkgver"
@@ -21,20 +20,21 @@
build() {
cd "$srcdir/jupyter_core-$pkgver"
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
cd "$srcdir/jupyter_core-$pkgver"
- pytest \
+ pytest -vv \
--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 \
--deselect jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env # https://github.com/jupyter/jupyter_core/issues/208
}
package() {
cd "$srcdir/jupyter_core-$pkgver"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ 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"
install -Dm644 examples/completions-zsh "$pkgdir/usr/share/zsh/site-functions/_jupyter"
More information about the arch-commits
mailing list