20 lines
704 B
Bash
20 lines
704 B
Bash
# Template file for 'python3-yapf'
|
|
pkgname=python3-yapf
|
|
version=0.40.1
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-importlib_metadata python3-platformdirs python3-tomli"
|
|
checkdepends="${depends} python3-pytest"
|
|
short_desc="Formatter for Python code"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
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=958587eb5c8ec6c860119a9c25d02addf30a44f75aa152a4220d30e56a98037c
|
|
|
|
post_install() {
|
|
chmod -R a+r "${DESTDIR}/${py3_sitelib}/yapf-${version}-py${py3_ver}.egg-info/"
|
|
}
|