cruxports/python3-openpyxl/Pkgfile

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