[arch-commits] Commit in python-black/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Fri Jun 25 21:26:36 UTC 2021
Date: Friday, June 25, 2021 @ 21:26:36
Author: polyzen
Revision: 967462
upgpkg: python-black 21.6b0-3: Patch out extra identifier
Fixes FS#71356
Modified:
python-black/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-25 21:16:49 UTC (rev 967461)
+++ PKGBUILD 2021-06-25 21:26:36 UTC (rev 967462)
@@ -4,7 +4,7 @@
pkgname=python-black
pkgver=21.6b0
-pkgrel=2
+pkgrel=3
pkgdesc='Uncompromising Python code formatter'
arch=('any')
url=https://github.com/psf/black
@@ -42,6 +42,9 @@
export PYTHONHASHSEED=0
python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ # https://github.com/FFY00/python-install/issues/7
+ sed -i 's/patched_main \[d]/patched_main/' "$pkgdir"/usr/bin/blackd
+
# https://github.com/FFY00/python-install/pull/6
chmod +x "$pkgdir"/usr/bin/*
More information about the arch-commits
mailing list