1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

biology/py-macs3: Update to 3.0.2

Some minor enhancements and improved docs
Changes: https://github.com/macs3-project/MACS/releases

Reported by:    portscout
This commit is contained in:
Jason W. Bacon 2024-09-14 08:22:03 -05:00
parent 6e56f24ee4
commit fbb86e94a8
5 changed files with 21 additions and 30 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= MACS3
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.1
DISTVERSION= 3.0.2
CATEGORIES= biology python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,15 +14,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON_i386=Requires _Float16
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${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:math/py-hmmlearn@${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:math/py-hmmlearn@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}hmmlearn>=0.3.2:math/py-hmmlearn@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
bash:shells/bash

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1713397031
SHA256 (macs3-project-MACS-v3.0.1_GH0.tar.gz) = 8a2f5b2dccfc255ea2fd5e54e0d6aa9c12f5ce83762b17b779ce2546ade860ce
SIZE (macs3-project-MACS-v3.0.1_GH0.tar.gz) = 197400439
TIMESTAMP = 1725973815
SHA256 (macs3-project-MACS-v3.0.2_GH0.tar.gz) = 33e877460f1b621ee85c78221b52d1e067b8f5aacdaf4d16bd887485bf636e08
SIZE (macs3-project-MACS-v3.0.2_GH0.tar.gz) = 197484503

View File

@ -1,7 +1,7 @@
--- pyproject.toml.orig 2024-02-23 05:43:44 UTC
--- pyproject.toml.orig 2024-09-07 16:11:35 UTC
+++ pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires=['setuptools>=60.0', 'numpy>=1.24.2', 'scipy>=1.11.4', 'cykhash>=2.0,<3.0', 'Cython~=3.0', 'scikit-learn>=1.2.1', 'hmmlearn>=0.3']
+requires=['setuptools>=60.0', 'numpy>=1.24.2', 'scipy>=1.11.1', 'cykhash>=2.0,<3.0', 'Cython>=0', 'scikit-learn>=1.2.1', 'hmmlearn>=0.3']
-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']

View File

@ -1,11 +1,14 @@
--- requirements.txt.orig 2024-02-23 05:43:44 UTC
--- requirements.txt.orig 2024-09-07 16:11:35 UTC
+++ requirements.txt
@@ -1,6 +1,6 @@
-Cython~=3.0
+Cython>=0
numpy>=1.24.2
-scipy>=1.11.4
@@ -1,8 +1,8 @@
-Cython>=3.0,<3.1
+Cython>=0.29.37
numpy>=1.25,<2.0.0
-scipy>=1.12
+scipy>=1.11.1
scikit-learn>=1.2.1
hmmlearn>=0.3
scikit-learn>=1.3
hmmlearn>=0.3.2
cykhash>=2.0,<3.0
pytest>=7.0
-setuptools>=68.0
+setuptools>=63.0

View File

@ -1,11 +0,0 @@
--- setup.py.orig 2024-02-24 14:39:02 UTC
+++ setup.py
@@ -70,7 +70,7 @@ def main():
if not clang:
try:
- gcc_version_check = subprocess.check_output( ["gcc", "--version"], universal_newlines=True)
+ gcc_version_check = subprocess.check_output( ["cc", "--version"], universal_newlines=True)
if gcc_version_check.find("clang") != -1:
clang = True
else: