From nobody Sat May 30 02:32:48 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gS45F2NBrz6f33V for ; Sat, 30 May 2026 02:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gS45D6cfzz3KGt for ; Sat, 30 May 2026 02:32:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780108369; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QtFnBUOoGZiO2Drc4y0AD1RYFsEpJow62ho2CypTgjs=; b=m4qiu+vOcU74P2AMQIl9C9uOo8wGkfWAt+TnSNeZWejxFbr/zC+1JEOshQl9eFFr4dk/uA 0KrGO9Egp/PDd2sbTHAOp2cUQpd8Tghy1c7r2jHc3jf+vLUb71/5PQdvLPiJM0wLrIgxM7 QP8St5LSpTNXxFVCIV5ZnbntSn4aWejiWUUwsZSuTf/lirTGXNrPaysd7YEg43GEc9o+AL gJN3g11cbypGX6eCgMn7wyt8onrfYgVKRQpeO/wrgV3wioaqBwFNyiDfP+FZq4xDle/ARH m5+AHo2Y+aJJAZmPy9o3zf7K9tL0kdtgdvJnvN8IFo4pVuSRo7E6YS4tgh9R8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780108369; a=rsa-sha256; cv=none; b=ZpognuQK49SbiXTuMQPTEuQleSyBV4pmk7HuRqEvqIrZYWAvmse4zf/U9wZqPYSnJETN0L KNhGsaa1b/6Lf95tVIcC8y0z9/A+1SoahtFp9LBI9MGDn4S5BpC9DkRsvxPk37EYB0IBXA K4vONx/TABKQj7oEeu1uJ5l/lPScOzkmpelDK+tmw039FbGGZTfNfVqNgqBOxwskXNcSVn DaqGVyGuCNGbfFEfywXlQId10RubGveKCc2oeLEjVXHIWAl6Yx6dysYcyh93IrmdMrAtCg eRxHEfv6Yad88ObJ2JIo/38BpzB2m+IHdhidSTtpOoUg2ZGO9R4vjA5J5W7O3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780108369; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QtFnBUOoGZiO2Drc4y0AD1RYFsEpJow62ho2CypTgjs=; b=rw9KjwMTjecZbK/oPpn8BR34Uq2yEh7obqeEfxj1lb0aLNxU+UA+tS0Y0g1xGHKnUGyNDv Z3EwKTF/UW+aqtwZdr/8g244LeZDCiZjqud6cBuk0qDzYhL73Bu0TETJuobLk1Dq3THwWC zdVZDXMn/Il8QNZN9lWBK8mDrfGOnVR5gESqhLbVrG0z1OCn9Uv99NRXDK1UfUKZYuqeZN nDAMKglhgpwk5uVPXslYxATtIKZp8TNl7ms+cid13d5KFHojtvnT9TUJAezu+KuxyBoEzu 7DjZvCVk6QnsDC2BPX/dbjc4firi0sLEbvmp4Fn4DGORmD+vdOPK6ioNGO1Pnw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gS45D65jKz11K2 for ; Sat, 30 May 2026 02:32:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 310e3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 30 May 2026 02:32:48 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 7bf984b3b478 - main - biology/py-hits: update 0=?utf-8?Q?=2E1 =E2=86=92 0?=.5.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bf984b3b47837b3bd4aa18c7207b2aed8ad1a21 Auto-Submitted: auto-generated Date: Sat, 30 May 2026 02:32:48 +0000 Message-Id: <6a1a4c50.310e3.6283fbe8@gitrepo.freebsd.org> The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bf984b3b47837b3bd4aa18c7207b2aed8ad1a21 commit 7bf984b3b47837b3bd4aa18c7207b2aed8ad1a21 Author: Yuri Victorovich AuthorDate: 2026-05-29 17:17:17 +0000 Commit: Yuri Victorovich CommitDate: 2026-05-30 02:32:42 +0000 biology/py-hits: update 0.1 → 0.5.1 --- biology/py-hits/Makefile | 31 +++++++++++++++++++++++++++--- biology/py-hits/distinfo | 6 +++--- biology/py-hits/files/patch-pyproject.toml | 27 ++++++++++++++++++++++++++ biology/py-hits/files/patch-setup.py | 16 +++++++++++++++ biology/py-hits/pkg-descr | 13 ++++++++++++- 5 files changed, 86 insertions(+), 7 deletions(-) diff --git a/biology/py-hits/Makefile b/biology/py-hits/Makefile index 3ceaf92be25f..3064671389b1 100644 --- a/biology/py-hits/Makefile +++ b/biology/py-hits/Makefile @@ -1,6 +1,5 @@ PORTNAME= hits -PORTVERSION= 0.1 -PORTREVISION= 1 +DISTVERSION= 0.5.1 CATEGORIES= biology python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,10 +10,36 @@ WWW= https://github.com/jeffhussmann/hits LICENSE= GPLv3 +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}biopython>=1.72:biology/py-biopython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bokeh>0:www/py-bokeh@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipython>=7.8.0:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipywidgets>=7.4.2:devel/py-ipywidgets@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.0.2:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.4:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.23.4:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=5.3.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pysam>=0.15.1:biology/py-pysam@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.13:devel/py-pyyaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}s3fs>=0:filesystems/py-s3fs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.2.1:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}seaborn>=0.11.0:math/py-seaborn@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}statsmodels>=0.12.1:math/py-statsmodels@${PY_FLAVOR} + USES= python -USE_PYTHON= distutils cython autoplist +USE_PYTHON= pep517 cython autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +PYTEST_ARGS= -p no:ruff + +do-test: + @cd ${WRKDIR} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest ${PYTEST_ARGS} ${WRKSRC}/hits/test post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/hits/*.so +# tests as of 0.5.1: 11 passed, 1 skipped in 3.87s + .include diff --git a/biology/py-hits/distinfo b/biology/py-hits/distinfo index 0132c3f476c9..9951c700ba74 100644 --- a/biology/py-hits/distinfo +++ b/biology/py-hits/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1589596183 -SHA256 (hits-0.1.tar.gz) = d522045c7c5f7bb68645c99bf5fde7601ecfb8f13d7c0d94090a5fd84bb86feb -SIZE (hits-0.1.tar.gz) = 1056911 +TIMESTAMP = 1780066404 +SHA256 (hits-0.5.1.tar.gz) = 4c10cf548708a0c64db9abaa551b8da60b994728cc1ecfd4ccfcab2829ac1300 +SIZE (hits-0.5.1.tar.gz) = 1904390 diff --git a/biology/py-hits/files/patch-pyproject.toml b/biology/py-hits/files/patch-pyproject.toml new file mode 100644 index 000000000000..f4ef76bc72a4 --- /dev/null +++ b/biology/py-hits/files/patch-pyproject.toml @@ -0,0 +1,27 @@ +-- Remove ext-modules from pyproject.toml as it is not supported by setuptools < 64. +-- The extension modules are now defined in setup.py. + +--- pyproject.toml.orig 2026-02-23 23:57:10 UTC ++++ pyproject.toml +@@ -13,8 +13,6 @@ readme = "README.md" + ] + description = "Utilities for processing high-throughput sequencing experiments" + readme = "README.md" +-license = "GPL-3.0-or-later" +-license-files = ["LICENSE"] + dynamic = ["version"] + requires-python = ">= 3.12" + dependencies = [ +@@ -45,12 +43,6 @@ packages = [ + 'hits.serialize', + 'hits.visualize', + 'hits.visualize.interactive', +-] +- +-ext-modules = [ +- {name = "hits.adapters_cython", sources = ["hits/adapters_cython.pyx"]}, +- {name = "hits.fastq_cython", sources = ["hits/fastq_cython.pyx"]}, +- {name = "hits.sw_cython", sources = ["hits/sw_cython.pyx"]}, + ] + + [tool.setuptools.dynamic] diff --git a/biology/py-hits/files/patch-setup.py b/biology/py-hits/files/patch-setup.py new file mode 100644 index 000000000000..9438adcc564b --- /dev/null +++ b/biology/py-hits/files/patch-setup.py @@ -0,0 +1,16 @@ +-- Add setup.py to define extension modules. +-- This is needed because the current version of setuptools on FreeBSD does not +-- support defining ext-modules in pyproject.toml. + +--- setup.py.orig 2026-05-29 15:20:01 UTC ++++ setup.py +@@ -0,0 +1,9 @@ ++from setuptools import setup, Extension ++ ++setup( ++ ext_modules=[ ++ Extension("hits.adapters_cython", ["hits/adapters_cython.pyx"]), ++ Extension("hits.fastq_cython", ["hits/fastq_cython.pyx"]), ++ Extension("hits.sw_cython", ["hits/sw_cython.pyx"]), ++ ], ++) diff --git a/biology/py-hits/pkg-descr b/biology/py-hits/pkg-descr index aed78ca0f7fb..d11eaa3d9bc9 100644 --- a/biology/py-hits/pkg-descr +++ b/biology/py-hits/pkg-descr @@ -1 +1,12 @@ -Utilities for processing high-throughput sequencing experiments. +hits is a suite of Python utilities designed for processing high-throughput +sequencing experiments. + +Key features include: +- Tools for read name standardization +- Sequence alignment +- Data visualization + +It is specifically tailored to handle experiments such as ribosome profiling +(Ribo-seq) and RNA-seq, facilitating efficient data analysis and interpretation. +The package streamlines the workflow from raw sequencing data to biological +insights through robust processing pipelines.