File: control

package info (click to toggle)
libsort-versions-perl 1.62-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 108 kB
  • sloc: perl: 99; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Source: libsort-versions-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Ansgar Burchardt <ansgar@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: perl
Standards-Version: 3.9.6
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsort-versions-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsort-versions-perl.git
Homepage: https://metacpan.org/release/Sort-Versions

Package: libsort-versions-perl
Architecture: all
Depends: ${misc:Depends},
         ${perl:Depends}
Multi-Arch: foreign
Description: Perl module for sorting of revision (and similar) numbers
 The Sort::Versions module allows easy sorting (via comparisons) of mixed text
 and numeric strings, similar to the complex "version numbers" that many
 revision control packages and shared library systems use. For an explanation
 of the algorithm, it's easiest to look at these examples:
 .
  1.1   <  1.2
  1.1a  <  1.2
  1.1   <  1.1.1
  1.1   <  1.1a
  1.1.a <  1.1a
  1     <  a
  a     <  b
  1     <  2
 .
  (special handling for leading zeros)
  0002  <  1
  1.06  <  1.5
 .
  (a hyphen binds looser than a period)
  1-1 < 1-2
  1-2 < 1.2