summaryrefslogtreecommitdiff
path: root/devel/py-python-gitlab/Makefile
diff options
context:
space:
mode:
authorDerek Schrock <dereks@lifeofadishwasher.com>2025-06-28 12:55:10 -0400
committerHiroki Tagato <tagattie@FreeBSD.org>2025-06-30 05:30:38 +0900
commit9517483cce544cf86c3b11c6c5d20b99c6b83ffd (patch)
treedb367ceb6617813c12cece25efc1b011cfad143b /devel/py-python-gitlab/Makefile
parentjapanese/anthy: Remove it and its consumers (diff)
devel/py-python-gitlab: update to 6.1.0
While here, use USE_PYTHON=pytest for tests instead of overriding do-test target. Changelog: https://github.com/python-gitlab/python-gitlab/releases/tag/v6.1.0 PR: 287864 Reported by: Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
Diffstat (limited to 'devel/py-python-gitlab/Makefile')
-rw-r--r--devel/py-python-gitlab/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile
index 90755f6f26b1..a5bcabf68b8a 100644
--- a/devel/py-python-gitlab/Makefile
+++ b/devel/py-python-gitlab/Makefile
@@ -1,5 +1,5 @@
PORTNAME= python-gitlab
-DISTVERSION= 6.0.0
+DISTVERSION= 6.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,12 +17,13 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${P
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=1.0.0:www/py-requests-toolbelt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.32.0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-console-scripts>0:devel/py-pytest-console-scripts@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR}
USES= python:3.9+
-USE_PYTHON= autoplist concurrent pep517
+USE_PYTHON= autoplist concurrent pep517 pytest
+
+TEST_ARGS= tests/unit
NO_ARCH= yes
SUB_FILES= pkg-message
@@ -67,7 +68,4 @@ post-install-DOCS-on:
${RM} .buildinfo objects.inv && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests/unit
-
.include <bsd.port.mk>