python3-yapf: fix egg-info permission

This commit is contained in:
icp 2023-05-04 02:21:39 +05:30 committed by classabbyamp
parent 54ad93f331
commit d48443c1b9
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python3-yapf' # Template file for 'python3-yapf'
pkgname=python3-yapf pkgname=python3-yapf
version=0.33.0 version=0.33.0
revision=1 revision=2
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-tomli" depends="python3-tomli"
@ -12,3 +12,7 @@ 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=da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a checksum=da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a
post_install() {
chmod -R a+r "${DESTDIR}/${py3_sitelib}/yapf-${version}-py${py3_ver}.egg-info/"
}