Files
cruxports/python3-leather/Pkgfile

19 lines
670 B
Plaintext

# Description: python module for making quick charts
# URL: https://github.com/wireservice/leather
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-build
name=python3-leather
version=0.4.1
release=1
_commit=849cf129d7eae1e42f873f2dbd60323267c738390b686a7384fb3fb289ad
source=(https://files.pythonhosted.org/packages/9e/09/$_commit/leather-$version.tar.gz)
build() {
cd leather-$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/leather-$version.dist-info/licenses
}