[arch-commits] Commit in python-black/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Mon Apr 26 04:22:55 UTC 2021
Date: Monday, April 26, 2021 @ 04:22:55
Author: polyzen
Revision: 924483
upgpkg: python-black 21.4b0-1
Modified:
python-black/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-26 03:32:24 UTC (rev 924482)
+++ PKGBUILD 2021-04-26 04:22:55 UTC (rev 924483)
@@ -3,32 +3,24 @@
# Contributor: James Zhu <jameszhu at berkeley.edu>
pkgname=python-black
-pkgver=20.8b1
-pkgrel=6
+pkgver=21.4b0
+pkgrel=1
pkgdesc='Uncompromising Python code formatter'
arch=('any')
url=https://github.com/psf/black
license=('MIT')
depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions'
- 'python-pathspec' 'python-regex' 'python-toml' 'python-typed-ast')
+ 'python-pathspec' 'python-regex' 'python-toml')
makedepends=('python-setuptools-scm')
-checkdepends=('python-aiohttp' 'python-aiohttp-cors')
+checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-typed-ast')
optdepends=('python-aiohttp: for the blackd HTTP server'
'python-aiohttp-cors: for the blackd HTTP server'
- 'python-colorama: for colored diffs')
-source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz"
- 'https://github.com/psf/black/pull/1873/commits/794bb3be687d22bb0a7c5cc6c9e992de7fcfcf7b.patch')
-sha256sums=('1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea'
- 'ee2ff73e2cb890debd5ecf3b1072d29024c7de9b45faf8f023f6214755dccaea')
-b2sums=('f5c4755c5e07c63954041fb437b6dc54ae1aa062e58e0bff2d421b617974b7fdff44a6630beccbed6670b8f07880fafe0fec7c9ce7b170af078a2b15d230e21e'
- '7f8974d7ba6003316abb0437e63970fddb32d1155c8c3831915e559f694061bd73a56ad8957d56ebce346a3d98befc8644b17ca2e4f86405da4c6233ca2abd30')
+ 'python-colorama: for colored diffs'
+ 'python-typed-ast: to format Python 2 code')
+source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz")
+sha256sums=('915d916c48646dbe8040d5265cff7111421a60a3dfe7f7e07273176a57c24a34')
+b2sums=('163a1821865de5787844358bd11639a0599807b96889da712d9c1b3b1bdf00051bac5c376c5f05f2eadc6124300cffad1c8f55a423f1fea76d3b8f3400acf9f4')
-prepare() {
- cd "black-$pkgver"
- # Only require typing-extensions if Python < 3.8
- patch --forward --strip=1 --input=../794bb3be687d22bb0a7c5cc6c9e992de7fcfcf7b.patch
-}
-
build() {
cd "black-$pkgver"
python setup.py build
More information about the arch-commits
mailing list