25 lines
953 B
Bash
25 lines
953 B
Bash
# Template file for 'python3-imageio'
|
|
pkgname=python3-imageio
|
|
version=2.22.1
|
|
revision=1
|
|
wrksrc="${pkgname#python3-}-${version}"
|
|
build_style=python3-module
|
|
# Ignored tests have unpackaged dependencies or require missing data files
|
|
make_check_args="--ignore=tests/test_pillow.py --ignore=tests/test_ffmpeg.py
|
|
--ignore=tests/test_ffmpeg_info.py --ignore=tests/test_freeimage.py
|
|
-k not((test_format_manager)or(test_preferring_arbitrary))"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-numpy python3-Pillow"
|
|
checkdepends="python3-pytest python3-tifffile python3-psutil
|
|
git libglvnd freeimage $depends"
|
|
short_desc="Python library for reading and writing image data"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/imageio/imageio"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=c9a7a0a89d7fc43f4b1d1bcb4ce2ed53d10df2890fa0e6ae6cccdc85533c0c0d
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|