From nobody Mon Nov 06 04:40:52 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SNzF06MfMz4yvwb; Mon, 6 Nov 2023 04:40:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SNzF05xDMz4YlC; Mon, 6 Nov 2023 04:40:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699245652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m5NU4FB5VuYWxehsYn5UWXUxzbTZjRsGxbS8UtvcNyI=; b=PpXTUFG0yWyl1jsZIAhq7yZpEiVlfvnW/Wk6wbTzZAJqv+d80Gh8L8VbAbkZ31t48zZ0WM RMlVQA9Grsr6GsubBXxYkh6T8lthv5Ui0CzE3DUnosy+tLHfNLYAp/qwCmrdxt4gpBbsZs zCEFHUyivS/nXKBxDrXnbUDp9ika+vjzryk4UpoYzZHtGWUWByGT+zKDEZSs8cB8T0zMdb HOSC0VawpPXpQejQnmiWYTgJulmDx3nJNlD3cIMvOE0bv/AthENowAoL3nPGHrx657n1ft bcmFFKXSyZIzcXPb8pcqYpRLgg+qEafAz/yXixy85icQjORfuMxyhQBJ0ZQabw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699245652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m5NU4FB5VuYWxehsYn5UWXUxzbTZjRsGxbS8UtvcNyI=; b=fHE8K4pCecgG/vHHEavCw+jpQqDxcZ/7YLMmt9Wjq57Y4OcWJoAZws8ySLq0QR8q1/u51F 04N8wSe9R6bRiLsqIsWBoSLfSmUsrdCg3zoFSsl1NfIXSYhV9o8iHXyIxHuuoPLj1f3mSz 4q+Bdyf3cG+Yf6UL2Rnsnm0jrexAGaQgNMFgInLuAq/WsLmkIGb4Y505lLfHTbkf98q2A1 o+yOUypBcXDwH0KbV8IjqHFobmYoVT1Q+hhNIY4z4QjUWUpUuTfFszl87kO7fSaBc4c+gm m7Bnsk8JDFLu0RxJxUBfJsL6wfrZEJq+1/4pr4xo9rh2qUum4XO3Bx6lRg6qEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699245652; a=rsa-sha256; cv=none; b=YZnnHn2650AHsHDaUod7et5WR5wUmp4m3+DVTOJlN+A46q4AmPP/R1tIRaGpXBHQwbs1hO aMd4hivv0Cxkyfb1lqYGaAXv4ZbhUwhD/YDt+ZMt4DeFQnLrU+guXaphNrb9gB7zz6lYpB VCTpiGxmvI9Nw5MQSugWAWgocp6CpCOqgZzLFhUbJACIxv5pLkLw1y6cQ9Mrc6wIAdNiwL +XmWu+Arto/+UQnoWwt+8Ah8ZmG9oFmokul9MfLWTltT+R364PVM1Ct2YbEuYYsKIDL9t0 Hce3+jlt+tD38LtQHNwyxGskC9bHjrw5mtNtRFdzqTN1T+n9+MbYCrs/s+Lypw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SNzF04kD3ztYD; Mon, 6 Nov 2023 04:40:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A64eqZL051104; Mon, 6 Nov 2023 04:40:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A64eqhJ051101; Mon, 6 Nov 2023 04:40:52 GMT (envelope-from git) Date: Mon, 6 Nov 2023 04:40:52 GMT Message-Id: <202311060440.3A64eqhJ051101@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: d9257c3b3545 - main - devel/py-python-gitlab: Update to 4.1.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d9257c3b3545ce83bc74bc71a899f02f86da83de Auto-Submitted: auto-generated The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9257c3b3545ce83bc74bc71a899f02f86da83de commit d9257c3b3545ce83bc74bc71a899f02f86da83de Author: Derek Schrock AuthorDate: 2023-11-05 02:39:29 +0000 Commit: Li-Wen Hsu CommitDate: 2023-11-06 04:40:09 +0000 devel/py-python-gitlab: Update to 4.1.1 - Update to 4.1.1 [1] [2] [3] - Move to a pep517 project [1] https://github.com/python-gitlab/python-gitlab/releases/tag/v4.1.1 [2] https://github.com/python-gitlab/python-gitlab/releases/tag/v4.1.0 [3] https://github.com/python-gitlab/python-gitlab/releases/tag/v4.0.0 PR: 274922 --- devel/py-python-gitlab/Makefile | 20 ++++++++++++-------- devel/py-python-gitlab/distinfo | 6 +++--- devel/py-python-gitlab/files/patch-setup.py | 11 ----------- 3 files changed, 15 insertions(+), 22 deletions(-) diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile index cc24b1f59393..e70fd8b87f34 100644 --- a/devel/py-python-gitlab/Makefile +++ b/devel/py-python-gitlab/Makefile @@ -1,5 +1,5 @@ PORTNAME= python-gitlab -DISTVERSION= 3.15.0 +DISTVERSION= 4.1.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,14 +11,16 @@ WWW= https://github.com/python-gitlab/python-gitlab LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.10.1:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${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}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-console-scripts>0:devel/py-pytest-console-scripts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes SUB_FILES= pkg-message @@ -37,21 +39,23 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.10.1:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=4.3.1,1:textproc/py-sphinx@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-autoprogram>0:textproc/py-sphinxcontrib-autoprogram@${PY_FLAVOR} DOCS_PORTDOCS= * -DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ - PYDISTUTILS_BUILDARGS="--all-files --fresh-env" YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} post-patch: @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py +do-build-DOCS-on:: + (cd ${WRKSRC} && sphinx-build -j auto -n -W --keep-going -b html docs build/sphinx/html) + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") + ${RM} -r .doctrees && \ + ${RM} .buildinfo objects.inv && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests/unit diff --git a/devel/py-python-gitlab/distinfo b/devel/py-python-gitlab/distinfo index d5dfc58ffb72..862fafa42d86 100644 --- a/devel/py-python-gitlab/distinfo +++ b/devel/py-python-gitlab/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686350222 -SHA256 (python-gitlab-3.15.0.tar.gz) = c9e65eb7612a9fbb8abf0339972eca7fd7a73d4da66c9b446ffe528930aff534 -SIZE (python-gitlab-3.15.0.tar.gz) = 273270 +TIMESTAMP = 1699058975 +SHA256 (python-gitlab-4.1.1.tar.gz) = e4912083d5d40a79b57875a033083e2c860e34bcc4644ef64ca377a755c5b0c9 +SIZE (python-gitlab-4.1.1.tar.gz) = 453057 diff --git a/devel/py-python-gitlab/files/patch-setup.py b/devel/py-python-gitlab/files/patch-setup.py deleted file mode 100644 index fd7cf8c9345e..000000000000 --- a/devel/py-python-gitlab/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2023-06-09 09:51:25 UTC -+++ setup.py -@@ -55,7 +55,7 @@ setup( - "Programming Language :: Python :: 3.11", - ], - extras_require={ -- "autocompletion": ["argcomplete>=1.10.0,<3"], -+ "autocompletion": ["argcomplete>=1.10.0,<4"], - "yaml": ["PyYaml>=5.2"], - }, - )