# Description: Miscellaneous utility code used by scverse packages # URL: https://github.com/scverse/scverse-misc/tags # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: python3-session-info2 python3-pandas2 name=python3-scverse-misc version=0.1.7 release=1 source=(https://files.pythonhosted.org/packages/source/s/scverse-misc/scverse_misc-$version.tar.gz) build() { cd scverse_misc-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --destdir=$PKG dist/*.whl find $PKG -iname "README*" -delete rm -rf $PKG/usr/lib/python3*/site-packages/*.dist-info/licenses find $PKG -path "*.dist-info/*" -type f \( -iname "LICENSE*" -o -iname "COPYING*" \) -delete chmod -R g-w $PKG }