20 lines
518 B
Plaintext
20 lines
518 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-setuptools
|
|
|
|
name=python3-xlrd
|
|
version=2.0.1
|
|
release=1
|
|
source=(https://github.com/python-excel/${name#*-}/archive/refs/tags/$version.tar.gz)
|
|
renames=($name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name#*-}-$version
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --skip-build \
|
|
--optimize=1 --prefix=/usr --root=$PKG
|
|
|
|
}
|