cruxports/python3-xlrd/Pkgfile

20 lines
518 B
Plaintext
Raw Permalink Normal View History

2022-02-18 17:40:09 -05:00
# 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
}