Date: Wednesday, April 5, 2023 @ 20:30:44
  Author: felixonmars
Revision: 1438011

archrelease: copy trunk to community-staging-any

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

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

Copied: python-dask/repos/community-staging-any/PKGBUILD (from rev 1438010, 
python-dask/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 20:30:44 UTC (rev 1438011)
@@ -0,0 +1,86 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+_pkg=dask
+pkgname=python-${_pkg}
+pkgver=2022.12.1
+pkgrel=2
+pkgdesc="Parallel computing with task scheduling"
+arch=(any)
+url="https://dask.org";
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(python python-click python-cloudpickle python-fsspec python-packaging 
python-partd python-toolz python-yaml mpdecimal)
+optdepends=(
+#    'python-bokeh: visualizing dask diagnostics'
+#    'python-cityhash: faster hashing of arrays'
+    'python-distributed: distributed computing'
+#    'python-fastparquet: storing and reading data from parquet files'
+#    'python-gcsfs: file-system interface to Google Cloud Storage'
+#    'python-jinja: diagnostics'
+#    'python-murmurhash: faster hashing of arrays'
+    'python-numpy: arrays and dataframes support'
+    'python-pandas: dataframes support'
+    'python-psutil: more accurate CPU count'
+    'python-pyarrow: Apache Arrow, for parquet support'
+#    'python-s3fs: Amazon S3 support'
+    'python-sqlalchemy: writing and reading from SQL databases'
+    'python-xxhash: faster hashing of arrays'
+)
+checkdepends=(
+    ipython
+    python-pytest
+    python-pytest-rerunfailures
+    python-aiohttp
+#    python-bokeh
+    python-boto3
+    python-botocore
+    python-cytoolz
+#    python-cityhash
+    python-distributed
+#    python-fastparquet
+#    python-gcsfs
+    python-graphviz
+    python-h5py
+    python-httpretty
+    python-jinja
+    python-jsonschema
+    python-lz4
+    python-matplotlib
+    python-moto
+#    python-murmurhash
+#    python-numba
+    python-numexpr
+    python-numpy
+    python-pandas
+    python-psutil
+    python-pyarrow
+    python-pytables
+    python-requests
+#    python-s3fs
+    python-scikit-learn
+    python-scipy
+    python-snappy
+#    python-sparse
+    python-sqlalchemy
+    python-xarray
+    python-xxhash
+)
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://github.com/dask/dask/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2a03f234e8310d6f7a10c041cc69aeed3840e96c689ebe86fc9c212fcaee9734')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest -vvrsfE --color=yes dask/tests dask/array/tests dask/bag/tests 
dask/bytes/tests dask/dataframe/tests -W 'ignore:There is no current event 
loop:DeprecationWarning'
+}
+
+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}/
+}

Reply via email to