git: e41e5ebf32a1 - main - sysutils/py-honcho: Update to 2.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Apr 2025 11:35:03 UTC
The branch main has been updated by loader:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e41e5ebf32a186c3577e2f51462be4b1059612c2
commit e41e5ebf32a186c3577e2f51462be4b1059612c2
Author: Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2025-04-02 14:50:45 +0000
Commit: Fukang Chen <loader@FreeBSD.org>
CommitDate: 2025-04-04 11:24:40 +0000
sysutils/py-honcho: Update to 2.0.0
Changelog:
https://github.com/nickstenning/honcho/releases/tag/v2.0.0
PR: 265640
---
sysutils/py-honcho/Makefile | 22 +++++++++++++---------
sysutils/py-honcho/distinfo | 6 +++---
2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/sysutils/py-honcho/Makefile b/sysutils/py-honcho/Makefile
index 89228fdb8c8b..9aae30bdf089 100644
--- a/sysutils/py-honcho/Makefile
+++ b/sysutils/py-honcho/Makefile
@@ -1,6 +1,5 @@
PORTNAME= honcho
-PORTVERSION= 1.0.1
-PORTREVISION= 2
+PORTVERSION= 2.0.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,18 +11,23 @@ WWW= https://github.com/nickstenning/honcho
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 pytest
USE_GITHUB= yes
GH_ACCOUNT= nickstenning
+# tests/integration/test_main.py needs to call the python command
+# and run_honcho() in tests/contest.py requires running honcho
+# from the ${STAGEDIR}
+TEST_ENV= ${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH}
+TEST_ENV+= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+BINARY_ALIAS= python=${PYTHON_CMD}
NO_ARCH= yes
-USES= python
-USE_PYTHON= autoplist concurrent distutils
-
-do-test:
- @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>
diff --git a/sysutils/py-honcho/distinfo b/sysutils/py-honcho/distinfo
index dd5f9ce4986a..34da1796f22a 100644
--- a/sysutils/py-honcho/distinfo
+++ b/sysutils/py-honcho/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1492157482
-SHA256 (nickstenning-honcho-v1.0.1_GH0.tar.gz) = 3271f986ff7c4732cfd390383078bfce68c46f9ad74f1804c1b0fc6283b13f7e
-SIZE (nickstenning-honcho-v1.0.1_GH0.tar.gz) = 37885
+TIMESTAMP = 1743605497
+SHA256 (nickstenning-honcho-v2.0.0_GH0.tar.gz) = 616a3c04d8828346dce0d2921189c0b29eebb26884483205b9fddd8d0454de5b
+SIZE (nickstenning-honcho-v2.0.0_GH0.tar.gz) = 40788