Date: Monday, January 30, 2023 @ 21:39:23
Author: arojas
Revision: 1391330
archrelease: copy trunk to community-any
Added:
python-jupyter-core/repos/community-any/PKGBUILD
(from rev 1391329, python-jupyter-core/trunk/PKGBUILD)
Deleted:
python-jupyter-core/repos/community-any/PKGBUILD
----------+
PKGBUILD | 89 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-30 21:39:13 UTC (rev 1391329)
+++ PKGBUILD 2023-01-30 21:39:23 UTC (rev 1391330)
@@ -1,43 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Kyle Keen <[email protected]>
-
-_pyname=jupyter_core
-pkgname=python-${_pyname/_/-}
-pkgver=5.2.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)
-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 1391329,
python-jupyter-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-30 21:39:23 UTC (rev 1391330)
@@ -0,0 +1,46 @@
+# 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
+}