diff options
author | wiz <wiz> | 2009-03-07 01:44:50 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-03-07 01:44:50 +0000 |
commit | 63c4ec8163ff321a6c6657c254e773b6e0886957 (patch) | |
tree | 53d22f0ca7303e9044be5c6c0a7df17c84cdedc9 /pkgtools | |
parent | a1d929473d5f8423a06629be02f27c8275e55608 (diff) | |
download | pkgsrc-63c4ec8163ff321a6c6657c254e773b6e0886957.tar.gz |
Fix documentation -- dewey_cmp and dewey_match texts were swapped.
Noted and patch provided by Mihai Chelaru.
Bump version to 1.1.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/Makefile | 5 | ||||
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/files/Changes | 4 | ||||
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/files/Dewey.pm | 16 | ||||
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/files/README | 2 |
4 files changed, 15 insertions, 12 deletions
diff --git a/pkgtools/p5-pkgsrc-Dewey/Makefile b/pkgtools/p5-pkgsrc-Dewey/Makefile index d98d2174206..d8e6ce44de8 100644 --- a/pkgtools/p5-pkgsrc-Dewey/Makefile +++ b/pkgtools/p5-pkgsrc-Dewey/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.12 2008/10/19 19:18:44 he Exp $ +# $NetBSD: Makefile,v 1.13 2009/03/07 01:44:50 wiz Exp $ -DISTNAME= p5-pkgsrc-Dewey-1.0 -PKGREVISION= 2 +DISTNAME= p5-pkgsrc-Dewey-1.1 CATEGORIES= pkgtools perl5 MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/p5-pkgsrc-Dewey/files/Changes b/pkgtools/p5-pkgsrc-Dewey/files/Changes index 78eb0f53f38..bd3202a84b9 100644 --- a/pkgtools/p5-pkgsrc-Dewey/files/Changes +++ b/pkgtools/p5-pkgsrc-Dewey/files/Changes @@ -1,4 +1,8 @@ Revision history for Perl extension pkgsrc::Dewey. +1.1 Sat Mar 07 02:44:22 2009 + - bug fixes + - documentation fixes + 1.0 Mon Oct 17 15:46:19 2005 - first version diff --git a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.pm b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.pm index 2ab27d82be8..e3671c35653 100644 --- a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.pm +++ b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.pm @@ -10,7 +10,7 @@ our @ISA = qw(Exporter); our @EXPORT = qw(dewey_cmp dewey_match); -our $VERSION = '1.0'; +our $VERSION = '1.1'; require XSLoader; XSLoader::load('pkgsrc::Dewey', $VERSION); @@ -40,17 +40,17 @@ numbers. It provides two functions: C<dewey_cmp()> and C<dewey_match()>. -C<dewey_cmp(pattern, package)> -compares the C<pattern> against the C<package>, and returns 1 if the -C<package> matches the C<pattern> and 0 if not. Both the C<pattern> -and the C<package> should contain a package name. - -C<dewey_match(lhs, op, rhs)> +C<dewey_cmp(lhs, op, rhs)> compares two pkgsrc Dewey version numbers. Both C<lhs> and C<rhs> should be version numbers (not containing any package names). -If the operator C<op> is invalid, C<dewey_match> returns -1. +If the operator C<op> is invalid, C<dewey_cmp> returns -1. Otherwise it returns 1 if the comparison is true and 0 if not. +C<dewey_match(pattern, package)> +compares the C<pattern> against the C<package>, and returns 1 if the +C<package> matches the C<pattern> and 0 if not. Both the C<pattern> +and the C<package> should contain a package name. + =head2 EXPORT C<dewey_cmp()>, diff --git a/pkgtools/p5-pkgsrc-Dewey/files/README b/pkgtools/p5-pkgsrc-Dewey/files/README index 52c41415c03..2a86f0481ff 100644 --- a/pkgtools/p5-pkgsrc-Dewey/files/README +++ b/pkgtools/p5-pkgsrc-Dewey/files/README @@ -1,4 +1,4 @@ -pkgsrc::Dewey version 1.0 +pkgsrc::Dewey version 1.1 ========================= This Perl module provides functions to compare pkgsrc Dewey |