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
|
|
|
|
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
|
|
|
|
|
|
|
|
}
|