Date: Monday, November 28, 2022 @ 20:40:01
Author: arojas
Revision: 1354936
archrelease: copy trunk to community-any
Added:
python-jupyter_core/repos/community-any/PKGBUILD
(from rev 1354935, 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-11-28 20:39:53 UTC (rev 1354935)
+++ PKGBUILD 2022-11-28 20:40:01 UTC (rev 1354936)
@@ -1,41 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-
-pkgname=python-jupyter_core
-pkgver=5.0.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' 'python-platformdirs')
-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=('4ed68b7c606197c7e344a24b7195eef57898157075a69655a886074b6beb7043')
-
-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 1354935,
python-jupyter_core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-28 20:40:01 UTC (rev 1354936)
@@ -0,0 +1,41 @@
+# Maintainer: Kyle Keen <[email protected]>
+
+pkgname=python-jupyter_core
+pkgver=5.1.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' 'python-platformdirs')
+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=('a5ae7c09c55c0b26f692ec69323ba2b62e8d7295354d20f6cd57b749de4a05bf')
+
+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"
+}