[arch-commits] Commit in python-distributed/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:00:43 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:00:43
  Author: foutrelis
Revision: 748355

archrelease: copy trunk to community-staging-any

Added:
  python-distributed/repos/community-staging-any/
  python-distributed/repos/community-staging-any/PKGBUILD
    (from rev 748353, python-distributed/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: python-distributed/repos/community-staging-any/PKGBUILD (from rev 748353, python-distributed/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:00:43 UTC (rev 748355)
@@ -0,0 +1,51 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=distributed
+pkgname=python-${_pkg}
+pkgver=2.30.0
+pkgrel=2
+pkgdesc="Distributed task scheduler for Dask"
+arch=(any)
+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
+)
+checkdepends=(
+    python-pytest
+    python-fsspec
+    python-numpy
+    python-pandas
+)
+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=('3eb8e4173625cea6ebda2f0a079b813eeabbffd1b24584855cf063ed1cca60b3')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+# test suite gets stuck at distributed/tests/test_semaphore.py
+#check() {
+#  cd ${_pkg}-${pkgver}
+#  pytest distributed
+#}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


More information about the arch-commits mailing list