[arch-commits] Commit in python-jupyter_core/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jul 8 16:21:12 UTC 2022


    Date: Friday, July 8, 2022 @ 16:21:12
  Author: arojas
Revision: 1248709

archrelease: copy trunk to community-any

Added:
  python-jupyter_core/repos/community-any/PKGBUILD
    (from rev 1248708, python-jupyter_core/trunk/PKGBUILD)
Deleted:
  python-jupyter_core/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-08 16:21:04 UTC (rev 1248708)
+++ PKGBUILD	2022-07-08 16:21:12 UTC (rev 1248709)
@@ -1,41 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-jupyter_core
-pkgver=4.11.0
-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-build' 'python-installer' 'python-hatchling')
-checkdepends=('python-pytest' 'python-nose')
-source=("https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-$pkgver.tar.gz")
-sha256sums=('7cf01bed6579e83241b655c76910f5d608c4b1265dbffc0ffd4df3244628e31e')
-
-prepare() {
-  cd jupyter_core-$pkgver
-  sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
-}
-
-build() {
-  cd jupyter_core-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  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 \
-    --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env # https://github.com/jupyter/jupyter_core/issues/208
-}
-
-package() {
-  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"
-  install -Dm644 examples/completions-zsh "$pkgdir/usr/share/zsh/site-functions/_jupyter"
-}

Copied: python-jupyter_core/repos/community-any/PKGBUILD (from rev 1248708, python-jupyter_core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-08 16:21:12 UTC (rev 1248709)
@@ -0,0 +1,41 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-jupyter_core
+pkgver=4.11.1
+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-build' 'python-installer' 'python-hatchling')
+checkdepends=('python-pytest' 'python-nose')
+source=("https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-$pkgver.tar.gz")
+sha256sums=('2e5f244d44894c4154d06aeae3419dd7f1b0ef4494dc5584929b398c61cfd314')
+
+prepare() {
+  cd jupyter_core-$pkgver
+  sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
+}
+
+build() {
+  cd jupyter_core-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  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 \
+    --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env # https://github.com/jupyter/jupyter_core/issues/208
+}
+
+package() {
+  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"
+  install -Dm644 examples/completions-zsh "$pkgdir/usr/share/zsh/site-functions/_jupyter"
+}



More information about the arch-commits mailing list