Commit 053bad0b authored by Michał Polański's avatar Michał Polański
Browse files

community/black: upgrade to 21.5_beta0

parent 410dd665
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=black
pkgver=21.4_beta2
pkgver=21.5_beta0
_pkgver=${pkgver/_beta/b}
pkgrel=0
pkgdesc="The uncompromising Python code formatter"
......@@ -11,7 +11,7 @@ license="MIT"
depends="python3 py3-click py3-attrs py3-toml py3-appdirs py3-typed-ast py3-regex
py3-pathspec py3-typing-extensions py3-mypy-extensions"
makedepends="py3-setuptools py3-setuptools_scm"
checkdepends="py3-aiohttp py3-aiohttp-cors"
checkdepends="py3-pytest py3-parameterized py3-aiohttp py3-aiohttp-cors"
source="https://files.pythonhosted.org/packages/source/b/black/black-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
......@@ -25,11 +25,13 @@ check() {
PATH="$PWD/test_install/usr/bin:$PATH" \
PYTHONPATH="$(echo $PWD/test_install/usr/lib/python3*/site-packages)" \
python3 -m unittest tests/test_black.py
pytest -m "not without_python2"
}
package() {
python3 setup.py install --root="$pkgdir" --skip-build
}
sha512sums="77866130c85a410cb11d9bcc4bd677e22086d4cfcbba59bc42f0569ecbe92b1e4278d6841e3731fe999d4fdf674dc6d2ec29f7bf2a60fb622fe5abc7f073a80a black-21.4b2.tar.gz"
sha512sums="
ae7f6fe203e7f5a3f4d1ca15d335374aa06e122ded1248bd64c3344d5f36d300941f1cabd77593c357499874b1d3ccd8bc9e82598b2c3125bd793349baece9d5 black-21.5b0.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment