[arch-commits] Commit in python-billiard/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 14:31:40 UTC 2020
Date: Wednesday, November 11, 2020 @ 14:31:40
Author: foutrelis
Revision: 750780
Fix spawnv_passfds() for Python 3.9
Modified:
python-billiard/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 14:26:19 UTC (rev 750779)
+++ PKGBUILD 2020-11-11 14:31:40 UTC (rev 750780)
@@ -12,11 +12,15 @@
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner' 'python-case' 'python-psutil')
-source=("https://pypi.io/packages/source/b/billiard/billiard-$pkgver.tar.gz")
-sha512sums=('8fde933c7f605aa4958a6f9da7aa876f42ef7250845b113fc175f8e8af1760063ac6b2a7a222d2c0bac4715f18986a2ee1a5528cc14925b2060dca8a5bd2333c')
+source=("https://pypi.io/packages/source/b/billiard/billiard-$pkgver.tar.gz"
+ $pkgname-py39.patch::https://github.com/celery/billiard/commit/ca3220ba4596.patch)
+sha512sums=('8fde933c7f605aa4958a6f9da7aa876f42ef7250845b113fc175f8e8af1760063ac6b2a7a222d2c0bac4715f18986a2ee1a5528cc14925b2060dca8a5bd2333c'
+ 'e4cb47ca4038d530f80f2491c43067f11833a1d2110f878f28e2fc585904d203a78ed11fa8f5ca17ea7dd801cce73ac0b4e85c2dbd4e37c3b02632a06324b43c')
prepare() {
- sed -i 's/< *5/<6/' billiard-$pkgver/requirements/test.txt
+ cd "$srcdir"/billiard-$pkgver
+ sed -i 's/< *5/<6/' requirements/test.txt
+ sed '/diff --git a\/tox.ini/,$d' ../$pkgname-py39.patch | patch -Np1
}
build() {
More information about the arch-commits
mailing list