cruxports/python3-openpyxl/Pkgfile

18 lines
528 B
Plaintext

# Description: python module for reading post-2010 Excel files
# URL: https://foss.heptapod.net/openpyxl/openpyxl
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-et_xmlfile
name=python3-openpyxl
version=3.1.3
release=1
source=(https://foss.heptapod.net/${name#*-}/${name#*-}/-/archive/$version/${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
}