19 lines
629 B
Bash
19 lines
629 B
Bash
# Template file for 'python3-yapf'
|
|
pkgname=python3-yapf
|
|
version=0.33.0
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-tomli"
|
|
short_desc="Formatter for Python code"
|
|
maintainer="RinsedSloth <afernandezh@protonmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/google/yapf"
|
|
changelog="https://raw.githubusercontent.com/google/yapf/main/CHANGELOG"
|
|
distfiles="${PYPI_SITE}/y/yapf/yapf-${version}.tar.gz"
|
|
checksum=da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a
|
|
|
|
post_install() {
|
|
chmod -R a+r "${DESTDIR}/${py3_sitelib}/yapf-${version}-py${py3_ver}.egg-info/"
|
|
}
|