20 lines
626 B
Plaintext
20 lines
626 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.0.6
|
|
release=1
|
|
source=(https://github.com/wireservice/$name/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
|
|
|
|
}
|