aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Bjarni Halldórsson <einar@isnic.is>2022-12-09 11:18:24 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2022-12-09 11:23:09 +0000
commit8c8753eb9c736c8876a2c00aa200e6a2b5453986 (patch)
treed84df784783319d793d5bd2b0e3e69055b293914
parentd45b89f912dc4550f0fc7f62a490177f538fd83a (diff)
downloadports-8c8753eb9c736c8876a2c00aa200e6a2b5453986.tar.gz
ports-8c8753eb9c736c8876a2c00aa200e6a2b5453986.zip
devel/py-proxmoxer: Update to 2.0.0
- add UPDATING notes - pytest testunit in progress ChangeLog: https://github.com/proxmoxer/proxmoxer/blob/develop/CHANGELOG.md PR: 268036
-rw-r--r--UPDATING23
-rw-r--r--devel/py-proxmoxer/Makefile10
-rw-r--r--devel/py-proxmoxer/distinfo6
3 files changed, 28 insertions, 11 deletions
diff --git a/UPDATING b/UPDATING
index ceeb09a4fb81..18cf46a80f78 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,29 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20221128:
+ AFFECTS: devel/py-proxmoxer
+ AUTHOR: einar@isnic.is
+
+ AuthenticationError Moved
+
+ proxmoxer.backends.https.AuthenticationError was moved to
+ proxmoxer.AuthenticationError (the class itself is the same).
+ Any imports or references to proxmoxer.backends.https.AuthenticationError
+ should be changed to proxmoxer.AuthenticationError.
+
+ ProxmoxResourceBase Removed
+
+ While this should be a fully internal change, the ProxmoxResourceBase
+ class was removed. Use ProxmoxResource instead.
+
+ Removed ProxmoxHTTPTicketAuth
+
+ The auth_token and csrf_token arguments are no longer supported. If an
+ existing (still valid) token needs to be used, you can pass the token
+ as password and proxmoxer will attempt to renew the ticket and retrieve
+ a new token and CSRF token.
+
20221126:
AFFECTS: textproc/kibana8
AUTHOR: otis@FreeBSD.org
diff --git a/devel/py-proxmoxer/Makefile b/devel/py-proxmoxer/Makefile
index 808247f1c8a1..18ca47607d7e 100644
--- a/devel/py-proxmoxer/Makefile
+++ b/devel/py-proxmoxer/Makefile
@@ -1,5 +1,5 @@
PORTNAME= proxmoxer
-PORTVERSION= 1.3.1
+PORTVERSION= 2.0.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +12,10 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils nose
+USE_PYTHON= autoplist distutils
NO_ARCH= yes
-# do-test:
-# # openssh requires absent py-openssh_wrapper; also note that https tests fail
-# @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -e openssh
-
.include <bsd.port.mk>
diff --git a/devel/py-proxmoxer/distinfo b/devel/py-proxmoxer/distinfo
index 934a85f715fc..e0ecf3655198 100644
--- a/devel/py-proxmoxer/distinfo
+++ b/devel/py-proxmoxer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668784325
-SHA256 (proxmoxer-1.3.1.tar.gz) = ef32c549877bf4439da6df3dff08be10d9dfe3bfc8a25d676a786ffe861ee096
-SIZE (proxmoxer-1.3.1.tar.gz) = 15387
+TIMESTAMP = 1669626053
+SHA256 (proxmoxer-2.0.0.tar.gz) = f592426c16ec9a00f141379da1dd72d2a6fcf46f9ee181484906668ad2f31357
+SIZE (proxmoxer-2.0.0.tar.gz) = 17447