Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2019 14:23:34 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520508 - in head/devel: . p5-Shell-GetEnv
Message-ID:  <201912201423.xBKENYCf048711@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Dec 20 14:23:34 2019
New Revision: 520508
URL: https://svnweb.freebsd.org/changeset/ports/520508

Log:
  Perl module to extract shell environment after executing commands.
  
  WWW: https://metacpan.org/release/Shell-GetEnv

Added:
  head/devel/p5-Shell-GetEnv/
  head/devel/p5-Shell-GetEnv/Makefile   (contents, props changed)
  head/devel/p5-Shell-GetEnv/distinfo   (contents, props changed)
  head/devel/p5-Shell-GetEnv/pkg-descr   (contents, props changed)
  head/devel/p5-Shell-GetEnv/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Dec 20 14:20:04 2019	(r520507)
+++ head/devel/Makefile	Fri Dec 20 14:23:34 2019	(r520508)
@@ -3179,6 +3179,7 @@
     SUBDIR += p5-Shell-Base
     SUBDIR += p5-Shell-Config-Generate
     SUBDIR += p5-Shell-EnvImporter
+    SUBDIR += p5-Shell-GetEnv
     SUBDIR += p5-Shell-Guess
     SUBDIR += p5-Shell-Parser
     SUBDIR += p5-Shell-Source

Added: head/devel/p5-Shell-GetEnv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Shell-GetEnv/Makefile	Fri Dec 20 14:23:34 2019	(r520508)
@@ -0,0 +1,23 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Shell-GetEnv
+PORTVERSION=	0.10
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Extract shell environment after executing commands
+
+LICENSE=	GPLv3+
+
+TEST_DEPENDS=	p5-Env-Path>=0:devel/p5-Env-Path \
+		p5-Test-TempDir-Tiny>=0:devel/p5-Test-TempDir-Tiny \
+		p5-Time-Out>=0:devel/p5-Time-Out
+
+NO_ARCH=	yes
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>

Added: head/devel/p5-Shell-GetEnv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Shell-GetEnv/distinfo	Fri Dec 20 14:23:34 2019	(r520508)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1472133315
+SHA256 (Shell-GetEnv-0.10.tar.gz) = 7999d401082bbf99d4f3362b649c6cb9223257f5e73bec91bf817acd17cae128
+SIZE (Shell-GetEnv-0.10.tar.gz) = 53861

Added: head/devel/p5-Shell-GetEnv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Shell-GetEnv/pkg-descr	Fri Dec 20 14:23:34 2019	(r520508)
@@ -0,0 +1,13 @@
+Shell::GetEnv provides facility for obtaining changes made to environment
+variables as the result of running shell scripts.  It does this by causing
+a shell to invoke a series of user provided shell commands (some of which
+might source scripts) and having the shell process store its environment
+(using a short Perl script) into a temporary file, which is parsed by the
+Shell::Getenv.
+
+Communications with the shell subprocess may be done via standard IPC (via
+a pipe), or may be done via the Perl Expect module (necessary if proper
+execution of the shell script requires the shell to be attached to a "real"
+terminal).
+
+WWW: https://metacpan.org/release/Shell-GetEnv

Added: head/devel/p5-Shell-GetEnv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Shell-GetEnv/pkg-plist	Fri Dec 20 14:23:34 2019	(r520508)
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Shell/GetEnv.pm
+%%SITE_PERL%%/Shell/GetEnv/Dumper.pm
+%%PERL5_MAN3%%/Shell::GetEnv.3.gz
+%%PERL5_MAN3%%/Shell::GetEnv::Dumper.3.gz



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