[arch-commits] Commit in python-jupyter_core/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Apr 18 18:42:22 UTC 2022
Date: Monday, April 18, 2022 @ 18:42:21
Author: arojas
Revision: 1187015
archrelease: copy trunk to community-any
Added:
python-jupyter_core/repos/community-any/PKGBUILD
(from rev 1187014, python-jupyter_core/trunk/PKGBUILD)
Deleted:
python-jupyter_core/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-18 18:42:11 UTC (rev 1187014)
+++ PKGBUILD 2022-04-18 18:42:21 UTC (rev 1187015)
@@ -1,41 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-jupyter_core
-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-build' 'python-installer' 'python-wheel')
-checkdepends=('python-pytest' 'python-nose')
-source=("https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-$pkgver.tar.gz")
-sha256sums=('d69baeb9ffb128b8cd2657fcf2703f89c769d1673c851812119e3a2a0e93ad9a')
-
-prepare() {
- cd "$srcdir/jupyter_core-$pkgver"
- sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
-}
-
-build() {
- cd "$srcdir/jupyter_core-$pkgver"
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "$srcdir/jupyter_core-$pkgver"
- 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"
- 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 1187014, python-jupyter_core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-18 18:42:21 UTC (rev 1187015)
@@ -0,0 +1,42 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-jupyter_core
+pkgver=4.10.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-wheel')
+checkdepends=('python-pytest' 'python-nose')
+source=("https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-$pkgver.tar.gz")
+sha256sums=('a6de44b16b7b31d7271130c71a6792c4040f077011961138afed5e5e73181aec')
+
+prepare() {
+ cd jupyter_core-$pkgver
+ sed -e '/\/usr\/local\/share\/jupyter/d' -i jupyter_core/paths.py
+ sed -e 's|setuptools>=60.0|setuptools|' -i pyproject.toml
+}
+
+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