pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

p5-IPC-Open3-Simple: Simple alternative to IPC::Open3



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Fri Nov 3 11:18:37 2017 -0500
Changeset:	353b1c8c587527230c37d1a50ed3080f4a0a1799

Modified Files:
	Makefile
Added Files:
	p5-IPC-Open3-Simple/DESCR
	p5-IPC-Open3-Simple/Makefile
	p5-IPC-Open3-Simple/PLIST
	p5-IPC-Open3-Simple/distinfo

Log Message:
p5-IPC-Open3-Simple: Simple alternative to IPC::Open3

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=353b1c8c587527230c37d1a50ed3080f4a0a1799

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                     |  1 +
 p5-IPC-Open3-Simple/DESCR    | 11 +++++++++++
 p5-IPC-Open3-Simple/Makefile | 29 +++++++++++++++++++++++++++++
 p5-IPC-Open3-Simple/PLIST    |  4 ++++
 p5-IPC-Open3-Simple/distinfo |  6 ++++++
 5 files changed, 51 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 933f7a1bf8..b016fcbe8c 100644
--- a/Makefile
+++ b/Makefile
@@ -2403,6 +2403,7 @@ SUBDIR+=	p5-HTTP-Request-StreamingUpload
 SUBDIR+=	p5-Hash-AsObject
 SUBDIR+=	p5-IO-Lambda
 SUBDIR+=	p5-IO-Socket-Socks
+SUBDIR+=	p5-IPC-Open3-Simple
 SUBDIR+=	p5-Image-EXIF
 SUBDIR+=	p5-Imager
 SUBDIR+=	p5-Iterator
diff --git a/p5-IPC-Open3-Simple/DESCR b/p5-IPC-Open3-Simple/DESCR
new file mode 100644
index 0000000000..6b01a19a43
--- /dev/null
+++ b/p5-IPC-Open3-Simple/DESCR
@@ -0,0 +1,11 @@
+IPC::Open3::Simple aims at making it very easy to start a shell command,
+eventually feed its stdin with some data, then retrieve its stdout and stderr
+separately.
+When you want to run a shell command and parse its stdout/stderr or feed its
+stdin, you often end up using IPC::Run, IPC::Cmd or IPC::Open3 with your own
+parsing code, and end up writing more code than you intended. IPC::Open3::Simple
+is about removing this overhead and making IPC::Open3 easier to use.
+IPC::Open3::Simple calls IPC::Open3 and redirects stdin, stdout and stderr to
+some function references passed in argument to the constructor. It does a select
+on the input/output filehandles returned by IPC::Open3 and dispatches their
+content to and from those functions.
diff --git a/p5-IPC-Open3-Simple/Makefile b/p5-IPC-Open3-Simple/Makefile
new file mode 100644
index 0000000000..14404d36f3
--- /dev/null
+++ b/p5-IPC-Open3-Simple/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Fri Nov  3 11:12:06 CDT 2017               #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+#LICENSE_COMB=	dual
+
+DISTNAME=	IPC-Open3-Simple-${PORTVERSION}
+PKGNAME=	p5-IPC-Open3-Simple-${PORTVERSION}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=IPC/}
+
+MAINTAINER=	bacon4000%gmail.com@localhost
+HOMEPAGE=	http://search.cpan.org/dist/IPC-Open3-Simple/
+COMMENT=	Simple alternative to IPC::Open3
+# Check this
+LICENSE=	artistic
+
+USE_TOOLS+=	perl:pkgsrc
+
+PORTVERSION=	0.04
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-IPC-Open3-Simple/PLIST b/p5-IPC-Open3-Simple/PLIST
new file mode 100644
index 0000000000..63b128ee65
--- /dev/null
+++ b/p5-IPC-Open3-Simple/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+${PERL5_SUB_INSTALLVENDORLIB}/IPC/Open3/Simple.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/IPC/Open3/Simple/.packlist
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/IPC::Open3::Simple.3
diff --git a/p5-IPC-Open3-Simple/distinfo b/p5-IPC-Open3-Simple/distinfo
new file mode 100644
index 0000000000..852cc4b433
--- /dev/null
+++ b/p5-IPC-Open3-Simple/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (IPC-Open3-Simple-0.04.tar.gz) = 0063c2a7c696e6d33721ed3150d2c2ba5ebd4355
+RMD160 (IPC-Open3-Simple-0.04.tar.gz) = cd1a16dce341a3ffe4ad13e9545d0c2b1cd2455e
+SHA512 (IPC-Open3-Simple-0.04.tar.gz) = 04929a087e3e938a6ae02526312db7f6980af30963ead268d45819df5a521d6ce7f5a38260d026476edde1451d623c4111ecf481afdc9544ad9daf8d3027ea4a
+Size (IPC-Open3-Simple-0.04.tar.gz) = 5037 bytes


Home | Main Index | Thread Index | Old Index