27 lines
802 B
Plaintext
27 lines
802 B
Plaintext
# Description: hooks for working with Excel files in python3-agate
|
|
# URL: https://github.com/wireservice/agate-excel/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: python3-agate python3-olefile python3-openpyxl python3-xlrd
|
|
|
|
name=python3-agate-excel
|
|
version=0.4.1
|
|
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/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/pip3 install --isolate --root=$PKG \
|
|
--no-deps --ignore-installed dist/*.whl
|
|
|
|
find $PKG \( \
|
|
-iname "COPYING*" -o \
|
|
-iname "LICENSE*" -o \
|
|
-iname "*README*" -o \
|
|
-iname "INSTALLER" -o \
|
|
-iname "REQUESTED" \
|
|
\) -delete
|
|
}
|