cruxports/python3-openpyxl/Pkgfile

20 lines
551 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-setuptools
name=python3-openpyxl
version=3.1
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
}