Parse a distribution name
47.11 KB
built 2026-10-16 23:27:03 GMT
Description
Parse::Distname is yet another distribution name parser. It works almost the
same as CPAN::DistnameInfo, but Parse::Distname takes a different approach. It
tries to extract the version part of a distribution and treat the rest as a
distribution name, contrary to CPAN::DistnameInfo which tries to define a name
part and treat the rest as a version.
Because of this difference, when Parse::Distname parses a weird distribution
name such as "AUTHOR/v1.0.tar.gz", it says the name is empty and the version
is "v1.0", while CPAN::DistnameInfo says the name is "v" and the version is
"1.0". See test files in this distribution if you need more details. As of this
writing, Parse::Distname returns a different result for about 200+
distributions among about 320000 BackPan distributions.
Dependencies
17 totalRequires16
- coreutils
- make
- perl(Carp)
- perl(Exporter) >= 5.57
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(ExtUtils::MakeMaker::CPANfile) >= 0.08
- perl(JSON::PP)
- perl(Test::Differences)
- perl(Test::More) >= 0.88
- perl(Test::UseAllModules) >= 0.17
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-Parse-Distname = 0.05-13.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Parse-Distname-0.05.tar.gz | 33.39 KB |
| perl-Parse-Distname.spec | 3.80 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
