Skip to content

Commit

Permalink
security/py-netmiko: Update to 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
knobix committed May 16, 2023
1 parent 8d66582 commit 32fe20f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 25 deletions.
19 changes: 11 additions & 8 deletions 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}

Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions 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
13 changes: 13 additions & 0 deletions 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"
14 changes: 0 additions & 14 deletions security/py-netmiko/files/patch-setup.py

This file was deleted.

0 comments on commit 32fe20f

Please sign in to comment.