diff options
| author | Paul Varner <fuzzyray@gentoo.org> | 2016-08-16 11:03:21 -0500 |
|---|---|---|
| committer | Paul Varner <fuzzyray@gentoo.org> | 2016-08-16 11:03:21 -0500 |
| commit | 8b40fded4ca1ecc94ed1391acb3a7e16218d4779 (patch) | |
| tree | c4a0e9607b45c56152d33ae16a143187fed01168 /data/eclean | |
| parent | c8783ccb225cddb43052463c092e8edc091c371a (diff) | |
| download | gentoolkit-8b40fded4ca1ecc94ed1391acb3a7e16218d4779.tar.gz | |
gentoolkit: Fix to allow a package name to end with a hyphen
From PMS: "3.1.2 Package Names
A package name may contain any of the characters [A-Za-z0-9+_-]. It must
not begin with a hyphen or a plus sign, and must not end in a hyphen
followed by anything matching the version syntax described in section
3.2."
This fixes the validation in cpv.py to allow a package name to end with
a hyphen as long as what follows does not match a version.
X-Gentoo-bug: 586986
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586986
Diffstat (limited to 'data/eclean')
0 files changed, 0 insertions, 0 deletions
