pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc
Module Name: pkgsrc
Committed By: hauke
Date: Fri Feb 3 15:33:58 UTC 2017
Modified Files:
pkgsrc/textproc: Makefile
Added Files:
pkgsrc/textproc/p5-String-Expand: DESCR Makefile PLIST distinfo
Log Message:
Add p5-String-Expand
This module implements utility functions for expanding embedded
variables in a string. Variable references are embedded in strings in
a similar form to the Bourne shell, namely, in the form $NAME or
${NAME}. In the former case, the NAME must consist of a capital letter
or underscore, and may be followed by zero or more capital letters,
digits or underscores. In the latter case, the name can consist of any
characters, but will be terminated by the first close brace character
'}'.
To generate a diff of this commit:
cvs rdiff -u -r1.903 -r1.904 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/p5-String-Expand/DESCR \
pkgsrc/textproc/p5-String-Expand/Makefile \
pkgsrc/textproc/p5-String-Expand/PLIST \
pkgsrc/textproc/p5-String-Expand/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.903 pkgsrc/textproc/Makefile:1.904
--- pkgsrc/textproc/Makefile:1.903 Wed Jan 25 14:12:23 2017
+++ pkgsrc/textproc/Makefile Fri Feb 3 15:33:57 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.903 2017/01/25 14:12:23 wiz Exp $
+# $NetBSD: Makefile,v 1.904 2017/02/03 15:33:57 hauke Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -494,6 +494,7 @@ SUBDIR+= p5-String-CRC32
SUBDIR+= p5-String-CamelCase
SUBDIR+= p5-String-Compare-ConstantTime
SUBDIR+= p5-String-Errf
+SUBDIR+= p5-String-Expand
SUBDIR+= p5-String-Flogger
SUBDIR+= p5-String-Formatter
SUBDIR+= p5-String-Koremutake
Added files:
Index: pkgsrc/textproc/p5-String-Expand/DESCR
diff -u /dev/null pkgsrc/textproc/p5-String-Expand/DESCR:1.1
--- /dev/null Fri Feb 3 15:33:58 2017
+++ pkgsrc/textproc/p5-String-Expand/DESCR Fri Feb 3 15:33:58 2017
@@ -0,0 +1,17 @@
+This module implements utility functions for expanding embedded
+variables in a string. Variable references are embedded in strings in
+a similar form to the Bourne shell, namely, in the form $NAME or
+${NAME}. In the former case, the NAME must consist of a capital letter
+or underscore, and may be followed by zero or more capital letters,
+digits or underscores. In the latter case, the name can consist of any
+characters, but will be terminated by the first close brace character
+'}'.
+
+The string may also contain literal dollar marks, escaped by \$, and
+literal escape marks, escaped by \\. These will be converted to $ and
+\ respectively on return.
+
+While there are many other modules that also provide expansion such as
+this, this module provides the function expand_strings(), which will
+perform variable expansions in all the values in a given hash, where
+values can refer to other values within the same hash.
Index: pkgsrc/textproc/p5-String-Expand/Makefile
diff -u /dev/null pkgsrc/textproc/p5-String-Expand/Makefile:1.1
--- /dev/null Fri Feb 3 15:33:58 2017
+++ pkgsrc/textproc/p5-String-Expand/Makefile Fri Feb 3 15:33:58 2017
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/02/03 15:33:58 hauke Exp $
+
+DISTNAME= String-Expand-0.04
+PKGNAME= p5-${DISTNAME}
+#PKGREVISION= 1
+CATEGORIES= textproc perl5
+MASTER_SITES= https://cpan.metacpan.org/authors/id/P/PE/PEVANS/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://metacpan.org/pod/String::Expand
+COMMENT= Functions to expand variables in self-referential sets
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Test-More-Behaviour-[0-9]*:../../devel/p5-Test-More-Behaviour
+DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/String/Expand/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/p5-String-Expand/PLIST
diff -u /dev/null pkgsrc/textproc/p5-String-Expand/PLIST:1.1
--- /dev/null Fri Feb 3 15:33:58 2017
+++ pkgsrc/textproc/p5-String-Expand/PLIST Fri Feb 3 15:33:58 2017
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/03 15:33:58 hauke Exp $
+${PERL5_SUB_INSTALLVENDORLIB}/String/Expand.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/String/Expand/.packlist
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/String::Expand.3
Index: pkgsrc/textproc/p5-String-Expand/distinfo
diff -u /dev/null pkgsrc/textproc/p5-String-Expand/distinfo:1.1
--- /dev/null Fri Feb 3 15:33:58 2017
+++ pkgsrc/textproc/p5-String-Expand/distinfo Fri Feb 3 15:33:58 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/03 15:33:58 hauke Exp $
+
+SHA1 (String-Expand-0.04.tar.gz) = 04aac4fa81b2e04b65f82e5cded5260ab1a9fc92
+RMD160 (String-Expand-0.04.tar.gz) = a26e518e0ff6e33bea9974107d2a4483d656f1e3
+SHA512 (String-Expand-0.04.tar.gz) = 3f987fae841a644593e092f35ab6f5af019bc97cb391f61727e008064fa9f18d3dd508314a46fd44ebda1670747f5f0ff0f32f0e69df345275c1e5d1ce10198d
+Size (String-Expand-0.04.tar.gz) = 12463 bytes
Home |
Main Index |
Thread Index |
Old Index