git: b01118ef671f - main - security/py-openssh-wrapper: New port: OpenSSH python wrapper

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 17 Dec 2024 13:49:34 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b01118ef671fd9b61e8a05c7621b67433b491c6a

commit b01118ef671fd9b61e8a05c7621b67433b491c6a
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2024-12-17 13:33:01 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-12-17 13:47:55 +0000

    security/py-openssh-wrapper: New port: OpenSSH python wrapper
    
    - Submitter becomes maintainer
    
    Under some circumstances simple wrapper around OpenSSH ssh command-line
    utility seems more preferable than paramiko machinery.
    
    This project proposes yet another hopefully thin wrapper around ssh to
    execute commands on remote servers. All you need thereis to make sure that
    OpenSSH client and Python interpreter are installed, and then install
    openssh-wrapper package.
    
    WWW: https://github.com/NetAngels/openssh-wrapper
    
    This port is a needed dependency to run tests on devel/py-proxmoxer
    
    PR:             283381
---
 security/Makefile                     |  1 +
 security/py-openssh-wrapper/Makefile  | 21 +++++++++++++++++++++
 security/py-openssh-wrapper/distinfo  |  3 +++
 security/py-openssh-wrapper/pkg-descr |  7 +++++++
 4 files changed, 32 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index fb9b5bf8957e..808f669f6795 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -993,6 +993,7 @@
     SUBDIR += py-oauthlib
     SUBDIR += py-omemo-dr
     SUBDIR += py-onlykey
+    SUBDIR += py-openssh-wrapper
     SUBDIR += py-openssl
     SUBDIR += py-oscrypto
     SUBDIR += py-ospd-openvas
diff --git a/security/py-openssh-wrapper/Makefile b/security/py-openssh-wrapper/Makefile
new file mode 100644
index 000000000000..ea931e7662dc
--- /dev/null
+++ b/security/py-openssh-wrapper/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	openssh-wrapper
+PORTVERSION=	0.4
+CATEGORIES=	security python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	OpenSSH python wrapper
+WWW=		https://github.com/NetAngels/openssh-wrapper
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		cpe python
+USE_PYTHON=	autoplist cryptography pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-openssh-wrapper/distinfo b/security/py-openssh-wrapper/distinfo
new file mode 100644
index 000000000000..cd112eb6413d
--- /dev/null
+++ b/security/py-openssh-wrapper/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734355475
+SHA256 (openssh-wrapper-0.4.tar.gz) = 93e5533b4961cf44f9ab53253fd130e5b7bf7fc324c2a527d5df1eb8ab7618f3
+SIZE (openssh-wrapper-0.4.tar.gz) = 7188
diff --git a/security/py-openssh-wrapper/pkg-descr b/security/py-openssh-wrapper/pkg-descr
new file mode 100644
index 000000000000..165000662bf5
--- /dev/null
+++ b/security/py-openssh-wrapper/pkg-descr
@@ -0,0 +1,7 @@
+Under some circumstances simple wrapper around OpenSSH ssh command-line
+utility seems more preferable than paramiko machinery.
+
+This project proposes yet another hopefully thin wrapper around ssh to
+execute commands on remote servers. All you need thereis to make sure that
+OpenSSH client and Python interpreter are installed, and then install
+openssh-wrapper package.