[arch-commits] Commit in python-distributed/repos (2 files)
Bruno Pagani
archange at archlinux.org
Tue Jul 28 12:40:06 UTC 2020
Date: Tuesday, July 28, 2020 @ 12:40:05
Author: archange
Revision: 665651
archrelease: copy trunk to community-any
Added:
python-distributed/repos/community-any/
python-distributed/repos/community-any/PKGBUILD
(from rev 665650, python-distributed/trunk/PKGBUILD)
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Copied: python-distributed/repos/community-any/PKGBUILD (from rev 665650, python-distributed/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-07-28 12:40:05 UTC (rev 665651)
@@ -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