# Description: small python library for parsing time expressions # URL: https://github.com/wroberts/pytimeparse # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: python3-build name=python3-pytimeparse version=1.1.8 release=1 source=(https://github.com/wroberts/${name##python3-}/releases/download/$version/${name##python3-}-$version.tar.gz) build() { cd ${name##python3-}-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --compile-bytecode 2 --destdir="$PKG" dist/*.whl rm -rf "$PKG"/usr/lib/python3.12/site-packages/pytimeparse-$version.dist-info/licenses }