Skip to content

Commit

Permalink
graphics/py-imageio: Convert to USE_PYTHON=pytest
Browse files Browse the repository at this point in the history
PR:		269145
Reported by:	yuri
  • Loading branch information
sunpoet committed Mar 21, 2023
1 parent c2a0496 commit 3d214ee
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion graphics/py-imageio/Makefile
Expand Up @@ -12,12 +12,22 @@ WWW= https://github.com/imageio/imageio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

# requests is from fsspec[github]
LIB_DEPENDS= libfreeimage.so:graphics/freeimage
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=8.3.2:graphics/py-pillow@${PY_FLAVOR}
TEST_DEPENDS= opencv>=0:graphics/opencv \
${PYTHON_PKGNAMEPREFIX}astropy>=0:astro/py-astropy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}av>=0:multimedia/py-av@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gdal>=0:graphics/py-gdal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fsspec>=0:devel/py-fsspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}invoke>=0:devel/py-invoke@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest

NO_ARCH= yes

Expand Down

0 comments on commit 3d214ee

Please sign in to comment.