Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 20:42:34 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565979 - in head/devel: . py-proxmoxer
Message-ID:  <202102182042.11IKgYmF000455@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@isnic.is>
+# $FreeBSD$
+
+PORTNAME=	proxmoxer
+PORTVERSION=	1.0.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	david@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102182042.11IKgYmF000455>