Date: Thursday, March 16, 2023 @ 17:03:56
  Author: arojas
Revision: 1421111

archrelease: copy trunk to community-any

Added:
  python-jupyter-core/repos/community-any/PKGBUILD
    (from rev 1421109, python-jupyter-core/trunk/PKGBUILD)
Deleted:
  python-jupyter-core/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-16 17:03:53 UTC (rev 1421110)
+++ PKGBUILD    2023-03-16 17:03:56 UTC (rev 1421111)
@@ -1,46 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Kyle Keen <[email protected]>
-
-_pyname=jupyter_core
-pkgname=python-${_pyname/_/-}
-pkgver=5.2.0
-pkgrel=2
-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)
-conflicts=(python-jupyter_core)
-provides=(python-jupyter_core)
-replaces=(python-jupyter_core)
-source=(https://files.pythonhosted.org/packages/source/j/jupyter_core/$_pyname-$pkgver.tar.gz)
-sha256sums=('1407cdb4c79ee467696c04b76633fc1884015fa109323365a6372c8e890cc83f')
-
-prepare() {
-  cd $_pyname-$pkgver
-  sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
-}
-
-build() {
-  cd $_pyname-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd $_pyname-$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 $_pyname-$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 1421109, 
python-jupyter-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-16 17:03:56 UTC (rev 1421111)
@@ -0,0 +1,46 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+_pyname=jupyter_core
+pkgname=python-${_pyname/_/-}
+pkgver=5.3.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)
+conflicts=(python-jupyter_core)
+provides=(python-jupyter_core)
+replaces=(python-jupyter_core)
+source=(https://files.pythonhosted.org/packages/source/j/jupyter_core/$_pyname-$pkgver.tar.gz)
+sha256sums=('6db75be0c83edbf1b7c9f91ec266a9a24ef945da630f3120e1a0046dc13713fc')
+
+prepare() {
+  cd $_pyname-$pkgver
+  sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
+}
+
+build() {
+  cd $_pyname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pyname-$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 $_pyname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  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
+}

Reply via email to