Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2019 14:58:48 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511633 - in head/security: . py-exscript
Message-ID:  <201909091458.x89EwmdE086599@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Mon Sep  9 14:58:48 2019
New Revision: 511633
URL: https://svnweb.freebsd.org/changeset/ports/511633

Log:
  [NEW PORT]: security/py-exscript
  
  Exscript is a Python module and a template processor for automating network
  connections over protocols such as Telnet or SSH.
  We attempt to create the best possible set of tools for working with
  Telnet and SSH.
  
  WWW: https://github.com/knipknap/exscript
  
  PR:		233999
  Submitted by:	rozhuk.im@gmail.com (initial version), jhay
  Reviewed by:	koobs

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

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Sep  9 14:44:58 2019	(r511632)
+++ head/security/Makefile	Mon Sep  9 14:58:48 2019	(r511633)
@@ -898,6 +898,7 @@
     SUBDIR += py-docker-pycreds
     SUBDIR += py-ecdsa
     SUBDIR += py-ed25519ll
+    SUBDIR += py-exscript
     SUBDIR += py-fail2ban
     SUBDIR += py-fchksum
     SUBDIR += py-fido2

Added: head/security/py-exscript/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-exscript/Makefile	Mon Sep  9 14:58:48 2019	(r511633)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME=	exscript
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.6
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	jhay@FreeBSD.org
+COMMENT=	Automating Telnet and SSH
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR}
+
+USES=		python
+# Upstream doesn't provide a sdist, yet
+USE_GITHUB=	yes
+GH_ACCOUNT=	knipknap
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \
+		${BUILD_WRKSRC}/VERSION.in ${BUILD_WRKSRC}/Exscript/version.py
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v tests/Exscript "*Test.py"
+
+.include <bsd.port.mk>

Added: head/security/py-exscript/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-exscript/distinfo	Mon Sep  9 14:58:48 2019	(r511633)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565510934
+SHA256 (knipknap-exscript-v2.6_GH0.tar.gz) = e3e2064d0183d30bd9cdb13ee760603e4cd0ff190ae2ac8f97329300967dca90
+SIZE (knipknap-exscript-v2.6_GH0.tar.gz) = 272225

Added: head/security/py-exscript/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-exscript/pkg-descr	Mon Sep  9 14:58:48 2019	(r511633)
@@ -0,0 +1,6 @@
+Exscript is a Python module and a template processor for automating network
+connections over protocols such as Telnet or SSH.
+We attempt to create the best possible set of tools for working with
+Telnet and SSH.
+
+WWW: https://github.com/knipknap/exscript



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