Date: Sunday, April 23, 2023 @ 17:26:40
Author: dvzrv
Revision: 1448413
archrelease: copy trunk to community-staging-any
Added:
python-dask/repos/community-staging-any/PKGBUILD
(from rev 1448412, python-dask/trunk/PKGBUILD)
Deleted:
python-dask/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 197 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 111 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-23 17:26:30 UTC (rev 1448412)
+++ PKGBUILD 2023-04-23 17:26:40 UTC (rev 1448413)
@@ -1,86 +0,0 @@
-# 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}/
-}
Copied: python-dask/repos/community-staging-any/PKGBUILD (from rev 1448412,
python-dask/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-23 17:26:40 UTC (rev 1448413)
@@ -0,0 +1,111 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+_pkg=dask
+pkgname=python-${_pkg}
+pkgver=2023.4.0
+pkgrel=1
+pkgdesc="Parallel computing with task scheduling"
+arch=(any)
+url="https://dask.org"
+license=(BSD)
+depends=(
+ mpdecimal
+ python
+ python-click
+ python-cloudpickle
+ python-fsspec
+ python-importlib-metadata
+ python-packaging
+ python-partd
+ python-pyyaml
+ python-toolz
+)
+makedepends=(
+ python-build
+ python-installer
+ python-setuptools
+ python-versioneer
+ python-wheel
+)
+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=('f3d4d4ab004f617f7f8f0dddac55a87c6ebae19fccdf2b68a400870bdbfbd4d3')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ local pytest_options=(
+ -vv
+ --ignore test_dir/$site_packages/$_pkg/tests/test_distributed.py
+ )
+
+ cd ${_pkg}-${pkgver}
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
+ pytest "${pytest_options[@]}" "$PWD/test_dir/$site_packages/$_pkg/"
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}