1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

graphics/py-openslide-python: New port: Python interface to OpenSlide library for reading virtual slide images

This commit is contained in:
Yuri Victorovich 2022-11-18 07:56:11 -08:00
parent 14fdc30e61
commit b83bf6b617
4 changed files with 28 additions and 0 deletions

View File

@ -891,6 +891,7 @@
SUBDIR += py-opencolorio
SUBDIR += py-openimageio
SUBDIR += py-openshadinglanguage
SUBDIR += py-openslide-python
SUBDIR += py-optimize-images
SUBDIR += py-osmnet
SUBDIR += py-pandana

View File

@ -0,0 +1,22 @@
PORTNAME= openslide-python
DISTVERSION= 1.2.0
CATEGORIES= graphics
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python interface to OpenSlide library for reading virtual slide images
WWW= https://openslide.org/
LICENSE= LGPL21
RUN_DEPENDS= openslide>0:graphics/openslide \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= distutils autoplist
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/openslide/_convert${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1668796736
SHA256 (openslide-python-1.2.0.tar.gz) = f484f833566dbe5788d03d6dbab6fafeadabefa9de8d497715527d2c0cbd986e
SIZE (openslide-python-1.2.0.tar.gz) = 338720

View File

@ -0,0 +1,2 @@
OpenSlide is a C library that provides a simple interface to read whole-slide
images (also known as virtual slides).