git: 682788bfb9fe - main - biology/py-pyrodigal: update 2.2.0 → 3.1.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 05 Nov 2023 23:08:03 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=682788bfb9fe00bbe6809f5f181960e9a0622a73

commit 682788bfb9fe00bbe6809f5f181960e9a0622a73
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-05 21:29:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-05 23:07:54 +0000

    biology/py-pyrodigal: update 2.2.0 → 3.1.0
    
    Reported by:    portscout
---
 biology/py-pyrodigal/Makefile | 7 ++++---
 biology/py-pyrodigal/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/biology/py-pyrodigal/Makefile b/biology/py-pyrodigal/Makefile
index 57851ce5ca77..4bc45f824e17 100644
--- a/biology/py-pyrodigal/Makefile
+++ b/biology/py-pyrodigal/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyrodigal
-DISTVERSION=	2.2.0
+DISTVERSION=	3.1.0
 CATEGORIES=	biology python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,11 @@ WWW=		https://github.com/althonos/pyrodigal
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}archspec>0:devel/py-archspec@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils cython concurrent autoplist pytest
+USE_PYTHON=	distutils concurrent autoplist pytest # cython: cython3 isn't yet supported by python.mk
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
@@ -22,7 +23,7 @@ post-build:
 	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build_ext --inplace
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyrodigal/_pyrodigal${PYTHON_EXT_SUFFIX}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyrodigal/lib${PYTHON_EXT_SUFFIX}.so
 
 do-test:
 	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest discover -vv
diff --git a/biology/py-pyrodigal/distinfo b/biology/py-pyrodigal/distinfo
index 3d9568247704..af04cbf6885f 100644
--- a/biology/py-pyrodigal/distinfo
+++ b/biology/py-pyrodigal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687795505
-SHA256 (pyrodigal-2.2.0.tar.gz) = d516577aa6f8177af20d176c0757bbce17361dafb5cffc28b2a32cff1256c325
-SIZE (pyrodigal-2.2.0.tar.gz) = 2566003
+TIMESTAMP = 1699216998
+SHA256 (pyrodigal-3.1.0.tar.gz) = efc01ca72e798efd07a8e79209c92b518f9f403e98012d01eca37fe2416487df
+SIZE (pyrodigal-3.1.0.tar.gz) = 2572979