20 lines
663 B
Plaintext
20 lines
663 B
Plaintext
# Description: python module for reading pre-2010 Excel files
|
|
# URL: https://github.com/python-excel/xlrd/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: python3-build
|
|
|
|
name=python3-xlrd
|
|
version=2.0.2
|
|
release=1
|
|
_commit=377161c2d3538d1990d7af382c79f3b2372e880b65de21b01b1a2b78691e
|
|
source=(https://files.pythonhosted.org/packages/07/5a/$_commit/xlrd-$version.tar.gz)
|
|
|
|
build() {
|
|
cd xlrd-$version
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir="$PKG" dist/*.whl
|
|
|
|
rm -rf "$PKG"/usr/lib/python3.12/site-packages/*.dist-info/{licenses,RECORD}
|
|
}
|