cruxports/python3-csvkit/Pkgfile

18 lines
686 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# Description: utilities for converting to and working with CSV, the king of tabular file formats
# URL: https://github.com/wireservice/csvkit/
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-04-26 07:51:12 -04:00
# Depends on: python3-agate-dbf python3-agate-excel python3-agate-sql python3-babel python3-dateutil
2022-02-18 17:40:09 -05:00
name=python3-csvkit
2023-12-05 20:27:12 -05:00
version=1.3.0
2022-02-18 17:40:09 -05:00
release=1
source=(https://github.com/wireservice/${name#python3-}/archive/refs/tags/$version.tar.gz)
2022-02-18 17:40:09 -05:00
renames=($name-$version.tar.gz)
build() {
2023-12-05 20:27:12 -05:00
cd ${name#python3-}-$version
/usr/bin/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
2022-02-18 17:40:09 -05:00
2023-12-05 20:27:12 -05:00
rm $PKG/usr/lib/python3*/site-packages/csvkit*.dist-info/{INSTALLER,COPYING,AUTHORS.rst}
2022-02-18 17:40:09 -05:00
}