pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Sort-Versions Import p5-Sort-Versions-1.5:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11d9d510fec2
branches:  trunk
changeset: 503537:11d9d510fec2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 22 22:25:30 2005 +0000

description:
Import p5-Sort-Versions-1.5:

Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
like the "version numbers" that many shared library systems and revision
control packages use.  This is quite useful if you are trying to deal with
shared libraries. It can also be applied to applications that intersperse
variable-width numeric fields within text.  Other applications can
undoubtedly be found.

This is a new version of p5-SortVersion. Changes since the last
p5-SortVersions package:

2003-08-24 23:58  ed

        * README, Versions.pm: Version 1.5.

2003-08-24 23:57  ed

        * mkdist: Changed to 'mkdist' written in Perl; now checks version
        numbers.

2003-08-24 23:43  ed

        * Makefile.PL: Removed DISTNAME - change to Perl standard
        convention of calling the package Sort-Versions-xxx.tar.gz.  Though
        I don't know quite what DISTNAME did.

2003-08-24 23:41  ed

        * Makefile.PL: Get the version number from Versions.pm rather than
        hardcoding it in Makefile.PL.

2003-08-24 23:37  ed

        * Versions.pm: Removed CVS log; I'm not that keen on it, especially
        as most of the log messages were empty.

2003-08-24 23:33  ed

        * t/versions.t: Use Test::More (based on patch from mwj99).

2003-08-24 23:25  ed

        * t/versions.t: Added some more test cases and commented the
        existing tests.  I think this partly follows a patch from mwj99.

2002-09-01 19:20  ed

        * README: Some revisions and modernizing prompted by Matt's new
        version (although I didn't incorporate all his changes).

2002-09-01 15:03  ed

        * Versions.pm: Updated my email address.

2002-03-09 18:19  ed

        * t/versions.t: Added some tests for calling versioncmp directly,
        if perl >= 5.6.

2002-03-09 18:19  ed

        * Versions.pm: Made versions() deprecated, so versioncmp() is the
        routine to call.  Small code tidying.

2002-03-09 17:38  ed

        * t/versions.t: Run each test in package main and package Foo.

2002-03-09 17:26  ed

        * Versions.pm, t/versions.t: Applied patch from Slaven Rezic to let
        versions() work when called from a package other than main.  But
        this is not the final answer, I intend to deprecate versions() and
        move the code into versioncmp(), which has saner argument passing
        (not the magic $a and $b).

2002-01-28 19:06  ed

        * Versions.pm: Version 1.3: patch from Hack Kampbjørn for '-' digit
        groupings as well as '.'.

2002-01-28 19:05  ed

        * README: Added some rather lame examples of -.

2002-01-28 19:03  ed

        * t/versions.t: Added some tests for - digit grouping.

2001-07-28 18:07  ed

        * t/versions.t: Whoops - got the leading-zero tests the wrong way
        round.

2001-07-28 18:07  ed

        * README: Whoops - got the leading-zero examples the wrong way
        round in the README.

2001-07-28 18:02  ed

        * mkdist: Modified from Lingua::Preferred to Sort::Versions.

2001-07-28 17:52  ed

        * Versions.pm: Added $VERSION.

2001-07-28 17:40  ed

        * mkdist: Initial revision

2001-07-28 17:34  ed

        * t/versions.t: Added tests for leading-zero numeric comparisons.

2001-07-28 17:33  ed

        * Versions.pm: Added support for numeric comparisons where one
        version number has a leading zero.

2001-07-28 17:32  ed

        * README: Fixed spelling mistake.

diffstat:

 devel/p5-Sort-Versions/DESCR    |   6 ++++++
 devel/p5-Sort-Versions/Makefile |  22 ++++++++++++++++++++++
 devel/p5-Sort-Versions/PLIST    |   1 +
 devel/p5-Sort-Versions/distinfo |   5 +++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 500e43cc3a30 -r 11d9d510fec2 devel/p5-Sort-Versions/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Versions/DESCR      Tue Nov 22 22:25:30 2005 +0000
@@ -0,0 +1,6 @@
+Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
+like the "version numbers" that many shared library systems and revision
+control packages use.  This is quite useful if you are trying to deal with
+shared libraries. It can also be applied to applications that intersperse
+variable-width numeric fields within text.  Other applications can
+undoubtedly be found.
diff -r 500e43cc3a30 -r 11d9d510fec2 devel/p5-Sort-Versions/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Versions/Makefile   Tue Nov 22 22:25:30 2005 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/22 22:25:30 wiz Exp $
+#
+
+DISTNAME=              Sort-Versions-1.5
+PKGNAME=               p5-${DISTNAME}
+SVR4_PKGNAME=          p5sve
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Sort/}
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://search.cpan.org/dist/Sort-Versions/
+COMMENT=               Perl5 module for sorting of revision-like numbers
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/Sort/Versions/.packlist
+
+CONFLICTS+=            p5-SortVersion-[0-9]*
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 500e43cc3a30 -r 11d9d510fec2 devel/p5-Sort-Versions/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Versions/PLIST      Tue Nov 22 22:25:30 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/22 22:25:30 wiz Exp $
diff -r 500e43cc3a30 -r 11d9d510fec2 devel/p5-Sort-Versions/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Versions/distinfo   Tue Nov 22 22:25:30 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/22 22:25:30 wiz Exp $
+
+SHA1 (Sort-Versions-1.5.tar.gz) = d2f354b0a6a8254afc9af175c2fb16d85efb73c7
+RMD160 (Sort-Versions-1.5.tar.gz) = 5eafad04d3396c3e370be8203ec73060d64c7413
+Size (Sort-Versions-1.5.tar.gz) = 4482 bytes



Home | Main Index | Thread Index | Old Index