perl-Inline-Module-LeanDist-0.101-alt2.noarch.rpm


Advertisement

Description

perl-Inline-Module-LeanDist - Develop your module with Inline but distribute lean XS

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Inline-Module-LeanDist
Package version 0.101
Package release alt2
Package architecture noarch
Package type rpm
Installed size 16.28 KB
Download size 16.28 KB
Official Mirror ftp.altlinux.org
This module is heavily inspired by the Inline::Module manpage. I wrote it because I wanted to be able to use the Inline manpage during development, but ship distributions that have no dependencies on it or any other module (for example the Inline::Filters manpage and its plugins). I wanted to ship distributions that were (from the user's perspective) identical to the XS dists I would have created by hand (without the Inline manpage).
Essentially, the Inline manpage compiles your code as lazily as possible which means all compilation dependencies are required at run-time. the Inline::Module manpage pushes the compilation dependencies back to build time. However, the Inline::Module::LeanDist manpage goes yet one step futher and pushes back the compilation dependencies to distribution creation time (of course the normal XS tool-chain dependency is still required).
The advantage of the the Inline::Module manpage approach over the Inline manpage is that start-up time is faster for your modules since the fairly heavy-weight the Inline manpage system isn't loaded, and a compiled version of your module is always available no matter the state of the current `.inline' directory (or which user is running the program, file-system permissions, etc).
the Inline::Module::LeanDist manpage has all of these advantages as well as some additional ones: Downloading and installing the Inline manpage is not necessary to build the distribution. This also goes for any other dependencies (such as the `ragel' binary required by the Inline::Filters::Ragel manpage).
With the Inline::Module::LeanDist manpage you don't need to worry about updates to the Inline manpage/the Inline::Module manpage/etc breaking your distribution, not that there is any more reason to expect `Inline::*' to break than say `MakeMaker' or `Test::*'. the Inline::Module manpage recommends avoiding back-compat problems by bundling hundreds of KB of the Inline manpage and its dependencies along with every distribution. I recommend against that. Fortunately there is a C`bundle => 0' option in the Inline::Module manpage to stop the bundling. Just add the required modules to your distribution's build-time pre-requisites.
Finally, with the Inline::Module::LeanDist manpage you don't need to mess around with the Inline::Module manpage's awkward "stub" packages.
On the other hand, the Inline::Module manpage will likely work for more ILSMs: this module module has only been tested with the Inline::C manpage so far. Also, although it's a bit subjective, in my opinion the Inline::Module manpage is nicer to develop with over the Inline manpage since it always puts the `.so' files into `blib/' which is more "normal" than the `.inline' directory (and of course it's nice that running `make' actually, you know, compiles your code).

Alternatives

Package Version Architecture Repository
perl-Inline-Module-LeanDist - - -

Requires

Name Value
/usr/share/perl5 -
perl(File/Copy.pm) -
perl(File/Find.pm) -
perl(File/Path.pm) -
perl(Inline.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Inline/Module/LeanDist.pm) = 0.101
perl(Inline/Module/LeanDist/DistDir.pm) -
perl(Inline/Module/LeanDist/MakefilePL.pm) -
perl-Inline-Module-LeanDist = 0.101-alt2

Download

Type URL
Binary Package perl-Inline-Module-LeanDist-0.101-alt2.noarch.rpm
Source Package perl-Inline-Module-LeanDist-0.101-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Inline-Module-LeanDist rpm package:
    # sudo apt-get install perl-Inline-Module-LeanDist

Files

Path
/usr/share/doc/perl-Inline-Module-LeanDist-0.101/Changes
/usr/share/doc/perl-Inline-Module-LeanDist-0.101/README
/usr/share/perl5/Inline/
/usr/share/perl5/Inline/Module/LeanDist.pm
/usr/share/perl5/Inline/Module/LeanDist/DistDir.pm
/usr/share/perl5/Inline/Module/LeanDist/MakefilePL.pm

See Also

Package Description
perl-Inline-MonoCS-1.000-alt1.noarch.rpm Use CSharp from Perl, via Mono
perl-Inline-Nouse-0.04-alt1.noarch.rpm perl module Inline-Nouse
perl-Inline-SMITH-0.03-alt1.noarch.rpm perl module Inline-SMITH
perl-Inline-Spew-0.02-alt1.noarch.rpm perl module Inline-Spew
perl-Inline-Struct-0.23-alt1.noarch.rpm perl module Inline-Struct
perl-Inline-TT-0.07-alt1.noarch.rpm perl module Inline-TT
perl-Inline-WebChat-0.62-alt1.noarch.rpm mix Perl and WebChat in a Perl script
perl-Inline-YAML-0.15-alt1.noarch.rpm Specify YAML content directly in your Perl
perl-InlineX-C2XS-0.26-alt1.noarch.rpm Convert from Inline C code to XS
perl-InlineX-C2XS-scripts-0.26-alt1.noarch.rpm InlineX-C2XS scripts
perl-InlineX-XS-0.02-alt1.noarch.rpm Auto-convert Inline::C based modules to XS
perl-Input-Validator-0.001005-alt1.noarch.rpm Data validator
perl-Insolation-0.01-alt1.noarch.rpm perl module Insolation
perl-Integer-Partition-0.05-alt1.noarch.rpm Generate all integer partitions of an integer
perl-Integer-Tiny-0.3-alt1.noarch.rpm perl module Integer-Tiny
Advertisement
Advertisement