cruxports/python3-csvkit/Pkgfile

19 lines
635 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-06-02 08:42:15 -04:00
version=1.1.1
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() {
cd ${name#python3-}-$version
2022-02-18 17:40:09 -05:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}