18 lines
686 B
Plaintext
18 lines
686 B
Plaintext
# 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
|
|
# Depends on: python3-agate-dbf python3-agate-excel python3-agate-sql python3-babel python3-dateutil
|
|
|
|
name=python3-csvkit
|
|
version=1.4.0
|
|
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/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
|
|
|
|
rm $PKG/usr/lib/python3*/site-packages/csvkit*.dist-info/{INSTALLER,COPYING,AUTHORS.rst}
|
|
}
|