[arch-commits] Commit in python-distributed/repos/community-any (4 files)
Bruno Pagani
archange at archlinux.org
Tue Dec 22 20:07:28 UTC 2020
Date: Tuesday, December 22, 2020 @ 20:07:28
Author: archange
Revision: 782899
archrelease: copy trunk to community-any
Added:
python-distributed/repos/community-any/PKGBUILD
(from rev 782898, python-distributed/trunk/PKGBUILD)
python-distributed/repos/community-any/py39.patch
(from rev 782898, python-distributed/trunk/py39.patch)
Deleted:
python-distributed/repos/community-any/PKGBUILD
python-distributed/repos/community-any/py39.patch
------------+
PKGBUILD | 120 +++++++++++++++++++++++++++++------------------------------
py39.patch | 48 +++++++++++------------
2 files changed, 84 insertions(+), 84 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-22 20:07:21 UTC (rev 782898)
+++ PKGBUILD 2020-12-22 20:07:28 UTC (rev 782899)
@@ -1,60 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=distributed
-pkgname=python-${_pkg}
-pkgver=2.30.1
-pkgrel=3
-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
- py39.patch)
-#source=(https://github.com/dask/distributed/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('1421d3b84a0885aeb2c4bdc9e8896729c0f053a9375596c9de8864e055e2ac8e'
- 'e872d3655fc634f226b178d579377ed862c14ff488058586e61c82fd903ed680')
-
-prepare() {
- cd ${_pkg}-${pkgver}
- # https://github.com/spyder-ide/spyder-kernels/issues/258
- # https://github.com/dask/distributed/pull/4234
- patch -Np1 -i ../py39.patch
-}
-
-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}/
-}
Copied: python-distributed/repos/community-any/PKGBUILD (from rev 782898, python-distributed/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-22 20:07:28 UTC (rev 782899)
@@ -0,0 +1,60 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=distributed
+pkgname=python-${_pkg}
+pkgver=2020.12.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
+ py39.patch)
+#source=(https://github.com/dask/distributed/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2a0b6acc921cd4e0143a7c4383cdcbed7defbc4bd9dc3aab0c7f1c45f14f80e1'
+ 'e872d3655fc634f226b178d579377ed862c14ff488058586e61c82fd903ed680')
+
+prepare() {
+ cd ${_pkg}-${pkgver}
+ # https://github.com/spyder-ide/spyder-kernels/issues/258
+ # https://github.com/dask/distributed/pull/4234
+ patch -Np1 -i ../py39.patch
+}
+
+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}/
+}
Deleted: py39.patch
===================================================================
--- py39.patch 2020-12-22 20:07:21 UTC (rev 782898)
+++ py39.patch 2020-12-22 20:07:28 UTC (rev 782899)
@@ -1,24 +0,0 @@
-From 2c482276ed39112c650ed886c66d2c7b7d5e3783 Mon Sep 17 00:00:00 2001
-From: Jim Crist-Harif <jcristharif at gmail.com>
-Date: Tue, 10 Nov 2020 16:29:57 -0600
-Subject: [PATCH] Python 3.9 compatibility
-
----
- distributed/utils.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/distributed/utils.py b/distributed/utils.py
-index 77487f8ce..c1a0d2caa 100644
---- a/distributed/utils.py
-+++ b/distributed/utils.py
-@@ -72,6 +72,10 @@
-
-
- def _initialize_mp_context():
-+ if not WINDOWS:
-+ # For some reason this is required in python >= 3.9
-+ import multiprocessing.popen_spawn_posix
-+
- if WINDOWS or PYPY:
- return multiprocessing
- else:
Copied: python-distributed/repos/community-any/py39.patch (from rev 782898, python-distributed/trunk/py39.patch)
===================================================================
--- py39.patch (rev 0)
+++ py39.patch 2020-12-22 20:07:28 UTC (rev 782899)
@@ -0,0 +1,24 @@
+From 2c482276ed39112c650ed886c66d2c7b7d5e3783 Mon Sep 17 00:00:00 2001
+From: Jim Crist-Harif <jcristharif at gmail.com>
+Date: Tue, 10 Nov 2020 16:29:57 -0600
+Subject: [PATCH] Python 3.9 compatibility
+
+---
+ distributed/utils.py | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/distributed/utils.py b/distributed/utils.py
+index 77487f8ce..c1a0d2caa 100644
+--- a/distributed/utils.py
++++ b/distributed/utils.py
+@@ -72,6 +72,10 @@
+
+
+ def _initialize_mp_context():
++ if not WINDOWS:
++ # For some reason this is required in python >= 3.9
++ import multiprocessing.popen_spawn_posix
++
+ if WINDOWS or PYPY:
+ return multiprocessing
+ else:
More information about the arch-commits
mailing list