25 lines
715 B
Bash
25 lines
715 B
Bash
# Template file for 'python3-tifffile'
|
|
pkgname=python3-tifffile
|
|
version=2020.11.18
|
|
revision=1
|
|
wrksrc="${pkgname#python3-}-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-numpy"
|
|
checkdepends="${depends} python3-pytest python3-lxml"
|
|
short_desc="Read and write TIFF files"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/cgohlke/tifffile"
|
|
changelog="https://raw.githubusercontent.com/cgohlke/tifffile/master/CHANGES.rst"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=8ec02abeaa1921e23264ba6810af52bf66bd1ba437bf5199458937c6f315355e
|
|
|
|
do_check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|