[arch-commits] Commit in python-ipyparallel/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat May 14 07:48:09 UTC 2022


    Date: Saturday, May 14, 2022 @ 07:48:09
  Author: arojas
Revision: 1203276

archrelease: copy trunk to community-any

Added:
  python-ipyparallel/repos/community-any/PKGBUILD
    (from rev 1203275, python-ipyparallel/trunk/PKGBUILD)
Deleted:
  python-ipyparallel/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 39 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-14 07:47:57 UTC (rev 1203275)
+++ PKGBUILD	2022-05-14 07:48:09 UTC (rev 1203276)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
-# Contributor: Specter119 <specter119 AT gmail DOT com>
-# Contributor: xantares
-
-pkgname=python-ipyparallel
-_pyname=${pkgname#python-}
-pkgver=8.2.1
-pkgrel=1
-pkgdesc='Interactive Parallel Computing in Python'
-url='https://pypi.org/project/ipyparallel/'
-arch=(any)
-license=(BSD)
-source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
-depends=(jupyterlab python-psutil)
-makedepends=(python-build python-installer python-wheel)
-checkdepends=(python-pytest-tornado python-tqdm)
-optdepends=('openmpi: to use the MPI Launchers in ipcluster command')
-sha256sums=('f267473c52fc6a886c6b816adb155bec0b277bc7d224fb3fabeb83834e733c72')
-
-build() {
-  cd $_pyname-$pkgver
-  IPP_DISABLE_JS=1 \
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd $_pyname-$pkgver
-  pytest -v
-}
-
-package() {
-  cd $_pyname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm644 COPYING.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  mv "$pkgdir"/{usr/,}etc
-}

Copied: python-ipyparallel/repos/community-any/PKGBUILD (from rev 1203275, python-ipyparallel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-14 07:48:09 UTC (rev 1203276)
@@ -0,0 +1,39 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
+# Contributor: Specter119 <specter119 AT gmail DOT com>
+# Contributor: xantares
+
+pkgname=python-ipyparallel
+_pyname=${pkgname#python-}
+pkgver=8.3.0
+pkgrel=1
+pkgdesc='Interactive Parallel Computing in Python'
+url='https://pypi.org/project/ipyparallel/'
+arch=(any)
+license=(BSD)
+source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
+depends=(jupyterlab python-psutil)
+makedepends=(python-build python-installer python-flit-core)
+checkdepends=(python-pytest-tornado python-pytest-asyncio python-tqdm)
+optdepends=('openmpi: to use the MPI Launchers in ipcluster command')
+sha256sums=('275d6d0c89c812679f0addc6a399bd75384bdf199ade12922d2ab3e2f7a99dc1')
+
+build() {
+  cd $_pyname-$pkgver
+  IPP_DISABLE_JS=1 \
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pyname-$pkgver
+  python -m installer --destdir=test_install dist/*.whl
+  PYTHONPATH="$PWD"/test_install/`python -c "from sysconfig import get_path; print(get_path('platlib'))"` \
+  pytest -v -k 'not test_local_ip_true_doesnt_trigger_warning' -W ignore::DeprecationWarning
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 COPYING.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  mv "$pkgdir"/{usr/,}etc
+}



More information about the arch-commits mailing list