python3-yapf: update to 0.40.2.

This commit is contained in:
icp 2023-09-25 11:22:38 +05:30 committed by classabbyamp
parent 908174a7a1
commit 9a4c3f7568

View file

@ -1,9 +1,9 @@
# Template file for 'python3-yapf' # Template file for 'python3-yapf'
pkgname=python3-yapf pkgname=python3-yapf
version=0.40.1 version=0.40.2
revision=2 revision=1
build_style=python3-module build_style=python3-pep517
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools python3-wheel"
depends="python3-importlib_metadata python3-platformdirs python3-tomli" depends="python3-importlib_metadata python3-platformdirs python3-tomli"
checkdepends="${depends} python3-pytest" checkdepends="${depends} python3-pytest"
short_desc="Formatter for Python code" short_desc="Formatter for Python code"
@ -12,8 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/google/yapf" homepage="https://github.com/google/yapf"
changelog="https://raw.githubusercontent.com/google/yapf/main/CHANGELOG" changelog="https://raw.githubusercontent.com/google/yapf/main/CHANGELOG"
distfiles="${PYPI_SITE}/y/yapf/yapf-${version}.tar.gz" distfiles="${PYPI_SITE}/y/yapf/yapf-${version}.tar.gz"
checksum=958587eb5c8ec6c860119a9c25d02addf30a44f75aa152a4220d30e56a98037c checksum=4dab8a5ed7134e26d57c1647c7483afb3f136878b579062b786c9ba16b94637b
post_install() {
chmod -R a+r "${DESTDIR}/${py3_sitelib}/yapf-${version}-py${py3_ver}.egg-info/"
}