From nobody Tue May 16 05:10:04 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 4QL4711323z4BYJP; Tue, 16 May 2023 05:10:05 +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 4QL4710f3Dz42VK; Tue, 16 May 2023 05:10:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684213805; 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=xkV3XcYMrHyvi7tdHmUYU62Lw84G+0gdlgedWTZY1nk=; b=APb6XRG2TqPJn9H8kUw1d4YsymYtJKTrnS7CC70BrHMovjTeW+oT2pttEpS3vJNDCgKVPk OBVyz9fJEZ/hNfDab2VeDV3fkAhvQmDY0JXH4YNdbgAwSJIO1HPcz5ESa4s+hwIBhew5Ny G4TVw5tqF8FcBrJuDBu0mg65VrQv6L0jBLtCzP9CjqjU6pvifPSF6Inf2IiDp1iBXr5VCP B7mqozRFD1eJgv0NA6pmxcZWNxGs/g0WujKINGZz7N3tQqOX9YinjBawUikPl3vOSz+gl0 +nL3YYRqAUbFh3KCkFEgvYw2xgWn4H8kbB3cr29gAV3KU+fEL9cZc/RXASuQwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684213805; 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=xkV3XcYMrHyvi7tdHmUYU62Lw84G+0gdlgedWTZY1nk=; b=UObDsk6/BR/bxVG2XEmm76jkZyrXJN3MXncSVyqgHdkNSd8FsoWtmTlgqu8Jm0e8x1MFUs 0/kgwqZYMPU/Y/9+xUvbRoshPU41d2geb1PyYjI95AffojhqXaNCxMc3BCT807nYfenX21 kOeFiVoFYM2XTIIFlR7BlvvKTDt0/2jOdfGeJadEs1ezIog3NE8tx3OyilE2DFm9GR7bGM SWfrUJLWP2R0Ppx+yi72Pp+EsxBKUPFrgKKpKipvF8GPZw8zsu/stwPstdzVMS97/3hyNl UzwqSEUGqBEb7OTEW5kUptcCTND1AMclpcXDzVIBMH/MWLgI8RSbC/ksSCHFQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684213805; a=rsa-sha256; cv=none; b=lj130+9QK7XvY4av1tcLRZ+cU260Eu/ni2wMghuBS/U/D9JzAzD64IPGTdL6aZeM7W4ltl Ju1uDDrALXwzkFKgETV10asnayFwlKILnGmPoUmFCj4b3n6V+RJLQ51aDDl+EuK8D7cmmM kRrbRkX3h/dtKEtWNdp+qO9/xaYD4hNxWEv5Q8BVgVn/xl+QsZOIHHWiDefRCr9WGkVuIS GAJPOmZQmHtXkvj2nX/bBHDwWpdYhUJWaxzf3xMGFrYJpmIZl/ddnmwJj3WsZTBeeN5rd8 Ddg9py0RyuqOZvXTQhRkNB0NITdc06UUQR4MEOhlEZ2gzj0hpPy5qpe97ox4Dw== 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 4QL4706ghlz18SP; Tue, 16 May 2023 05:10:04 +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 34G5A4Jo094215; Tue, 16 May 2023 05:10:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34G5A49V094212; Tue, 16 May 2023 05:10:04 GMT (envelope-from git) Date: Tue, 16 May 2023 05:10:04 GMT Message-Id: <202305160510.34G5A49V094212@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 32fe20fdf45d - main - 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/main X-Git-Reftype: branch X-Git-Commit: 32fe20fdf45d3eaa64ecf8373389e55c706450fa Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=32fe20fdf45d3eaa64ecf8373389e55c706450fa commit 32fe20fdf45d3eaa64ecf8373389e55c706450fa Author: Kai Knoblich AuthorDate: 2023-05-16 05:04:55 +0000 Commit: Kai Knoblich CommitDate: 2023-05-16 05:09:49 +0000 security/py-netmiko: Update to 4.2.0 Changelog: https://github.com/ktbyers/netmiko/releases/tag/v4.2.0 MFH: 2023Q2 --- 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", - ],