cruxports/python3-agate/Pkgfile

18 lines
672 B
Plaintext
Raw Normal View History

2022-02-18 22:40:09 +00:00
# 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
2022-04-26 11:51:12 +00:00
# Depends on: python3-isodate python3-leather python3-parsedatetime python3-pyicu python3-pytimeparse python3-slugify
2022-02-18 22:40:09 +00:00
name=python3-agate
2023-12-29 12:40:18 +00:00
version=1.9.1
2022-02-18 22:40:09 +00:00
release=1
source=(https://github.com/wireservice/${name##python3-}/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
2023-10-21 23:43:56 +00:00
cd agate-$version
/usr/bin/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
2022-02-18 22:40:09 +00:00
2023-10-21 23:43:56 +00:00
rm $PKG/usr/lib/python3*/site-packages/agate*.dist-info/{INSTALLER,COPYING,AUTHORS.rst}
2022-02-18 22:40:09 +00:00
}