# Description: A Python package providing buffer compression and transformation codecs for use in data storage and communication applications. # URL: https://github.com/zarr-developers/numcodecs/releases # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: python3-numpy python3-py-cpuinfo python3-setuptools-scm python3-typing_extensions name=python3-numcodecs version=0.17.1 release=1 source=(https://files.pythonhosted.org/packages/source/n/numcodecs/numcodecs-$version.tar.gz) build() { cd ${name#*-}-$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 }