From nobody Tue May 16 05:14:53 2023 X-Original-To: dev-commits-ports-all@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 4QL4DZ0qshz4BYsn; Tue, 16 May 2023 05:14:54 +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 4QL4DZ0HjNz4386; Tue, 16 May 2023 05:14:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684214094; 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=07PLHv3bgTwB1KomJsS9OqPy5rMuUCL0PSfessSfXCo=; b=XC82c9E4ps2YLW0cGIOmySYnjZIuEkxIK5bWCwrlR1BRjcR5+sK8X2LBr0B2MYkI5d2ZAK HHL+pdrAfMVbDaop/knzB2Ad8o24UhnVahVbllvAsnLwcweG+bhP7uIFKb+Kz6uiyG9DMi wPm35iBPJav/ybBsxeZNDTVYnHUi52R2S2RpS8DUXOcDcPcu54eC2h5p8UUiVa7hCvW4iN ixV15f8scsS2KYsawsHue412wlhKZk7VeHOHWMdwncVqepK1sSbMfydU9U4mb16Le9+kZf /5LRylcIJUbK69pQNHVNBH6tCHccCiEWPwAOeX4c6o/mUvK8lhkGRfSgIa90Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684214094; 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=07PLHv3bgTwB1KomJsS9OqPy5rMuUCL0PSfessSfXCo=; b=DWAMFRiZ5RLZzrd2sJmcbpLnF62wWBkqV6luUNlIORjpOibh4blmPURs8Zh2KSM2ejMKej WWIxNXaKB4i4cHA9uN29W/wwdA7EhzHDWP9v4JwRkHpDZTmIxSFLSeM3pnmP8zIkBBHmx9 b+7BAW0yDX/L2u/1Pg5LizTIZriy7oAVMWQSwULC6fpe9JPZJFMHQ4DnXmUHd6KPJ/UmoZ 7DdurukqJpUf8lCLoBcPEjsJq2xdQ1FVJC7F6fpSTeIGk33VMvVYehqU0UAzsCE0vOD6+Z Zfr8Ny5HENeDX4OYsLt56vUa932FZkHVjgaWb4Pyw+xOjo0pkSS/lS9946edhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684214094; a=rsa-sha256; cv=none; b=GU6JREESrLyDx+UKMrDo4/AC55wj4g4hoaxTcxNfD8HLH0TBRngT1DCv+YAlefm/wN6Y0h 0Dt7StZQBeqR7wlwT8P8K1wlamFIIxbYKE7juqG9LjTqneF8VK03IWv3X6gHPToKHcdtey ZwD9Ktz6SMDbGsHpE0orQlNqh/J6rMujhOC7vmt5EnndUmU/Ci+0AACyHk/UHVZVkX9cFU jF+h6qOQdCtCi/lfbLjp09P18HWyDfK6zHePd2XcQ7CssJfhN189C441tVXRtNo+wKNaGF IJks5VuS1n7lOteKSJCumlD9M3csBlbXMXDDZk/WXjnXMpP6LQuToamgGljpAg== 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 4QL4DY6HFKz18PY; Tue, 16 May 2023 05:14:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34G5ErLW007973; Tue, 16 May 2023 05:14:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34G5Er7l007972; Tue, 16 May 2023 05:14:53 GMT (envelope-from git) Date: Tue, 16 May 2023 05:14:53 GMT Message-Id: <202305160514.34G5Er7l007972@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kai Knoblich Subject: git: ad8ad88640ff - 2023Q2 - security/py-netmiko: Update to 4.2.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q2 X-Git-Reftype: branch X-Git-Commit: ad8ad88640ffdfc033b746c4f94d74c71c1a159c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad8ad88640ffdfc033b746c4f94d74c71c1a159c commit ad8ad88640ffdfc033b746c4f94d74c71c1a159c Author: Kai Knoblich AuthorDate: 2023-05-16 05:04:55 +0000 Commit: Kai Knoblich CommitDate: 2023-05-16 05:11:46 +0000 security/py-netmiko: Update to 4.2.0 Changelog: https://github.com/ktbyers/netmiko/releases/tag/v4.2.0 MFH: 2023Q2 (cherry picked from commit 32fe20fdf45d3eaa64ecf8373389e55c706450fa) --- security/py-netmiko/Makefile | 19 +++++++++++-------- security/py-netmiko/distinfo | 6 +++--- security/py-netmiko/files/patch-pyproject.toml | 13 +++++++++++++ security/py-netmiko/files/patch-setup.py | 14 -------------- 4 files changed, 27 insertions(+), 25 deletions(-) diff --git a/security/py-netmiko/Makefile b/security/py-netmiko/Makefile index 9b4254596245..0f0ebfd07d81 100644 --- a/security/py-netmiko/Makefile +++ b/security/py-netmiko/Makefile @@ -1,6 +1,6 @@ PORTNAME= netmiko DISTVERSIONPREFIX= v -DISTVERSION= 4.1.2 +DISTVERSION= 4.2.0 CATEGORIES= security net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,19 +11,22 @@ WWW= https://github.com/ktbyers/netmiko LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.3.2:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ntc-templates>=2.0.0:textproc/py-ntc-templates@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}paramiko>=2.7.2:security/py-paramiko@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scp>=0.13.2:security/py-scp@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tenacity>0:devel/py-tenacity@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}textfsm>=1.1.2:textproc/py-textfsm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}paramiko>=2.9.5:security/py-paramiko@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=3.3:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scp>=0.13.6:security/py-scp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}textfsm>=1.1.3:textproc/py-textfsm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3:devel/py-yaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USES= python:3.7+ shebangfix +USE_PYTHON= autoplist concurrent pep517 USE_GITHUB= yes GH_ACCOUNT= ktbyers +SHEBANG_FILES= netmiko/cli_tools/netmiko_cfg.py \ + netmiko/cli_tools/netmiko_grep.py \ + netmiko/cli_tools/netmiko_show.py NO_ARCH= yes diff --git a/security/py-netmiko/distinfo b/security/py-netmiko/distinfo index 04c6dc6c1c47..7ed43321b888 100644 --- a/security/py-netmiko/distinfo +++ b/security/py-netmiko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662217057 -SHA256 (ktbyers-netmiko-v4.1.2_GH0.tar.gz) = cecba2893dbf2f03037d917b3497d096e18ccfa66a568fbec934d45e47fe859c -SIZE (ktbyers-netmiko-v4.1.2_GH0.tar.gz) = 1101941 +TIMESTAMP = 1684003982 +SHA256 (ktbyers-netmiko-v4.2.0_GH0.tar.gz) = ed7057bbee8f16494a5176155871247c477cc26228b81982e3552ed4d0e11b7f +SIZE (ktbyers-netmiko-v4.2.0_GH0.tar.gz) = 1282749 diff --git a/security/py-netmiko/files/patch-pyproject.toml b/security/py-netmiko/files/patch-pyproject.toml new file mode 100644 index 000000000000..0281c285e8ad --- /dev/null +++ b/security/py-netmiko/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +Use the more lightweight py-poetry-core instead py-poetry and relax version requirements. + +--- pyproject.toml.orig 2023-05-13 19:02:47 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] +-requires = ["poetry==1.3.2"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=1.3.2"] ++build-backend = "poetry.core.masonry.api" + + [tool.poetry] + name = "netmiko" diff --git a/security/py-netmiko/files/patch-setup.py b/security/py-netmiko/files/patch-setup.py deleted file mode 100644 index 7fb677857419..000000000000 --- a/security/py-netmiko/files/patch-setup.py +++ /dev/null @@ -1,14 +0,0 @@ -Relax requirements for textproc/py-textfsm as it works with newer versions -of TextFSM. - ---- setup.py.orig 2022-09-03 15:00:57 UTC -+++ setup.py -@@ -52,7 +52,7 @@ setup( - "scp>=0.13.3", - "tenacity", - "pyyaml>=5.3", -- "textfsm==1.1.2", -+ "textfsm>=1.1.2", - "ntc-templates>=2.0.0", - "pyserial", - ],