# Description: A hatchling plugin to read the description from the package docstring # URL: https://github.com/flying-sheep/hatch-docstring-description # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: python3-hatch-vcs name=python3-hatch-docstring-description version=1.1.1 release=1 source=(https://files.pythonhosted.org/packages/source/h/hatch-docstring-description/hatch_docstring_description-$version.tar.gz) build() { cd hatch_docstring_description-$version /usr/bin/pip3 install --isolate --root="$PKG" --ignore-installed --no-deps . find $PKG \( -iname "README*" -o \ -iname INSTALLER -o \ -iname REQUESTED -o \ -iname "LICENSE*" \) -delete chmod -R g-w $PKG }