Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-CPAN-DistnameInfo-0.120.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-CPAN-DistnameInfo Distribution: openSUSE Tumbleweed
Version: 0.120.0 Vendor: openSUSE
Release: 1.1 Build date: Thu Jun 12 20:01:33 2025
Group: Unspecified Build host: reproducible
Size: 10790 Source RPM: perl-CPAN-DistnameInfo-0.120.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/CPAN-DistnameInfo
Summary: Extract distribution name and version from a distribution filename
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
http://search.cpan.org/ 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

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Thu Jun 12 2025 Tina Müller <tina.mueller@suse.com>
  - Normalize CPAN version
    See https://github.com/openSUSE/cpanspec/issues/47 for details
* Tue Mar 15 2011 coolo@novell.com
  - update to 0.12:
    * Grok dist names ending with something numeric
    containing underscores [Florian Ragwitz]
    * Remove potential -withoutworldwriteables suffix [Vincent Pit]
* Tue Nov 30 2010 coolo@novell.com
  - switch to perl_requires macro
* Sat Jul 10 2010 chris@computersalat.de
  - update to 0.10
    * Support -TRAIL in distribution version to indicate developer
      release
  - recreated spec by cpanspec 1.78
  - noarch pkg
* Tue Feb 09 2010 coolo@novell.com
  - initial package created by cpanspec 1.78

Files

/usr/lib/perl5/vendor_perl/5.40.2/CPAN
/usr/lib/perl5/vendor_perl/5.40.2/CPAN/DistnameInfo.pm
/usr/share/doc/packages/perl-CPAN-DistnameInfo
/usr/share/doc/packages/perl-CPAN-DistnameInfo/Changes
/usr/share/doc/packages/perl-CPAN-DistnameInfo/README
/usr/share/man/man3/CPAN::DistnameInfo.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jul 15 23:25:07 2025