[arch-commits] Commit in (4 files)
Bruno Pagani
archange at archlinux.org
Tue Jul 28 12:39:35 UTC 2020
Date: Tuesday, July 28, 2020 @ 12:39:35
Author: archange
Revision: 665650
Initial addition of python-distributed to [community]
Added:
python-distributed/
python-distributed/repos/
python-distributed/trunk/
python-distributed/trunk/PKGBUILD
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Added: python-distributed/trunk/PKGBUILD
===================================================================
--- python-distributed/trunk/PKGBUILD (rev 0)
+++ python-distributed/trunk/PKGBUILD 2020-07-28 12:39:35 UTC (rev 665650)
@@ -0,0 +1,52 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=distributed
+pkgname=python-${_pkg}
+pkgver=2.21.0
+pkgrel=1
+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=('8667b21f547ab3e209f4db5a4adbbd32c942616c7e227569cdbaa804882acd71')
+
+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