cruxports/python3-agate/Pkgfile

20 lines
640 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.7.1
release=1
source=(https://github.com/wireservice/${name##python3-}/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
cd ${name#python3-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}