[arch-commits] Commit in python-distributed/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Oct 17 12:44:40 UTC 2021
Date: Sunday, October 17, 2021 @ 12:44:40
Author: archange
Revision: 1030697
archrelease: copy trunk to community-x86_64
Added:
python-distributed/repos/community-x86_64/PKGBUILD
(from rev 1030696, python-distributed/trunk/PKGBUILD)
Deleted:
python-distributed/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 148 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 74 insertions(+), 74 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-17 12:44:08 UTC (rev 1030696)
+++ PKGBUILD 2021-10-17 12:44:40 UTC (rev 1030697)
@@ -1,74 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=distributed
-pkgname=python-${_pkg}
-pkgver=2021.3.0
-pkgrel=1
-pkgdesc="Distributed task scheduler for Dask"
-arch=(x86_64)
-url="https://distributed.dask.org/"
-license=(BSD)
-depends=(
- python
- python-click
- python-cloudpickle
- python-dask
- python-msgpack
- python-psutil
- python-setuptools
- python-sortedcontainers
- python-tblib
- python-toolz
- python-tornado
- python-yaml
- python-zict
-)
-makedepends=(cython)
-checkdepends=(ipython
- python-pytest
- python-pytest-asyncio
- python-pytest-repeat
- python-pytest-timeout
- python-blosc
- python-cryptography
- python-distributed
- python-fsspec
- python-h5py
- python-ipykernel
- python-ipywidgets
- python-joblib
- python-jsonschema
- python-jupyter_client
- python-lz4
- python-netcdf4
- python-numpy
- python-pandas
- python-paramiko
- python-prometheus_client
- python-pytorch
- python-requests
- python-scipy
- python-snappy
- python-zstandard
-)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-#source=(https://github.com/dask/distributed/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('427fe7e047bbad7413c65d57e56fa4d6b1cf921fd206a3d2caab94bf9153c3db')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build --with-cython
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- # The deselected test aborts the test suite
- # Even without this, ~30 are failing with `RuntimeError: There is no current event loop in thread`
- pytest distributed -v --deselect distributed/deploy/tests/test_old_ssh.py::test_cluster || echo "Tests failed"
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build --with-cython
- install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: python-distributed/repos/community-x86_64/PKGBUILD (from rev 1030696, python-distributed/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-17 12:44:40 UTC (rev 1030697)
@@ -0,0 +1,74 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=distributed
+pkgname=python-${_pkg}
+pkgver=2021.9.1
+pkgrel=1
+pkgdesc="Distributed task scheduler for Dask"
+arch=(x86_64)
+url="https://distributed.dask.org/"
+license=(BSD)
+depends=(
+ python
+ python-click
+ python-cloudpickle
+ python-dask
+ python-jinja
+ python-msgpack
+ python-psutil
+ python-setuptools
+ python-sortedcontainers
+ python-tblib
+ python-toolz
+ python-tornado
+ python-yaml
+ python-zict
+)
+makedepends=(cython)
+checkdepends=(ipython
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-repeat
+ python-pytest-timeout
+ python-blosc
+ python-cryptography
+ python-distributed
+ python-fsspec
+ python-h5py
+ python-ipykernel
+ python-ipywidgets
+ python-joblib
+ python-jsonschema
+ python-jupyter_client
+ python-lz4
+ python-netcdf4
+ python-numpy
+ python-pandas
+ python-paramiko
+ python-prometheus_client
+ python-pytorch
+ python-requests
+ python-scipy
+ python-snappy
+ python-zstandard
+)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(https://github.com/dask/distributed/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('f4deb96a9dbef5b04ad030ab905dfed71b893d79a368bd5787b21268b4ed5ff8')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build --with-cython
+}
+
+# Timing out, no time to investigate
+#check() {
+# cd ${_pkg}-${pkgver}
+# pytest distributed -v -rsxfE -m "not avoid_ci" --color=yes
+#}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build --with-cython
+ install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list