perl-CPAN-DistnameInfo-0.12-16.1.noarch.rpm


Advertisement

Description

perl-CPAN-DistnameInfo - Extract distribution name and version from a distribution filename

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-CPAN-DistnameInfo
Package version 0.12
Package release 16.1
Package architecture noarch
Package type rpm
Installed size 11.47 KB
Download size 11.63 KB
Official Mirror ftp.gwdg.de
Many online services that are centered around CPAN attempt to associate
multiple uploads by extracting a distribution name from the filename of the
upload. For most distributions this is easy as they have used
ExtUtils::MakeMaker or Module::Build to create the distribution, which
results in a uniform name. But sadly not all uploads are created in this
way.
'CPAN::DistnameInfo' uses heuristics that have been learnt by the
http://search.cpan.org/ manpage to extract the distribution name and
version from filenames and also report if the version is to be treated as a
developer release
The constructor takes a single pathname, returning an object with the
following methods
* cpanid
If the path given looked like a CPAN authors directory path, then this
will be the the CPAN id of the author.
* dist
The name of the distribution
* distvname
The file name with any suffix and leading directory names removed
* filename
If the path given looked like a CPAN authors directory path, then this
will be the path to the file relative to the detected CPAN author
directory. Otherwise it is the path that was passed in.
* maturity
The maturity of the distribution. This will be either 'released' or
'developer'
* extension
The extension of the distribution, often used to denote the archive type
(e.g. 'tar.gz')
* pathname
The pathname that was passed to the constructor when creating the object.
* properties
This will return a list of key-value pairs, suitable for assigning to a
hash, for the known properties.
* version
The extracted version

Alternatives

Package Version Architecture Repository
perl-CPAN-DistnameInfo - - -

Requires

Name Value
perl(:MODULE_COMPAT_5.18.2) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1

Provides

Name Value
perl(CPAN::DistnameInfo) = 0.12
perl-CPAN-DistnameInfo = 0.12-16.1

Download

Type URL
Binary Package perl-CPAN-DistnameInfo-0.12-16.1.noarch.rpm
Source Package perl-CPAN-DistnameInfo-0.12-16.1.src.rpm

Install Howto

Install perl-CPAN-DistnameInfo rpm package:

# zypper install perl-CPAN-DistnameInfo

See Also

Package Description
perl-CPAN-Meta-2.150005-2.2.noarch.rpm The Distribution Metadata for a Cpan Dist
perl-CPAN-Meta-Check-0.012-3.2.noarch.rpm Verify requirements in a CPAN::Meta object
perl-CPAN-Meta-Requirements-2.140000-1.2.noarch.rpm Set of Version Requirements for a Cpan Dist
perl-CPAN-Meta-YAML-0.018-1.2.noarch.rpm Read and write a subset of YAML for CPAN Meta files
perl-CPAN-Mini-1.111016-3.1.noarch.rpm Create a Minimal Mirror of Cpan
perl-CPAN-Perl-Releases-2.80-1.1.noarch.rpm Mapping Perl releases on CPAN to the location of the tarballs
perl-CPAN-Uploader-0.103012-1.1.noarch.rpm Upload Things to the Cpan
perl-CSS-Minifier-XS-0.09-4.2.x86_64.rpm XS based CSS minifier
perl-CSS-Tiny-1.20-1.1.noarch.rpm Read/Write .css files with as little code as possible
perl-Cache-Cache-1.08-3.1.noarch.rpm The Cache Interface
perl-Cache-LRU-0.04-3.1.noarch.rpm Simple, Fast Implementation of Lru Cache in Pure Perl
perl-Cairo-1.106-1.21.x86_64.rpm Perl interface to the cairo 2d vector graphics library
perl-Calendar-Simple-1.21-19.1.noarch.rpm Perl extension to create simple calendars
perl-Canary-Stability-2011-1.1.noarch.rpm Canary to Check Perl Compatibility for Schmorp's Modules
perl-Capture-Tiny-0.23-3.2.noarch.rpm Capture STDOUT and STDERR from Perl, XS or external programs
Advertisement
Advertisement