[arch-commits] Commit in python-jupyter_client/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Mar 29 20:35:35 UTC 2022
Date: Tuesday, March 29, 2022 @ 20:35:35
Author: arojas
Revision: 1177692
archrelease: copy trunk to community-any
Added:
python-jupyter_client/repos/community-any/PKGBUILD
(from rev 1177691, python-jupyter_client/trunk/PKGBUILD)
Deleted:
python-jupyter_client/repos/community-any/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-29 20:35:25 UTC (rev 1177691)
+++ PKGBUILD 2022-03-29 20:35:35 UTC (rev 1177692)
@@ -1,33 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-jupyter_client
-pkgver=7.1.2
-pkgrel=1
-pkgdesc="Jupyter protocol implementation and client libraries"
-arch=('any')
-url="https://pypi.python.org/pypi/jupyter_client"
-license=('BSD')
-depends=('python-ipykernel' 'python-traitlets' 'python-pyzmq'
- 'python-jupyter_core' 'python-dateutil' 'python-entrypoints' 'python-nest-asyncio')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-async_generator')
-#source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz")
-source=("https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-$pkgver.tar.gz")
-sha256sums=('4ea61033726c8e579edb55626d8ee2e6bf0a83158ddf3751b8dd46b2c5cd1e96')
-
-# dep cycle with python-ipykernel
-
-build() {
- cd "$srcdir"
-}
-
-check() {
- cd "$srcdir/jupyter_client-$pkgver"
- pytest
-}
-
-package() {
- cd "$srcdir/jupyter_client-$pkgver"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-jupyter_client/repos/community-any/PKGBUILD (from rev 1177691, python-jupyter_client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-29 20:35:35 UTC (rev 1177692)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-jupyter_client
+pkgver=7.2.0
+pkgrel=1
+pkgdesc="Jupyter protocol implementation and client libraries"
+arch=('any')
+url="https://pypi.python.org/pypi/jupyter_client"
+license=('BSD')
+depends=('python-ipykernel' 'python-traitlets' 'python-pyzmq'
+ 'python-jupyter_core' 'python-dateutil' 'python-entrypoints' 'python-nest-asyncio')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-pytest' 'python-async_generator')
+#source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-$pkgver.tar.gz")
+sha256sums=('00e284dd1a5ac605ead8a42ada2a97041b642c1ef6cefb30c3c415b4eb94bead')
+
+# dep cycle with python-ipykernel
+
+build() {
+ cd jupyter_client-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd jupyter_client-$pkgver
+ pytest -vv
+}
+
+package() {
+ cd jupyter_client-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list