Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2026 22:23:17 +0000
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8d46b1cef06d - main - shells/xonsh: Update to 0.23.3
Message-ID:  <69f527d5.1e1f0.6cf7c5c5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by eduardo:

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

commit 8d46b1cef06d7e223fcb8936f882f9568a3fa66f
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-05-01 22:00:43 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-05-01 22:23:03 +0000

    shells/xonsh: Update to 0.23.3
    
    - Temporarily switch to GitHub as release tarball on PyPI is missing files
      necessary for unit tests
    - Move prompt-toolkit to RUN_DEPENDS as it is required for the interactive shell
    
    * Thanks to Andy Kipp for assisting in improving and fixing unit tests and
      improving FreeBSD support
    
    ChangeLog: https://github.com/xonsh/xonsh/releases/tag/0.23.3
---
 shells/xonsh/Makefile | 31 ++++++++-----------------------
 shells/xonsh/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 26 deletions(-)

diff --git a/shells/xonsh/Makefile b/shells/xonsh/Makefile
index 661735063b7a..13296122dc53 100644
--- a/shells/xonsh/Makefile
+++ b/shells/xonsh/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	xonsh
-DISTVERSION=	0.23.2
-PORTREVISION=	2
+DISTVERSION=	0.23.3
 CATEGORIES=	shells python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -14,10 +13,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.29:devel/py-prompt-toolkit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=5.3.1:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.29:devel/py-prompt-toolkit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pygments>=2.2:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyte>=0.8.0:devel/py-pyte@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
@@ -29,27 +28,13 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=5.3.1:devel/py-coverage@${PY_FLAV
 		${PYTHON_PKGNAMEPREFIX}restructuredtext-lint>0:textproc/py-restructuredtext-lint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}virtualenv>=20.16.2:devel/py-virtualenv@${PY_FLAVOR}
 
-USES=		python shebangfix
+USES=		python
+USE_GITHUB=	yes
 USE_PYTHON=	autoplist concurrent pep517 pytest
-PYTEST_BROKEN_TESTS=	\
-		test_bash_completer.py \
-		test_command_completers.py \
-		test_commands_cache.py \
-		test_dir_completers.py \
-		test_integrations.py \
-		test_man.py \
-		test_os.xsh \
-		test_pipelines.py \
-		test_ptk_highlight.py \
-		test_stress.py \
-		test_specs.py
-SHEBANG_FILES=	tests/bin/cat tests/bin/pwd tests/bin/wc
 
 NO_ARCH=	yes
 
-post-patch:
-	${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \
-		${WRKSRC}/tests/xintegration/test_integrations.py \
-		${WRKSRC}/tests/test_virtualenv_activator.py
+do-test:
+	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest
 
 .include <bsd.port.mk>
diff --git a/shells/xonsh/distinfo b/shells/xonsh/distinfo
index 23c56a8c279c..1809bb1f6ce3 100644
--- a/shells/xonsh/distinfo
+++ b/shells/xonsh/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1777284433
-SHA256 (xonsh-0.23.2.tar.gz) = 633608c8292938af0f242f05326cc2912f25fa72bd808824ab0534a6df304402
-SIZE (xonsh-0.23.2.tar.gz) = 1030659
+TIMESTAMP = 1777631686
+SHA256 (xonsh-xonsh-0.23.3_GH0.tar.gz) = c888f1c23e5aefa4af5553a202a666ec017b288a2e5f1097529a98398ac821f4
+SIZE (xonsh-xonsh-0.23.3_GH0.tar.gz) = 6177041


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f527d5.1e1f0.6cf7c5c5>