git: c2d10be9f215 - main - biology/py-macs3: Update to 3.0.3

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Fri, 07 Mar 2025 14:30:10 UTC
The branch main has been updated by jwb:

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

commit c2d10be9f215ff73462a3d218b077329c35f4e75
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2025-03-07 14:28:52 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2025-03-07 14:28:52 +0000

    biology/py-macs3: Update to 3.0.3
    
    A few new features and bug fixes
    Changes: https://github.com/macs3-project/MACS/releases
    
    Reported by:    portscout
---
 biology/py-macs3/Makefile                     | 18 ++++++++++--------
 biology/py-macs3/distinfo                     |  6 +++---
 biology/py-macs3/files/patch-pyproject.toml   | 10 ++++++----
 biology/py-macs3/files/patch-requirements.txt |  4 ++--
 4 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/biology/py-macs3/Makefile b/biology/py-macs3/Makefile
index 2ca2822457a4..ad1756edbd32 100644
--- a/biology/py-macs3/Makefile
+++ b/biology/py-macs3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=		MACS3
 DISTVERSIONPREFIX=	v
-DISTVERSION=		3.0.2
+DISTVERSION=		3.0.3
 CATEGORIES=		biology python
 PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
 
@@ -14,21 +14,23 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 NOT_FOR_ARCHS=	i386
 NOT_FOR_ARCHS_REASON_i386=Requires _Float16
 
+COMMON_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scipy>1.11.1:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cykhash>=2.0,<3.0:devel/py-cykhash@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.3:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hmmlearn>=0.3.2:math/py-hmmlearn@${PY_FLAVOR}
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
-		${PYNUMPY} \
 		simde>0:devel/simde \
-		${PYTHON_PKGNAMEPREFIX}cykhash>0:devel/py-cykhash@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hmmlearn>=0.3.2:math/py-hmmlearn@${PY_FLAVOR}
-RUN_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}cykhash>0:devel/py-cykhash@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hmmlearn>=0.3.2:math/py-hmmlearn@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3 \
+		${COMMON_DEPENDS}
+RUN_DEPENDS=	${COMMON_DEPENDS}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		bash:shells/bash
 
 USES=		localbase perl5 python shebangfix
 USE_GITHUB=	yes
 USE_PERL5=	test
-USE_PYTHON=	autoplist concurrent cython pep517
+USE_PYTHON=	autoplist concurrent pep517
 
 GH_ACCOUNT=	macs3-project
 GH_PROJECT=	MACS
diff --git a/biology/py-macs3/distinfo b/biology/py-macs3/distinfo
index bacae8bd911a..f02adff90730 100644
--- a/biology/py-macs3/distinfo
+++ b/biology/py-macs3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725973815
-SHA256 (macs3-project-MACS-v3.0.2_GH0.tar.gz) = 33e877460f1b621ee85c78221b52d1e067b8f5aacdaf4d16bd887485bf636e08
-SIZE (macs3-project-MACS-v3.0.2_GH0.tar.gz) = 197484503
+TIMESTAMP = 1740145847
+SHA256 (macs3-project-MACS-v3.0.3_GH0.tar.gz) = fb5cfe3d8189662b79df7c96f7782bc8327f1aafa61815a2ac86a8337917a558
+SIZE (macs3-project-MACS-v3.0.3_GH0.tar.gz) = 198064648
diff --git a/biology/py-macs3/files/patch-pyproject.toml b/biology/py-macs3/files/patch-pyproject.toml
index 94a5699aa764..262eb251f817 100644
--- a/biology/py-macs3/files/patch-pyproject.toml
+++ b/biology/py-macs3/files/patch-pyproject.toml
@@ -1,7 +1,9 @@
---- pyproject.toml.orig	2024-09-07 16:11:35 UTC
+--- pyproject.toml.orig	2025-02-20 03:43:04 UTC
 +++ pyproject.toml
-@@ -1,3 +1,3 @@
+@@ -1,5 +1,5 @@
  [build-system]
--requires=['setuptools>=68.0', 'numpy>=1.25,<2.0.0', 'scipy>=1.12', 'cykhash>=2.0,<3.0', 'Cython>=3.0,<3.1', 'scikit-learn>=1.3', 'hmmlearn>=0.3.2']
-+requires=['setuptools>=63.0', 'numpy>=1.25,<2.0.0', 'scipy>=1.11.1', 'cykhash>=2.0,<3.0', 'Cython>=0.29.37', 'scikit-learn>=1.3', 'hmmlearn>=0.3.2']
+-requires=['setuptools>=68.0', 'numpy>=1.25', 'scipy>=1.12', 'cykhash>=2.0', 'Cython>=3.0', 'scikit-learn>=1.3', 'hmmlearn>=0.3.2']
++requires=['setuptools>=63.0', 'numpy>=1.25', 'scipy>=1.11.1', 'cykhash>=2.0', 'Cython>=0.29.37', 'scikit-learn>=1.3', 'hmmlearn>=0.3.2']
+ build-backend = "setuptools.build_meta"
  
+ [project]
diff --git a/biology/py-macs3/files/patch-requirements.txt b/biology/py-macs3/files/patch-requirements.txt
index ceac91b3141e..474854166d3c 100644
--- a/biology/py-macs3/files/patch-requirements.txt
+++ b/biology/py-macs3/files/patch-requirements.txt
@@ -1,9 +1,9 @@
---- requirements.txt.orig	2024-09-07 16:11:35 UTC
+--- requirements.txt.orig	2025-02-20 03:43:04 UTC
 +++ requirements.txt
 @@ -1,8 +1,8 @@
 -Cython>=3.0,<3.1
 +Cython>=0.29.37
- numpy>=1.25,<2.0.0
+ numpy>=1.25
 -scipy>=1.12
 +scipy>=1.11.1
  scikit-learn>=1.3