Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (f6b7afffbe2d701660e82e5e59a225f52f9fb970)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (f6b7afffbe2d701660e82e5e59a225f52f9fb970)
  • Date: Tue, 30 Jan 2018 09:01:31 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 2 +
dev/null |binary
perl-cpan/bit-vector/DETAILS | 4 +-
perl-cpan/bit-vector/HISTORY | 3 ++
perl-cpan/date-calc/DEPENDS | 1
perl-cpan/date-calc/DETAILS | 4 +-
perl-cpan/date-calc/HISTORY | 4 ++
perl-cpan/perl-carp-clan/BUILD | 1
perl-cpan/perl-carp-clan/DEPENDS | 1
perl-cpan/perl-carp-clan/DETAILS | 55
+++++++++++++++++++++++++++++++++++++++
perl-cpan/perl-carp-clan/HISTORY | 2 +
11 files changed, 73 insertions(+), 4 deletions(-)

New commits:
commit f6b7afffbe2d701660e82e5e59a225f52f9fb970
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

date-calc 6.4

commit ade45078be5bc6e7bf96f32e05ab2da4c9302452
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

perl-carp-clan: new spell, Carp::Clan - Report errors from perspective of
caller of a "clan" of modules

commit fb89ff5935b5668601584ecbe2070692a7df3254
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

bit-vector 7.4

diff --git a/ChangeLog b/ChangeLog
index b5b779a..e46f0ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@
* perl-cpan/perl-readonly: new spell, Readonly - Facility for
creating read-only scalars, arrays, hashes
* perl-cpan/perl-set-intspan: new spell, Set::IntSpan - Manages
sets of integers
+ * perl-cpan/perl-carp-clan: new spell, Carp::Clan - Report errors
+ from perspective of caller of a "clan" of modules

2018-01-27 Treeve Jelbert <treeve AT sourcemage.org>
* kde5-apps/calligraplan: added, project planning tool
diff --git a/perl-cpan/bit-vector/DETAILS b/perl-cpan/bit-vector/DETAILS
index d155aad..bbd78e5 100755
--- a/perl-cpan/bit-vector/DETAILS
+++ b/perl-cpan/bit-vector/DETAILS
@@ -1,9 +1,9 @@
SPELL=bit-vector
- VERSION=6.4
+ VERSION=7.4
SOURCE=Bit-Vector-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/Bit-Vector-$VERSION
SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/S/ST/STBEY/$SOURCE
-
SOURCE_HASH=sha512:14b6c83edc7880e278475ad618dd71c55e157c93577a26763a327625af4876de191355c74d53b752955da6b988498ec5ea8de56ddf6d7bcaa21bb6a141853ba0
+
SOURCE_HASH=sha512:80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5
WEB_SITE=http://search.cpan.org/~stbey/Bit-Vector/
LICENSE=ART
ENTERED=20021009
diff --git a/perl-cpan/bit-vector/HISTORY b/perl-cpan/bit-vector/HISTORY
index 818d135..4cc9e79 100644
--- a/perl-cpan/bit-vector/HISTORY
+++ b/perl-cpan/bit-vector/HISTORY
@@ -1,3 +1,6 @@
+2018-01-30 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 7.4
+
2008-01-07 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: cleaned up, removed UPDATED
* BUILD: useless
diff --git a/perl-cpan/date-calc/DEPENDS b/perl-cpan/date-calc/DEPENDS
index 4274476..1a25956 100755
--- a/perl-cpan/date-calc/DEPENDS
+++ b/perl-cpan/date-calc/DEPENDS
@@ -1,2 +1,3 @@
depends perl &&
+depends perl-carp-clan &&
depends bit-vector
diff --git a/perl-cpan/date-calc/DETAILS b/perl-cpan/date-calc/DETAILS
index ac2e476..6293290 100755
--- a/perl-cpan/date-calc/DETAILS
+++ b/perl-cpan/date-calc/DETAILS
@@ -1,7 +1,7 @@
SPELL=date-calc
- VERSION=6.3
+ VERSION=6.4
SOURCE=Date-Calc-$VERSION.tar.gz
- SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
+
SOURCE_HASH=sha512:e2d0cb2b041afedb10033700e27075f01987abc763a59034a10a9fc0bb059706cc959f6d76fe1fc21ced4b547475f62a8c37ad38e8e49f7453d78b17082c0671
SOURCE_DIRECTORY=$BUILD_DIRECTORY/Date-Calc-$VERSION
SOURCE_URL[0]=http://www.cpan.org/authors/id/S/ST/STBEY/$SOURCE
#
SOURCE_HASH=sha512:597562ea9a289913e38bbd64158a121789caa869f67cffbb3889941a7f15b9cd4a54ed6c14ae995dd3d9348226afcace42b4dc32fbd4bf64fec6a22fe5d08b1c
diff --git a/perl-cpan/date-calc/Date-Calc-6.3.tar.gz.sig
b/perl-cpan/date-calc/Date-Calc-6.3.tar.gz.sig
deleted file mode 100644
index b93d2f5..0000000
Binary files a/perl-cpan/date-calc/Date-Calc-6.3.tar.gz.sig and /dev/null
differ
diff --git a/perl-cpan/date-calc/HISTORY b/perl-cpan/date-calc/HISTORY
index 2d5a57c..a803e75 100644
--- a/perl-cpan/date-calc/HISTORY
+++ b/perl-cpan/date-calc/HISTORY
@@ -1,3 +1,7 @@
+2018-01-30 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 6.4
+ * DEPENDS: depends on perl-carp-clan
+
2009-12-19 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 6.3
Removed PATCHLEVEL
diff --git a/perl-cpan/perl-carp-clan/BUILD b/perl-cpan/perl-carp-clan/BUILD
new file mode 100755
index 0000000..2de29cd
--- /dev/null
+++ b/perl-cpan/perl-carp-clan/BUILD
@@ -0,0 +1 @@
+default_build_perl
diff --git a/perl-cpan/perl-carp-clan/DEPENDS
b/perl-cpan/perl-carp-clan/DEPENDS
new file mode 100755
index 0000000..6826bc7
--- /dev/null
+++ b/perl-cpan/perl-carp-clan/DEPENDS
@@ -0,0 +1 @@
+depends perl
diff --git a/perl-cpan/perl-carp-clan/DETAILS
b/perl-cpan/perl-carp-clan/DETAILS
new file mode 100755
index 0000000..9f3399b
--- /dev/null
+++ b/perl-cpan/perl-carp-clan/DETAILS
@@ -0,0 +1,55 @@
+ SPELL=perl-carp-clan
+ VERSION=6.06
+ SOURCE="Carp-Clan-$VERSION.tar.gz"
+ SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/K/KE/KENTNL/$SOURCE
+
SOURCE_HASH=sha512:a3dede626814a71a5f99b25a5b01133ecd13037fd1fbbaacb04852962c5d23bb77c1cb70f417879ec173db0215904adb59136dd30de6166994aa9aa7b28ca08f
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/Carp-Clan-$VERSION"
+ WEB_SITE="http://search.cpan.org/~kentnl/Carp-Clan/";
+ LICENSE[0]="ART"
+ ENTERED=20180130
+ KEYWORDS=""
+ SHORT="Carp::Clan - Report errors from perspective of caller of a
"clan" of modules"
+cat << EOF
+This module is based on "Carp.pm" from Perl 5.005_03. It has been modified to
+skip all package names matching the pattern given in the "use" statement
inside
+the "qw()" term (or argument list).
+
+Suppose you have a family of modules or classes named "Pack::A", "Pack::B"
and
+so on, and each of them uses "Carp::Clan qw(^Pack::);" (or at least the one
in
+which the error or warning gets raised).
+
+Thus when for example your script "tool.pl" calls module "Pack::A", and
module
+"Pack::A" calls module "Pack::B", an exception raised in module "Pack::B"
will
+appear to have originated in "tool.pl" where "Pack::A" was called, and not in
+"Pack::A" where "Pack::B" was called, as the unmodified "Carp.pm" would try
to
+make you believe :-).
+
+This works similarly if "Pack::B" calls "Pack::C" where the exception is
raised,
+etcetera.
+
+In other words, this blames all errors in the "Pack::*" modules on the user
of
+these modules, i.e., on you. ;-)
+
+The skipping of a clan (or family) of packages according to a pattern
describing
+its members is necessary in cases where these modules are not classes derived
+from each other (and thus when examining @ISA - as in the original "Carp.pm"
+module - doesn't help).
+
+The purpose and advantage of this is that a "clan" of modules can work
together
+(and call each other) and throw exceptions at various depths down the calling
+hierarchy and still appear as a monolithic block (as though they were a
single
+module) from the perspective of the caller.
+
+In case you just want to ward off all error messages from the module in which
+you "use Carp::Clan", i.e., if you want to make all error messages or
warnings
+to appear to originate from where your module was called (this is what you
+usually used to "use Carp;" for ;-)), instead of in your module itself
(which is
+what you can do with a "die" or "warn" anyway), you do not need to provide a
+pattern, the module will automatically provide the correct one for you.
+
+I.e., just "use Carp::Clan;" without any arguments and call "carp" or
"croak" as
+appropriate, and they will automatically defend your module against all
blames!
+
+In other words, a pattern is only necessary if you want to make several
modules
+(more than one) work together and appear as though they were only one.
+EOF
diff --git a/perl-cpan/perl-carp-clan/HISTORY
b/perl-cpan/perl-carp-clan/HISTORY
new file mode 100644
index 0000000..673045d
--- /dev/null
+++ b/perl-cpan/perl-carp-clan/HISTORY
@@ -0,0 +1,2 @@
+2018-01-30 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS: spell created



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (f6b7afffbe2d701660e82e5e59a225f52f9fb970), Ismael Luceno, 01/30/2018

Archive powered by MHonArc 2.6.24.

Top of Page