1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/py-netmiko: Update to 4.4.0

Changelog:

https://github.com/ktbyers/netmiko/releases/tag/v4.4.0
This commit is contained in:
Kai Knoblich 2024-07-13 09:20:17 +02:00
parent 40b7490503
commit 40337e02b5
3 changed files with 28 additions and 11 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= netmiko
DISTVERSIONPREFIX= v
DISTVERSION= 4.3.0
PORTREVISION= 2
DISTVERSION= 4.4.0
CATEGORIES= security net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,13 +11,14 @@ 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} \
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6.1:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>=1.16.0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ntc-templates>=3.1.0:textproc/py-ntc-templates@${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}pyyaml>=6.0.1:devel/py-pyyaml@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3:devel/py-pyyaml@${PY_FLAVOR}
USES= python shebangfix
USE_PYTHON= autoplist concurrent pep517 pytest

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1700407948
SHA256 (ktbyers-netmiko-v4.3.0_GH0.tar.gz) = e80e2fea7cf24c0b28c59affeef0efc86facc03b08c9c319d10cb586db95f36a
SIZE (ktbyers-netmiko-v4.3.0_GH0.tar.gz) = 1939889
TIMESTAMP = 1720806657
SHA256 (ktbyers-netmiko-v4.4.0_GH0.tar.gz) = 5209872ab35c5fec058097b37a31f36bd8a1e10367877dc9d77544edc3d01bed
SIZE (ktbyers-netmiko-v4.4.0_GH0.tar.gz) = 1963708

View File

@ -1,13 +1,30 @@
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.orig 2024-07-08 22:08:10 UTC
+++ pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
-requires = ["poetry==1.3.2"]
-requires = ["poetry>=1.6.1"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core>=1.3.2"]
+requires = ["poetry-core>=1.6.1"]
+build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "netmiko"
@@ -22,14 +22,14 @@ python = ">=3.8,<4.0"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
-setuptools = ">=65.0.0"
+setuptools = ">=63.0.0"
paramiko = ">=2.9.5"
scp = ">=0.13.6"
pyyaml = ">=5.3"
textfsm = ">=1.1.3"
ntc-templates = ">=3.1.0"
pyserial = ">=3.3"
-cffi = ">=1.17.0rc1"
+cffi = ">=1.16.0"
[tool.poetry.group.dev.dependencies]
black = "24.4.2"