cruxports/python3-agate-excel/Pkgfile

27 lines
802 B
Plaintext
Raw Permalink Normal View History

2022-02-18 17:40:09 -05:00
# 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
2022-04-26 07:51:12 -04:00
# Depends on: python3-agate python3-olefile python3-openpyxl python3-xlrd
2022-02-18 17:40:09 -05:00
name=python3-agate-excel
2023-11-24 19:58:58 -05:00
version=0.4.1
2022-02-18 17:40:09 -05:00
release=1
source=(https://github.com/wireservice/${name##python3-}/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
2023-11-24 19:58:58 -05:00
cd ${name##python3-}-$version
2022-02-18 17:40:09 -05:00
2023-11-24 19:58:58 -05:00
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/pip3 install --isolate --root=$PKG \
--no-deps --ignore-installed dist/*.whl
2024-03-09 07:05:40 -05:00
find $PKG \( \
-iname "COPYING*" -o \
-iname "LICENSE*" -o \
-iname "*README*" -o \
-iname "INSTALLER" -o \
-iname "REQUESTED" \
\) -delete
2022-02-18 17:40:09 -05:00
}