pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Data-Binary Import Data-Binary-0.01 as devel/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ffd773c384c
branches:  trunk
changeset: 328721:1ffd773c384c
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat Jan 26 08:08:41 2019 +0000

description:
Import Data-Binary-0.01 as devel/p5-Data-Binary

Data::Binary provides string equivalents to the -T / -B operators. Since these
only work on file names and file handles, this module provides the same
functions but on strings.

Note that the actual implementation is currently different, basically because
the -T / -B functions are in C/XS, and this module is written in pure Perl. For
now, anyway.

diffstat:

 devel/p5-Data-Binary/DESCR    |   7 +++++++
 devel/p5-Data-Binary/Makefile |  16 ++++++++++++++++
 devel/p5-Data-Binary/distinfo |   6 ++++++
 3 files changed, 29 insertions(+), 0 deletions(-)

diffs (41 lines):

diff -r a088842a88d6 -r 1ffd773c384c devel/p5-Data-Binary/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Binary/DESCR        Sat Jan 26 08:08:41 2019 +0000
@@ -0,0 +1,7 @@
+Data::Binary provides string equivalents to the -T / -B operators. Since these
+only work on file names and file handles, this module provides the same
+functions but on strings.
+
+Note that the actual implementation is currently different, basically because
+the -T / -B functions are in C/XS, and this module is written in pure Perl. For
+now, anyway.
diff -r a088842a88d6 -r 1ffd773c384c devel/p5-Data-Binary/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Binary/Makefile     Sat Jan 26 08:08:41 2019 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2019/01/26 08:08:41 wen Exp $
+
+DISTNAME=      Data-Binary-0.01
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Data/}
+
+MAINTAINER=    wen%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Data-Binary/
+COMMENT=       Simple detection of binary versus text in strings
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST=                auto/Data/Binary/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a088842a88d6 -r 1ffd773c384c devel/p5-Data-Binary/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Binary/distinfo     Sat Jan 26 08:08:41 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/26 08:08:41 wen Exp $
+
+SHA1 (Data-Binary-0.01.tar.gz) = bbf3a313d00351b418f395630d02eb06d5dc0d65
+RMD160 (Data-Binary-0.01.tar.gz) = b785118c9347c9880be5746b9a094467c852d315
+SHA512 (Data-Binary-0.01.tar.gz) = fee212031713280218ad01aba596bb6827ee10c2cc258f18ddf02b2e5e3b5dbf40f80d8ad92f29e5acb390656fd1c7d752e783401842b45cb75ddd9ff6fd975d
+Size (Data-Binary-0.01.tar.gz) = 3419 bytes



Home | Main Index | Thread Index | Old Index