[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, September 6, 2022 @ 06:26:34 Author: polyzen Revision: 1294182 upgpkg: python-black 22.8.0-2: Install blackd completions Fixes FS#75820 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2022-09-06 05:38:23 UTC (rev 1294181) +++ PKGBUILD2022-09-06 06:26:34 UTC (rev 1294182) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=22.8.0 -pkgrel=1 +pkgrel=2 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -32,6 +32,8 @@ cd "black-$pkgver" python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl + # https://github.com/psf/black/issues/3251#issuecomment-1236413890 + ulimit -n 2048 PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest } @@ -54,6 +56,12 @@ "$pkgdir/usr/share/fish/vendor_completions.d/black.fish" _BLACK_COMPLETE=zsh_source test-env/bin/black > \ "$pkgdir/usr/share/zsh/site-functions/_black" + _BLACKD_COMPLETE=bash_source test-env/bin/blackd > \ +"$pkgdir/usr/share/bash-completion/completions/black" + _BLACKD_COMPLETE=fish_source test-env/bin/blackd > \ +"$pkgdir/usr/share/fish/vendor_completions.d/black.fish" + _BLACKD_COMPLETE=zsh_source test-env/bin/blackd > \ +"$pkgdir/usr/share/zsh/site-functions/_black" # Vim plugin install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/plugin" plugin/black.vim
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Thursday, September 1, 2022 @ 18:54:04 Author: polyzen Revision: 1290397 upgpkg: python-black 22.8.0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-09-01 18:49:31 UTC (rev 1290396) +++ PKGBUILD2022-09-01 18:54:04 UTC (rev 1290397) @@ -3,8 +3,8 @@ # Contributor: James Zhu pkgname=python-black -pkgver=22.6.0 -pkgrel=2 +pkgver=22.8.0 +pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -20,8 +20,8 @@ 'python-aiohttp: for the blackd HTTP server' 'python-colorama: for colored diffs') source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";) -sha256sums=('6c6d39e28aed379aec40da1c65434c77d75e65bb59a1e1c283de545fb4e7c6c9') -b2sums=('d85a4e74db0b842b00145038aac2815e13ff84207649af038421810edfb0efcae76f938d4a8ec49d81c4b017dfb0c24cc87333e879e609a123aaa86b956aebcf') +sha256sums=('792f7eb540ba9a17e8656538701d3eb1afcb134e3b45b71f20b25c77a8db7e6e') +b2sums=('47f449896b26fb7a5ae2ed7ca4d8cddc1b918078b922723a66b021aabf5496f15348a0f911ed900ddb57562986f7abe08a3f4dd5800d95820f1f1d19da2d8c6e') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Saturday, August 27, 2022 @ 20:21:15 Author: polyzen Revision: 1284885 upgpkg: python-black 22.6.0-2 Install completions Fixes FS#75705 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-08-27 19:07:06 UTC (rev 1284884) +++ PKGBUILD2022-08-27 20:21:15 UTC (rev 1284885) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=22.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -45,9 +45,19 @@ ln -s "$site_packages"/black-$pkgver.dist-info/LICENSE \ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - # vim plugin - install -Dm644 plugin/black.vim "$pkgdir/usr/share/vim/vimfiles/plugin/black.vim" - install -Dm644 autoload/black.vim "$pkgdir/usr/share/vim/vimfiles/autoload/black.vim" + # Completions + install -vd \ + "$pkgdir/usr/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions} + _BLACK_COMPLETE=bash_source test-env/bin/black > \ +"$pkgdir/usr/share/bash-completion/completions/black" + _BLACK_COMPLETE=fish_source test-env/bin/black > \ +"$pkgdir/usr/share/fish/vendor_completions.d/black.fish" + _BLACK_COMPLETE=zsh_source test-env/bin/black > \ +"$pkgdir/usr/share/zsh/site-functions/_black" + + # Vim plugin + install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/plugin" plugin/black.vim + install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/autoload" autoload/black.vim } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, June 28, 2022 @ 01:02:21 Author: polyzen Revision: 1239796 upgpkg: python-black 22.6.0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-06-28 00:09:32 UTC (rev 1239795) +++ PKGBUILD2022-06-28 01:02:21 UTC (rev 1239796) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=22.3.0 +pkgver=22.6.0 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -20,8 +20,8 @@ 'python-aiohttp: for the blackd HTTP server' 'python-colorama: for colored diffs') source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";) -sha256sums=('35020b8886c022ced9282b51b5a875b6d1ab0c387b31a065b84db7c33085ca79') -b2sums=('f35a285b622ac642a5be8ea51c27e448a5a27b427f577f11d2fd384e2e182d0552d554f672d0f4f73e8272a269352b0154b4baaf2bf3de5d765a6685a3f918cd') +sha256sums=('6c6d39e28aed379aec40da1c65434c77d75e65bb59a1e1c283de545fb4e7c6c9') +b2sums=('d85a4e74db0b842b00145038aac2815e13ff84207649af038421810edfb0efcae76f938d4a8ec49d81c4b017dfb0c24cc87333e879e609a123aaa86b956aebcf') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Monday, March 28, 2022 @ 20:22:56 Author: polyzen Revision: 1177402 upgpkg: python-black 22.3.0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-03-28 19:56:26 UTC (rev 1177401) +++ PKGBUILD2022-03-28 20:22:56 UTC (rev 1177402) @@ -3,8 +3,8 @@ # Contributor: James Zhu pkgname=python-black -pkgver=22.1.0 -pkgrel=2 +pkgver=22.3.0 +pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -20,8 +20,8 @@ 'python-aiohttp: for the blackd HTTP server' 'python-colorama: for colored diffs') source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";) -sha256sums=('a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5') -b2sums=('010f04e01f920f79b27d2dfcf3cda3185f6a4ef24f710af41629856dc0baff011393733c90585dc4b12494b983cf628e480adaee05d2d44736dbce26732388e3') +sha256sums=('35020b8886c022ced9282b51b5a875b6d1ab0c387b31a065b84db7c33085ca79') +b2sums=('f35a285b622ac642a5be8ea51c27e448a5a27b427f577f11d2fd384e2e182d0552d554f672d0f4f73e8272a269352b0154b4baaf2bf3de5d765a6685a3f918cd') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Monday, February 7, 2022 @ 17:02:16 Author: maximbaz Revision: 1128347 python-black: add vim autoload, FS#73024 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2022-02-07 17:00:37 UTC (rev 1128346) +++ PKGBUILD2022-02-07 17:02:16 UTC (rev 1128347) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=22.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -54,6 +54,7 @@ # vim plugin install -Dm644 plugin/black.vim "$pkgdir/usr/share/vim/vimfiles/plugin/black.vim" + install -Dm644 autoload/black.vim "$pkgdir/usr/share/vim/vimfiles/autoload/black.vim" } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Saturday, January 29, 2022 @ 23:30:48 Author: polyzen Revision: 1120004 upgpkg: python-black 22.1.0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-01-29 23:11:11 UTC (rev 1120003) +++ PKGBUILD2022-01-29 23:30:48 UTC (rev 1120004) @@ -3,8 +3,8 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.12b0 -pkgrel=4 +pkgver=22.1.0 +pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -18,20 +18,11 @@ optdepends=('ipython: for Jupyter notebook support' 'python-tokenize-rt: for Jupyter notebook support' 'python-aiohttp: for the blackd HTTP server' -'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"; - 'black-tomli2-compat.patch::https://github.com/psf/black/commit/389e9c23a9e622ee6090d902cc5f56c5f76cdee9.patch') -sha256sums=('77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3' -'72c9e6bd7576d1dbe38e2344f02efc28a0232c17b28634065adcf5b0df0d36fb') -b2sums=('95a00f89ba76a49050a5699531dac54fb08023337b69ee6c65eadf36e29e8389a7546dadb0e8a9e64e31ee551b22822ecc2507f3f57a816589784689114c567e' - '8ed3f7fbeee76ed60b78d7502e89c6067448842dd733a02775dd6e1c06989300760766a12019d041d3bf4419135c8d85027d86e60647d9529e1590bf2fd5a6b9') +'python-colorama: for colored diffs') +source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";) +sha256sums=('a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5') +b2sums=('010f04e01f920f79b27d2dfcf3cda3185f6a4ef24f710af41629856dc0baff011393733c90585dc4b12494b983cf628e480adaee05d2d44736dbce26732388e3') -prepare() { - cd "black-$pkgver" - patch --forward --strip=1 --input=../black-tomli2-compat.patch || true -} - build() { cd "black-$pkgver" python -m build --wheel --skip-dependency-check --no-isolation @@ -42,7 +33,7 @@ python -m venv --system-site-packages test-env test-env/bin/python -m install --optimize=1 dist/*.whl chmod +x test-env/bin/black # https://github.com/FFY00/python-install/pull/6 - PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest --run-optional no_python2 + PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest } package() {
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Thursday, January 13, 2022 @ 03:33:55 Author: polyzen Revision: 1101783 upgpkg: python-black 21.12b0-4: Support tomli up to 3.0.0 Fixes use with python-tomli 2.0.0 in community-testing. Currently next release is slated to remove upper bounds limits for dependencies. Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 16 1 file changed, 12 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2022-01-13 00:37:01 UTC (rev 1101782) +++ PKGBUILD2022-01-13 03:33:55 UTC (rev 1101783) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=21.12b0 -pkgrel=3 +pkgrel=4 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -20,10 +20,18 @@ 'python-aiohttp: for the blackd HTTP server' '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=('77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3') -b2sums=('95a00f89ba76a49050a5699531dac54fb08023337b69ee6c65eadf36e29e8389a7546dadb0e8a9e64e31ee551b22822ecc2507f3f57a816589784689114c567e') +source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz"; + 'black-tomli2-compat.patch::https://github.com/psf/black/commit/389e9c23a9e622ee6090d902cc5f56c5f76cdee9.patch') +sha256sums=('77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3' +'72c9e6bd7576d1dbe38e2344f02efc28a0232c17b28634065adcf5b0df0d36fb') +b2sums=('95a00f89ba76a49050a5699531dac54fb08023337b69ee6c65eadf36e29e8389a7546dadb0e8a9e64e31ee551b22822ecc2507f3f57a816589784689114c567e' + '8ed3f7fbeee76ed60b78d7502e89c6067448842dd733a02775dd6e1c06989300760766a12019d041d3bf4419135c8d85027d86e60647d9529e1590bf2fd5a6b9') +prepare() { + cd "black-$pkgver" + patch --forward --strip=1 --input=../black-tomli2-compat.patch || true +} + build() { cd "black-$pkgver" python -m build --wheel --skip-dependency-check --no-isolation
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Monday, January 10, 2022 @ 15:07:28 Author: maximbaz Revision: 1099322 python-black: package vim plugin Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2022-01-10 15:04:47 UTC (rev 1099321) +++ PKGBUILD2022-01-10 15:07:28 UTC (rev 1099322) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=21.12b0 -pkgrel=2 +pkgrel=3 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -52,6 +52,9 @@ install -d "$pkgdir"/usr/share/licenses/$pkgname ln -s "$site_packages"/black-$pkgver.dist-info/LICENSE \ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + # vim plugin + install -Dm644 plugin/black.vim "$pkgdir/usr/share/vim/vimfiles/plugin/black.vim" } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, December 7, 2021 @ 03:08:47 Author: polyzen Revision: 1065443 upgpkg: python-black 21.12b0-2 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-12-07 03:07:57 UTC (rev 1065442) +++ PKGBUILD2021-12-07 03:08:47 UTC (rev 1065443) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=21.12b0 -pkgrel=1 +pkgrel=2 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, December 7, 2021 @ 03:07:38 Author: polyzen Revision: 1065441 upgpkg: python-black 21.12b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-12-07 02:58:05 UTC (rev 1065440) +++ PKGBUILD2021-12-07 03:07:38 UTC (rev 1065441) @@ -3,15 +3,14 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.11b1 -pkgrel=3 +pkgver=21.12b0 +pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black license=('MIT') depends=('python' 'python-click' 'python-mypy_extensions' 'python-pathspec' - 'python-platformdirs' 'python-regex' 'python-tomli' - 'python-typing_extensions') + 'python-platformdirs' 'python-tomli' 'python-typing_extensions') makedepends=('python-build' 'python-install' 'python-setuptools-scm' 'python-wheel') checkdepends=('ipython' 'python-aiohttp' 'python-parameterized' 'python-pytest' @@ -22,8 +21,8 @@ '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=('a042adbb18b3262faad5aff4e834ff186bb893f95ba3a8013f09de1e5569def2') -b2sums=('cf0bcca299a3f1739650c52c0e3d86ade9810a8d907083f77a5329c9458b7f74a0331a7a6fb48247e64b204722217611607a606832b0888480a5661857663d6d') +sha256sums=('77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3') +b2sums=('95a00f89ba76a49050a5699531dac54fb08023337b69ee6c65eadf36e29e8389a7546dadb0e8a9e64e31ee551b22822ecc2507f3f57a816589784689114c567e') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Thursday, December 2, 2021 @ 21:37:23 Author: foutrelis Revision: 1062617 upgpkg: python-black 21.11b1-3: Python 3.10 rebuild Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-12-02 21:37:20 UTC (rev 1062616) +++ PKGBUILD2021-12-02 21:37:23 UTC (rev 1062617) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=21.11b1 -pkgrel=2 +pkgrel=3 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Wednesday, December 1, 2021 @ 00:35:50 Author: foutrelis Revision: 1059088 upgpkg: python-black 21.11b1-2: Python 3.10 rebuild Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-12-01 00:34:30 UTC (rev 1059087) +++ PKGBUILD2021-12-01 00:35:50 UTC (rev 1059088) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=21.11b1 -pkgrel=1 +pkgrel=2 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Thursday, November 18, 2021 @ 04:48:25 Author: polyzen Revision: 1051940 upgpkg: python-black 21.11b1-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-11-18 04:48:20 UTC (rev 1051939) +++ PKGBUILD2021-11-18 04:48:25 UTC (rev 1051940) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.11b0 +pkgver=21.11b1 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -22,8 +22,8 @@ '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=('83f3852301c8dcb229e9c444dd79f573c8d31c7c2dad9bbaaa94c808630e32aa') -b2sums=('d166fa43e08023ffdfacac64f6fbac6596a307934126cafa571f28578065e730ad7e07407dd587145119193691d9d5a1d81ee7ccfce927d7c5b32324a2b73711') +sha256sums=('a042adbb18b3262faad5aff4e834ff186bb893f95ba3a8013f09de1e5569def2') +b2sums=('cf0bcca299a3f1739650c52c0e3d86ade9810a8d907083f77a5329c9458b7f74a0331a7a6fb48247e64b204722217611607a606832b0888480a5661857663d6d') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Wednesday, November 17, 2021 @ 05:10:35 Author: polyzen Revision: 1049622 upgpkg: python-black 21.11b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-11-17 05:09:52 UTC (rev 1049621) +++ PKGBUILD2021-11-17 05:10:35 UTC (rev 1049622) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.10b0 +pkgver=21.11b0 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -22,8 +22,8 @@ '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=('a9952229092e325fe5f3dae56d81f639b23f7131eb840781947e4b2886030f33') -b2sums=('3ebd557b8fd26675f808cbb35cbcc586b86f3d432fb24196b423adcb50f5095b1e0c3eb938b1b5c06a73727fcf348110c9a5a7e7548503124640a25894795e5e') +sha256sums=('83f3852301c8dcb229e9c444dd79f573c8d31c7c2dad9bbaaa94c808630e32aa') +b2sums=('d166fa43e08023ffdfacac64f6fbac6596a307934126cafa571f28578065e730ad7e07407dd587145119193691d9d5a1d81ee7ccfce927d7c5b32324a2b73711') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Monday, November 1, 2021 @ 17:40:02 Author: polyzen Revision: 1035212 upgpkg: python-black 21.10b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-11-01 17:34:46 UTC (rev 1035211) +++ PKGBUILD2021-11-01 17:40:02 UTC (rev 1035212) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.9b0 +pkgver=21.10b0 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -14,18 +14,16 @@ 'python-typing_extensions') makedepends=('python-build' 'python-install' 'python-setuptools-scm' 'python-wheel') -checkdepends=('ipython' 'python-aiohttp' 'python-aiohttp-cors' - 'python-parameterized' 'python-pytest' 'python-typed-ast' - 'python-tokenize-rt') +checkdepends=('ipython' 'python-aiohttp' 'python-parameterized' 'python-pytest' + 'python-typed-ast' 'python-tokenize-rt') optdepends=('ipython: for Jupyter notebook support' 'python-tokenize-rt: for Jupyter notebook support' 'python-aiohttp: for the blackd HTTP server' -'python-aiohttp-cors: for the blackd HTTP server' '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=('7de4cfc7eb6b710de325712d40125689101d21d25283eed7e9998722cf10eb91') -b2sums=('1605393a0d830b6a270b7e4696ebbcf883d0273551910ac7e04b81e87d104d5340e78e29af67f6e3b99c7fa853a0578cc347bc9668c91e173adf40c774f301bd') +sha256sums=('a9952229092e325fe5f3dae56d81f639b23f7131eb840781947e4b2886030f33') +b2sums=('3ebd557b8fd26675f808cbb35cbcc586b86f3d432fb24196b423adcb50f5095b1e0c3eb938b1b5c06a73727fcf348110c9a5a7e7548503124640a25894795e5e') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Saturday, October 30, 2021 @ 00:43:39 Author: maximbaz Revision: 1034935 upgpkg: python-black 21.9b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-10-30 00:37:41 UTC (rev 1034934) +++ PKGBUILD2021-10-30 00:43:39 UTC (rev 1034935) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.8b0 +pkgver=21.9b0 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -24,8 +24,8 @@ '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=('570608d28aa3af1792b98c4a337dbac6367877b47b12b88ab42095cfc1a627c2') -b2sums=('5028edb7ff82ec2840aa4f32311ede415ee998c0e29a085760fdf59538aca2ff18dba102e37d382da4bda6f550b9dfaf362f9fe86561eabef56ea7731168757e') +sha256sums=('7de4cfc7eb6b710de325712d40125689101d21d25283eed7e9998722cf10eb91') +b2sums=('1605393a0d830b6a270b7e4696ebbcf883d0273551910ac7e04b81e87d104d5340e78e29af67f6e3b99c7fa853a0578cc347bc9668c91e173adf40c774f301bd') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, August 31, 2021 @ 01:30:47 Author: polyzen Revision: 1010115 upgpkg: python-black 21.8b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 20 1 file changed, 12 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-08-31 01:30:05 UTC (rev 1010114) +++ PKGBUILD2021-08-31 01:30:47 UTC (rev 1010115) @@ -3,25 +3,29 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.7b0 +pkgver=21.8b0 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-tomli') +depends=('python' 'python-click' 'python-mypy_extensions' 'python-pathspec' + 'python-platformdirs' 'python-regex' 'python-tomli' + 'python-typing_extensions') makedepends=('python-build' 'python-install' 'python-setuptools-scm' 'python-wheel') -checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-parameterized' - 'python-pytest' 'python-typed-ast') -optdepends=('python-aiohttp: for the blackd HTTP server' +checkdepends=('ipython' 'python-aiohttp' 'python-aiohttp-cors' + 'python-parameterized' 'python-pytest' 'python-typed-ast' + 'python-tokenize-rt') +optdepends=('ipython: for Jupyter notebook support' +'python-tokenize-rt: for Jupyter notebook support' +'python-aiohttp: for the blackd HTTP server' 'python-aiohttp-cors: for the blackd HTTP server' '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=('c8373c6491de9362e39271630b65b964607bc5c79c83783547d76c839b3aa219') -b2sums=('136cfbcc10081616eafc858eae56c9f57af8fbf6a006fa567dd5f80fa57ac7ade7ec26333cf95d6a00330a6997201c119d80495d3800134f3e8508b883c3af90') +sha256sums=('570608d28aa3af1792b98c4a337dbac6367877b47b12b88ab42095cfc1a627c2') +b2sums=('5028edb7ff82ec2840aa4f32311ede415ee998c0e29a085760fdf59538aca2ff18dba102e37d382da4bda6f550b9dfaf362f9fe86561eabef56ea7731168757e') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Thursday, July 22, 2021 @ 07:10:56 Author: polyzen Revision: 982965 upgpkg: python-black 21.7b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-07-22 07:08:37 UTC (rev 982964) +++ PKGBUILD2021-07-22 07:10:56 UTC (rev 982965) @@ -3,15 +3,15 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.6b0 -pkgrel=3 +pkgver=21.7b0 +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') -makedepends=('python-build' 'python-setuptools-scm' 'python-install' + 'python-pathspec' 'python-regex' 'python-tomli') +makedepends=('python-build' 'python-install' 'python-setuptools-scm' 'python-wheel') checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-parameterized' 'python-pytest' 'python-typed-ast') @@ -20,8 +20,8 @@ '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=('dc132348a88d103016726fe360cb9ede02cecf99b76e3660ce6c596be132ce04') -b2sums=('eea45713453320667254c135cd2216357e4bddfde3626eaae0f47148548bebd1b0b7952f034bad6c2d3802687a6541fbdab660a21eefa5f113656da39006cdaf') +sha256sums=('c8373c6491de9362e39271630b65b964607bc5c79c83783547d76c839b3aa219') +b2sums=('136cfbcc10081616eafc858eae56c9f57af8fbf6a006fa567dd5f80fa57ac7ade7ec26333cf95d6a00330a6997201c119d80495d3800134f3e8508b883c3af90') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
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 === --- PKGBUILD2021-06-25 21:16:49 UTC (rev 967461) +++ PKGBUILD2021-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/*
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Friday, June 11, 2021 @ 04:32:58 Author: polyzen Revision: 962030 upgpkg: python-black 21.6b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-11 04:32:12 UTC (rev 962029) +++ PKGBUILD2021-06-11 04:32:58 UTC (rev 962030) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.5b2 +pkgver=21.6b0 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -19,8 +19,8 @@ '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=('1fc0e0a2c8ae7d269dfcf0c60a89afa299664f3e811395d40b1922dff8f854b5') -b2sums=('c851ef79fcac6e69879f19e4c488765f6d129f4c0948b7201ebc901a11d891de664825a25cb2bd21acbaca636ad4ac19e6e6ba0bb8a68fb3fce8b97ad5a2e432') +sha256sums=('dc132348a88d103016726fe360cb9ede02cecf99b76e3660ce6c596be132ce04') +b2sums=('eea45713453320667254c135cd2216357e4bddfde3626eaae0f47148548bebd1b0b7952f034bad6c2d3802687a6541fbdab660a21eefa5f113656da39006cdaf') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, June 1, 2021 @ 18:55:19 Author: maximbaz Revision: 953059 upgpkg: python-black 21.5b2-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-01 18:49:30 UTC (rev 953058) +++ PKGBUILD2021-06-01 18:55:19 UTC (rev 953059) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.5b1 +pkgver=21.5b2 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -19,8 +19,8 @@ '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=('23695358dbcb3deafe7f0a3ad89feee5999a46be5fec21f4f1d108be0bcdb3b1') -b2sums=('68f05cf7d772f7cbc3b4ab96abe62583e21af37ae1b47e65b041af01147e83402eb018ee16bf27082658fa8eef6ed2da842aa43ba698fbd7b575ef89d4959e32') +sha256sums=('1fc0e0a2c8ae7d269dfcf0c60a89afa299664f3e811395d40b1922dff8f854b5') +b2sums=('c851ef79fcac6e69879f19e4c488765f6d129f4c0948b7201ebc901a11d891de664825a25cb2bd21acbaca636ad4ac19e6e6ba0bb8a68fb3fce8b97ad5a2e432') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Monday, May 10, 2021 @ 22:15:50 Author: polyzen Revision: 929632 upgpkg: python-black 21.5b1-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-05-10 21:34:56 UTC (rev 929631) +++ PKGBUILD2021-05-10 22:15:50 UTC (rev 929632) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.5b0 +pkgver=21.5b1 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -19,8 +19,8 @@ '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=('9dc2042018ca10735366d944c2c12d9cad6dec74a3d5f679d09384ea185d9943') -b2sums=('1f6f18f56cfe948c8efe9589b357b7ef957bf4bf79417e539ee52e9ce42a7056b482b1599f39e719cab1e35a48d43ecea33396ae52c2d341689e884513cc4867') +sha256sums=('23695358dbcb3deafe7f0a3ad89feee5999a46be5fec21f4f1d108be0bcdb3b1') +b2sums=('68f05cf7d772f7cbc3b4ab96abe62583e21af37ae1b47e65b041af01147e83402eb018ee16bf27082658fa8eef6ed2da842aa43ba698fbd7b575ef89d4959e32') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, May 4, 2021 @ 22:44:40 Author: polyzen Revision: 927407 upgpkg: python-black 21.5b0-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-05-04 19:05:37 UTC (rev 927406) +++ PKGBUILD2021-05-04 22:44:40 UTC (rev 927407) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.4b2 +pkgver=21.5b0 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -12,14 +12,15 @@ depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions' 'python-pathspec' 'python-regex' 'python-toml') makedepends=('python-setuptools-scm') -checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-typed-ast') +checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-parameterized' + 'python-pytest' 'python-typed-ast') optdepends=('python-aiohttp: for the blackd HTTP server' 'python-aiohttp-cors: for the blackd HTTP server' '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=('fc9bcf3b482b05c1f35f6a882c079dc01b9c7795827532f4cc43c0ec88067bbc') -b2sums=('1fb806e6b2a03204ad488294afaa1b4a1f9d9a4ff9e7c55a7aa08b3c4749f11e7592959e40de5a084594c34d81b5fb6b0e4d0c502ac9dc7c6b20f232cd311edc') +sha256sums=('9dc2042018ca10735366d944c2c12d9cad6dec74a3d5f679d09384ea185d9943') +b2sums=('1f6f18f56cfe948c8efe9589b357b7ef957bf4bf79417e539ee52e9ce42a7056b482b1599f39e719cab1e35a48d43ecea33396ae52c2d341689e884513cc4867') build() { cd "black-$pkgver" @@ -29,9 +30,9 @@ check() { cd "black-$pkgver" mkdir -p temp - local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") python setup.py install --skip-build --root=temp - PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python -m unittest tests/test_black.py + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests -m "not without_python2" } package() {
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Friday, April 30, 2021 @ 06:51:05 Author: polyzen Revision: 925321 upgpkg: python-black 21.4b2-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-04-30 04:55:20 UTC (rev 925320) +++ PKGBUILD2021-04-30 06:51:05 UTC (rev 925321) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.4b1 +pkgver=21.4b2 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -18,8 +18,8 @@ '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=('20d326de75d13be6290925a95c94a9f368aca2f71cb7b753a938a5ae20f34a37') -b2sums=('c3417b5a7d87f5c19791030a26b1dce460d8082fd3719c595d4441ccf46520053a99d74a23eb090af692661e16584886a25c04bcb60ecdd6748a1c9043f5df25') +sha256sums=('fc9bcf3b482b05c1f35f6a882c079dc01b9c7795827532f4cc43c0ec88067bbc') +b2sums=('1fb806e6b2a03204ad488294afaa1b4a1f9d9a4ff9e7c55a7aa08b3c4749f11e7592959e40de5a084594c34d81b5fb6b0e4d0c502ac9dc7c6b20f232cd311edc') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, April 27, 2021 @ 19:53:34 Author: polyzen Revision: 924830 upgpkg: python-black 21.4b1-1 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-04-27 19:52:40 UTC (rev 924829) +++ PKGBUILD2021-04-27 19:53:34 UTC (rev 924830) @@ -3,7 +3,7 @@ # Contributor: James Zhu pkgname=python-black -pkgver=21.4b0 +pkgver=21.4b1 pkgrel=1 pkgdesc='Uncompromising Python code formatter' arch=('any') @@ -18,8 +18,8 @@ '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') +sha256sums=('20d326de75d13be6290925a95c94a9f368aca2f71cb7b753a938a5ae20f34a37') +b2sums=('c3417b5a7d87f5c19791030a26b1dce460d8082fd3719c595d4441ccf46520053a99d74a23eb090af692661e16584886a25c04bcb60ecdd6748a1c9043f5df25') build() { cd "black-$pkgver"
[arch-commits] Commit in python-black/trunk (PKGBUILD)
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 === --- PKGBUILD2021-04-26 03:32:24 UTC (rev 924482) +++ PKGBUILD2021-04-26 04:22:55 UTC (rev 924483) @@ -3,32 +3,24 @@ # Contributor: James Zhu 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=('1c02557aa099101b9d21496f8a914e9edef70336404eeeac8edba836fbea' -'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
[arch-commits] Commit in python-black/trunk (PKGBUILD)
Date: Tuesday, February 9, 2021 @ 05:47:37 Author: polyzen Revision: 850789 upgpkg: python-black 20.8b1-6: Reduce deps - Move setuptools(-scm) to makedeps https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/ - Remove typing-extensions dep https://github.com/psf/black/pull/1873 Modified: python-black/trunk/PKGBUILD --+ PKGBUILD | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-02-09 01:06:31 UTC (rev 850788) +++ PKGBUILD2021-02-09 05:47:37 UTC (rev 850789) @@ -4,21 +4,31 @@ pkgname=python-black pkgver=20.8b1 -pkgrel=5 +pkgrel=6 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-setuptools' 'python-toml' - 'python-typed-ast' 'python-typing_extensions') + 'python-pathspec' 'python-regex' 'python-toml' 'python-typed-ast') +makedepends=('python-setuptools-scm') checkdepends=('python-aiohttp' 'python-aiohttp-cors') 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";) -sha256sums=('1c02557aa099101b9d21496f8a914e9edef70336404eeeac8edba836fbea') +source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz"; + 'https://github.com/psf/black/pull/1873/commits/794bb3be687d22bb0a7c5cc6c9e992de7fcfcf7b.patch') +sha256sums=('1c02557aa099101b9d21496f8a914e9edef70336404eeeac8edba836fbea' +'ee2ff73e2cb890debd5ecf3b1072d29024c7de9b45faf8f023f6214755dccaea') +b2sums=('f5c4755c5e07c63954041fb437b6dc54ae1aa062e58e0bff2d421b617974b7fdff44a6630beccbed6670b8f07880fafe0fec7c9ce7b170af078a2b15d230e21e' + '7f8974d7ba6003316abb0437e63970fddb32d1155c8c3831915e559f694061bd73a56ad8957d56ebce346a3d98befc8644b17ca2e4f86405da4c6233ca2abd30') +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