Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2026 15:53:31 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c8767b6e1b42 - main - sysutils/py-croniter: Fix shebang
Message-ID:  <6a07417b.3b8bd.21587a1f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit c8767b6e1b42056c4fe4e3a6df80bc1c026a1697
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-15 15:41:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-15 15:41:54 +0000

    sysutils/py-croniter: Fix shebang
    
    ====> Running Q/A tests (stage-qa)
    Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter_speed.py'
    Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter_range.py'
    Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter.py'
    Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter_dst_repetition.py'
    *** Error code 1
    
    Approved by:    portmgr (blanket)
---
 sysutils/py-croniter/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysutils/py-croniter/Makefile b/sysutils/py-croniter/Makefile
index 00cad6d75ca9..0996bc6f16b8 100644
--- a/sysutils/py-croniter/Makefile
+++ b/sysutils/py-croniter/Makefile
@@ -18,9 +18,11 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.29.0:devel/py-hatchling@${PY_
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dateutil>=1.5:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2021.1:devel/py-pytz@${PY_FLAVOR}
 
-USES=		python
+USES=		python shebangfix
 USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
+SHEBANG_FILES=	src/croniter/tests/*.py
+
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a07417b.3b8bd.21587a1f>