git: ee47f1517386 - main - devel/py-hypothesmith: update to 0.1.9 and fix testing

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Aug 24 18:04:59 UTC 2021


The branch main has been updated by amdmi3:

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

commit ee47f1517386a6b0d69f1c31b5b47a695bd54b5d
Author:     Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-08-19 16:27:48 +0000
Commit:     Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-08-24 17:59:14 +0000

    devel/py-hypothesmith: update to 0.1.9 and fix testing
---
 devel/py-hypothesmith/Makefile | 9 ++++++---
 devel/py-hypothesmith/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/py-hypothesmith/Makefile b/devel/py-hypothesmith/Makefile
index 8dd272293a43..c4ae5035f77b 100644
--- a/devel/py-hypothesmith/Makefile
+++ b/devel/py-hypothesmith/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hypothesmith
-PORTVERSION=	0.1.8
+PORTVERSION=	0.1.9
 CATEGORIES=	devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +12,16 @@ LICENSE=	MPL20
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lark-parser>=0:devel/py-lark-parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}libcst>=0:devel/py-libcst@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}black>=0:devel/py-black@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}parso>=0:textproc/py-parso@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
+TEST_ENV=	PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}"
 
 do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/tox-${PYTHON_VER} --sitepackages
+	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -o addopts= -v -rs
 
 .include <bsd.port.mk>
diff --git a/devel/py-hypothesmith/distinfo b/devel/py-hypothesmith/distinfo
index fa1f564522c5..3e783e889bca 100644
--- a/devel/py-hypothesmith/distinfo
+++ b/devel/py-hypothesmith/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610450359
-SHA256 (hypothesmith-0.1.8.tar.gz) = f9ff047b15c4ed312ce3da57ea27570f86d6b53ce12af9f25e59e6576a00410a
-SIZE (hypothesmith-0.1.8.tar.gz) = 24760
+TIMESTAMP = 1629380587
+SHA256 (hypothesmith-0.1.9.tar.gz) = 039fd6aa0102f89df9df7ad4cff70aa8068678c13c3be2713c92568917317a04
+SIZE (hypothesmith-0.1.9.tar.gz) = 24707


More information about the dev-commits-ports-main mailing list