cruxports/python3-agate/Pkgfile

18 lines
683 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-isodate python3-leather python3-parsedatetime python3-pyicu python3-pytimeparse python3-slugify
name=python3-agate
version=1.10.2
release=1
source=(https://github.com/wireservice/${name##python3-}/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
cd agate-$version
/usr/bin/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
rm $PKG/usr/lib/python3*/site-packages/agate*.dist-info/{INSTALLER,COPYING,REQUESTED,AUTHORS.rst}
}