[131139] trunk/dports/perl/p5-digest-nilsimsa
mojca at macports.org
mojca at macports.org
Tue Jan 6 04:13:36 PST 2015
Revision: 131139
https://trac.macports.org/changeset/131139
Author: mojca at macports.org
Date: 2015-01-06 04:13:36 -0800 (Tue, 06 Jan 2015)
Log Message:
-----------
p5-digest-nilsimsa: add 5.18 5.20, checksums, remove -p1 from patch
Modified Paths:
--------------
trunk/dports/perl/p5-digest-nilsimsa/Portfile
trunk/dports/perl/p5-digest-nilsimsa/files/patch-Nilsimsa-pm.diff
Modified: trunk/dports/perl/p5-digest-nilsimsa/Portfile
===================================================================
--- trunk/dports/perl/p5-digest-nilsimsa/Portfile 2015-01-06 12:07:29 UTC (rev 131138)
+++ trunk/dports/perl/p5-digest-nilsimsa/Portfile 2015-01-06 12:13:36 UTC (rev 131139)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.branches 5.16
+perl5.branches 5.16 5.18 5.20
perl5.setup Digest-Nilsimsa 0.06
revision 5
platforms darwin
@@ -18,10 +18,9 @@
represented in hex. This module is a wrapper around \
nilsimsa implementation in C by cmeclax.
-if {${perl5.major} != ""} {
-patchfiles patch-Nilsimsa-pm.diff
-patch.pre_args -p1
+checksums rmd160 e744cecf7780468e4a7309990e506596cd873150 \
+ sha256 cd3762cd76803729fd42022d382bc93b26f9b14aed9732eef85b44a9576d2d1e
-checksums sha1 6f9248c6a900c08bea64830930be12572000171b \
- rmd160 e744cecf7780468e4a7309990e506596cd873150
+if {${perl5.major} != ""} {
+ patchfiles patch-Nilsimsa-pm.diff
}
Modified: trunk/dports/perl/p5-digest-nilsimsa/files/patch-Nilsimsa-pm.diff
===================================================================
--- trunk/dports/perl/p5-digest-nilsimsa/files/patch-Nilsimsa-pm.diff 2015-01-06 12:07:29 UTC (rev 131138)
+++ trunk/dports/perl/p5-digest-nilsimsa/files/patch-Nilsimsa-pm.diff 2015-01-06 12:13:36 UTC (rev 131139)
@@ -1,7 +1,7 @@
# https://rt.cpan.org/Public/Bug/Display.html?id=58572
---- Digest-Nilsimsa-0.06/Nilsimsa.pm.orig 2002-06-13 06:15:10.000000000 +0200
-+++ Digest-Nilsimsa-0.06/Nilsimsa.pm 2010-06-22 02:07:21.000000000 +0200
+--- Nilsimsa.pm.orig
++++ Nilsimsa.pm
@@ -37,6 +37,41 @@ wrapper around nilsimsa implementation i
Pass in any text, any size, and get back a digest string composed 64
hex chars.
@@ -44,8 +44,8 @@
=back
=head1 SEE ALSO
---- Digest-Nilsimsa-0.06/t/01-hex_distance.t.orig 2010-06-22 01:33:37.000000000 +0200
-+++ Digest-Nilsimsa-0.06/t/01-hex_distance.t 2010-06-22 02:07:51.000000000 +0200
+--- t/01-hex_distance.t.orig
++++ t/01-hex_distance.t
@@ -0,0 +1,19 @@
+#!perl
+use strict;
@@ -66,8 +66,8 @@
+cmp_ok(Digest::Nilsimsa::hex_distance(@n), '==', 92, 'hex_distance class method');
+cmp_ok(Digest::Nilsimsa::hex_distance({}, @n), '==', 92, 'hex_distance obj method');
+
---- Digest-Nilsimsa-0.06/MANIFEST.orig 2002-05-21 00:07:21.000000000 +0200
-+++ Digest-Nilsimsa-0.06/MANIFEST 2010-06-22 02:09:12.000000000 +0200
+--- MANIFEST.orig
++++ MANIFEST
@@ -7,6 +7,7 @@ README
_nilsimsa.c
nilsimsa.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150106/fb557431/attachment.html>
More information about the macports-changes
mailing list