cruxports/python3-openpyxl/Pkgfile

18 lines
528 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
2024-06-18 09:30:10 -04:00
version=3.1.3
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() {
2024-06-18 09:30:10 -04:00
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
2022-02-18 17:40:09 -05:00
2024-06-18 09:30:10 -04:00
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
2022-02-18 17:40:09 -05:00
}