Files
cruxports/python3-agate/Pkgfile

20 lines
770 B
Plaintext

# Description: python data analysis library, optimized for humans instead of machines
# URL: https://github.com/wireservice/agate/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-pip python3-isodate python3-leather python3-parsedatetime python3-pyicu python3-pytimeparse python3-slugify
name=python3-agate
version=1.14.1
release=1
_commit=4574604008c4fb513504d341cc0e93e0783ad31fb95a64139b38b729ac7b
source=(https://files.pythonhosted.org/packages/be/dc/$_commit/agate-$version.tar.gz)
build() {
cd agate-$version
/usr/bin/pip3 install --isolate --root="$PKG" --no-deps --ignore-installed .
cd "$PKG"/usr/lib/python3.12/site-packages
mv docs examples agate
rm -rf agate-$version.dist-info/{INSTALLER,RECORD,REQUESTED,licenses}
}