cruxports/python3-openpyxl/Pkgfile

19 lines
514 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# 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
2022-02-18 17:40:09 -05:00
name=python3-openpyxl
version=3.0.9
2022-02-18 17:40:09 -05:00
release=1
source=(https://foss.heptapod.net/${name#*-}/${name#*-}/-/archive/$version/${name#*-}-$version.tar.gz)
2022-02-18 17:40:09 -05:00
build() {
cd ${name#*-}-$version
2022-02-18 17:40:09 -05:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}