diff options
author | Ismael Luceno | 2018-01-30 04:25:10 -0300 |
---|---|---|
committer | Ismael Luceno | 2018-01-30 04:25:10 -0300 |
commit | 4632283f0b0835dbe62b874a2056f60c617de1c7 (patch) | |
tree | 615ae25f92b0599a3e91d16c71357bb0fe6f4bd1 /perl-cpan | |
parent | 18da722e6ceb63c88c52314f6d073903a22c6c9e (diff) |
perl-set-intspan: new spell, Set::IntSpan - Manages sets of integers
Diffstat (limited to 'perl-cpan')
-rwxr-xr-x | perl-cpan/perl-set-intspan/BUILD | 1 | ||||
-rwxr-xr-x | perl-cpan/perl-set-intspan/DEPENDS | 1 | ||||
-rwxr-xr-x | perl-cpan/perl-set-intspan/DETAILS | 29 | ||||
-rw-r--r-- | perl-cpan/perl-set-intspan/HISTORY | 2 |
4 files changed, 33 insertions, 0 deletions
diff --git a/perl-cpan/perl-set-intspan/BUILD b/perl-cpan/perl-set-intspan/BUILD new file mode 100755 index 0000000000..2de29cd903 --- /dev/null +++ b/perl-cpan/perl-set-intspan/BUILD @@ -0,0 +1 @@ +default_build_perl diff --git a/perl-cpan/perl-set-intspan/DEPENDS b/perl-cpan/perl-set-intspan/DEPENDS new file mode 100755 index 0000000000..6826bc7952 --- /dev/null +++ b/perl-cpan/perl-set-intspan/DEPENDS @@ -0,0 +1 @@ +depends perl diff --git a/perl-cpan/perl-set-intspan/DETAILS b/perl-cpan/perl-set-intspan/DETAILS new file mode 100755 index 0000000000..0bd64833ad --- /dev/null +++ b/perl-cpan/perl-set-intspan/DETAILS @@ -0,0 +1,29 @@ + SPELL=perl-set-intspan + VERSION=1.19 + SOURCE="Set-IntSpan-$VERSION.tar.gz" + SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/S/SW/SWMCD/$SOURCE + SOURCE_HASH=sha512:de743bc26e4e9daf0bff636279219776421a31d1b3fa5d8e9232e051f2396cbfdd339dacd4aadc006cf31527935550c8659d8c80cbaed5942895239ab36c9cd9 +SOURCE_DIRECTORY="$BUILD_DIRECTORY/Set-IntSpan-$VERSION" + WEB_SITE="http://search.cpan.org/~swmcd/Set-IntSpan/" + LICENSE[0]="ART" + ENTERED=20180130 + KEYWORDS="" + SHORT="Set::IntSpan - Manages sets of integers" +cat << EOF +Set::IntSpan manages sets of integers. It is optimized for sets that have +long runs of consecutive integers. These arise, for example, in .newsrc files, +which maintain lists of articles: + + alt.foo: 1-21,28,31 alt.bar: 1-14192,14194,14196-14221 + +A run of consecutive integers is also called a span. + +Sets are stored internally in a run-length coded form. This provides for +both compact storage and efficient computation. In particular, set operations +can be performed directly on the encoded representation. + +Set::IntSpan is designed to manage finite sets. However, it can also +represent some simple infinite sets, such as { x | x>n }. This allows +operations involving complements to be carried out consistently, without +having to worry about the actual value of INT_MAX on your machine. +EOF diff --git a/perl-cpan/perl-set-intspan/HISTORY b/perl-cpan/perl-set-intspan/HISTORY new file mode 100644 index 0000000000..673045d94b --- /dev/null +++ b/perl-cpan/perl-set-intspan/HISTORY @@ -0,0 +1,2 @@ +2018-01-30 Ismael Luceno <ismael@sourcemage.org> + * BUILD, DEPENDS, DETAILS: spell created |