svn commit: r565979 - in head/devel: . py-proxmoxer

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Feb 18 20:42:35 UTC 2021


Author: amdmi3
Date: Thu Feb 18 20:42:33 2021
New Revision: 565979
URL: https://svnweb.freebsd.org/changeset/ports/565979

Log:
  Add devel/py-proxmoxer: Wrapper around the Proxmox REST API v2
  
  Proxmoxer is a wrapper around the Proxmox REST API v2.
  
  It was inspired by slumber, but it dedicated only to Proxmox. It
  allows to use not only REST API over HTTPS, but the same api over
  ssh and pvesh utility.
  
  Like Proxmoxia it dynamically creates attributes which responds to
  the attributes you've attempted to reach.
  
  WWW: https://github.com/proxmoxer/proxmoxer
  
  PR:		245101
  Submitted by:	david at isnic.is

Added:
  head/devel/py-proxmoxer/
  head/devel/py-proxmoxer/Makefile   (contents, props changed)
  head/devel/py-proxmoxer/distinfo   (contents, props changed)
  head/devel/py-proxmoxer/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Feb 18 20:41:00 2021	(r565978)
+++ head/devel/Makefile	Thu Feb 18 20:42:33 2021	(r565979)
@@ -4835,6 +4835,7 @@
     SUBDIR += py-proselint
     SUBDIR += py-proto-plus
     SUBDIR += py-protobuf
+    SUBDIR += py-proxmoxer
     SUBDIR += py-ptable
     SUBDIR += py-ptpython
     SUBDIR += py-ptvsd

Added: head/devel/py-proxmoxer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-proxmoxer/Makefile	Thu Feb 18 20:42:33 2021	(r565979)
@@ -0,0 +1,28 @@
+# Created by: Davíð Steinn Geirsson <david at isnic.is>
+# $FreeBSD$
+
+PORTNAME=	proxmoxer
+PORTVERSION=	1.0.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	david at isnic.is
+COMMENT=	Wrapper around the Proxmox REST API v2
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+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>

Added: head/devel/py-proxmoxer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-proxmoxer/distinfo	Thu Feb 18 20:42:33 2021	(r565979)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613511752
+SHA256 (proxmoxer-1.0.4.tar.gz) = 48de41cc3927057dc7f8d7e9bd489145b43847541e443aa82b011faf7e424694
+SIZE (proxmoxer-1.0.4.tar.gz) = 16754

Added: head/devel/py-proxmoxer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-proxmoxer/pkg-descr	Thu Feb 18 20:42:33 2021	(r565979)
@@ -0,0 +1,10 @@
+Proxmoxer is a wrapper around the Proxmox REST API v2.
+
+It was inspired by slumber, but it dedicated only to Proxmox. It
+allows to use not only REST API over HTTPS, but the same api over
+ssh and pvesh utility.
+
+Like Proxmoxia it dynamically creates attributes which responds to
+the attributes you've attempted to reach.
+
+WWW: https://github.com/proxmoxer/proxmoxer


More information about the svn-ports-all mailing list