black: update to 21.8b0.
This commit is contained in:
parent
2e06e88f85
commit
832e1d65f4
|
@ -1,18 +1,31 @@
|
|||
# Template file for 'black'
|
||||
pkgname=black
|
||||
version=20.8b1
|
||||
version=21.8b0
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools_scm"
|
||||
depends="python3-appdirs python3-click python3-mypy_extensions
|
||||
python3-pathspec python3-toml python3-regex python3-typed-ast
|
||||
# Disable tests that require `black` in the search path for commands.
|
||||
make_check_args="--deselect tests/test_primer.py::PrimerLibTests::test_gen_check_output
|
||||
--deselect tests/test_primer.py::PrimerLibTests::test_process_queue
|
||||
--deselect tests/test_primer.py::PrimerCLITests::test_async_main"
|
||||
hostmakedepends="python3-setuptools python3-setuptools_scm"
|
||||
depends="python3-click python3-platformdirs python3-tomli
|
||||
python3-mypy_extensions python3-pathspec python3-regex
|
||||
python3-typing_extensions"
|
||||
checkdepends="python3-typed-ast python3-aiohttp python3-aiohttp-cors
|
||||
python3-pytest python3-parameterized python3-ipython python3-tokenize-rt
|
||||
$depends"
|
||||
short_desc="Uncompromising Python code formatter"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/psf/black"
|
||||
changelog="https://raw.githubusercontent.com/psf/black/main/CHANGES.md"
|
||||
distfiles="${PYPI_SITE}/b/black/black-${version}.tar.gz"
|
||||
checksum=1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea
|
||||
checksum=570608d28aa3af1792b98c4a337dbac6367877b47b12b88ab42095cfc1a627c2
|
||||
|
||||
pre_build() {
|
||||
# <https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/black/black-21.8_beta0.ebuild#n45>.
|
||||
vsed -i '/setuptools_scm/s:~=:>=:' setup.cfg
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
site="https://pypi.org/simple/black/"
|
Loading…
Reference in New Issue