1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-openpyxl/APKBUILD
2023-02-15 04:30:04 +00:00

31 lines
919 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-openpyxl
_pkgreal=openpyxl
pkgver=3.1.1
pkgrel=0
pkgdesc="A Python library to read/write Excel 2010 xlsx/xlsm files"
url="https://foss.heptapod.net/openpyxl/openpyxl"
arch="noarch"
license="MIT"
depends="python3 py3-lxml py3-pandas py3-pillow"
checkdepends="python3-dev py3-pytest py3-tox"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://foss.heptapod.net/openpyxl/openpyxl/-/archive/$pkgver/openpyxl-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
924c7915c0613a23f43d427c1a564acffc903ee030d86fcb2f7d488a51d438bad909cb562446523bc65671198607aa3c052309d85689682affe4e9fb5f12f1f5 py3-openpyxl-3.1.1.tar.gz
"