git: 683d289dfe24 - main - graphics/py-openslide-python: update 1.3.1 → 1.4.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 10 Feb 2025 02:59:29 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=683d289dfe24e4d8763aa8038d67b7e0a143d7f8

commit 683d289dfe24e4d8763aa8038d67b7e0a143d7f8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-02-10 01:22:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-02-10 02:59:10 +0000

    graphics/py-openslide-python: update 1.3.1 → 1.4.1
---
 graphics/py-openslide-python/Makefile | 20 +++++++++++++++-----
 graphics/py-openslide-python/distinfo |  6 +++---
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/graphics/py-openslide-python/Makefile b/graphics/py-openslide-python/Makefile
index 59a9f0ca0dc0..7f19c153fe79 100644
--- a/graphics/py-openslide-python/Makefile
+++ b/graphics/py-openslide-python/Makefile
@@ -1,12 +1,14 @@
 PORTNAME=	openslide-python
-DISTVERSION=	1.3.1
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.1
 CATEGORIES=	graphics
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # no tarball
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Python interface to OpenSlide library for reading virtual slide images
-WWW=		https://openslide.org/
+WWW=		https://openslide.org \
+		https://github.com/openslide/openslide-python
 
 LICENSE=	LGPL21
 
@@ -14,9 +16,17 @@ RUN_DEPENDS=	openslide>0:graphics/openslide \
 		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	openslide
+
+TEST_WRKSRC=	${WRKSRC}/tests
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/openslide/_convert${PYTHON_EXT_SUFFIX}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/openslide/_convert.abi3.so
+
+# tests as of 1.4.1: 59 passed in 11.97s
 
 .include <bsd.port.mk>
diff --git a/graphics/py-openslide-python/distinfo b/graphics/py-openslide-python/distinfo
index 7c66f2644ca2..e8a9f09caff1 100644
--- a/graphics/py-openslide-python/distinfo
+++ b/graphics/py-openslide-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703146980
-SHA256 (openslide-python-1.3.1.tar.gz) = 0909c6257cd8decfbbd0082e8c0cd94bbe3a89ad31e142cfa9accc8bb959294e
-SIZE (openslide-python-1.3.1.tar.gz) = 358975
+TIMESTAMP = 1739149442
+SHA256 (openslide-openslide-python-v1.4.1_GH0.tar.gz) = c7fe6ae42a5afa6457f8418c7c860b2dc94a0cba0f3290f361cb0f4377838576
+SIZE (openslide-openslide-python-v1.4.1_GH0.tar.gz) = 389562