diff options
| author | Paul Varner <fuzzyray@gentoo.org> | 2012-10-09 16:32:01 -0500 |
|---|---|---|
| committer | Paul Varner <fuzzyray@gentoo.org> | 2012-10-09 16:34:14 -0500 |
| commit | da1013f7067ca4272423802bccfe17f19a9d3e48 (patch) | |
| tree | cce65d59f114a69e7edcd13460da0e5eaed13ba6 | |
| parent | 53eadf79c9bd138cc01551a67ca95b28679c2f46 (diff) | |
| download | gentoolkit-da1013f7067ca4272423802bccfe17f19a9d3e48.tar.gz | |
Modify _pkg_re to work with EAPI 4-python which is in use by Funtoo.
Testing on a Gentoo system showed no adverse affects with the change.
| -rw-r--r-- | pym/gentoolkit/cpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/cpv.py b/pym/gentoolkit/cpv.py index 8d81c93..97fc76b 100644 --- a/pym/gentoolkit/cpv.py +++ b/pym/gentoolkit/cpv.py @@ -33,7 +33,7 @@ from gentoolkit import errors isvalid_version_re = re.compile("^(?:cvs\\.)?(?:\\d+)(?:\\.\\d+)*[a-z]?" "(?:_(p(?:re)?|beta|alpha|rc)\\d*)*$") isvalid_cat_re = re.compile("^(?:[a-zA-Z0-9][-a-zA-Z0-9+._]*(?:/(?!$))?)+$") -_pkg_re = re.compile("^[a-zA-Z0-9+_]+$") +_pkg_re = re.compile("^[a-zA-Z0-9+._]+$") # Prefix specific revision is of the form -r0<digit>+.<digit>+ isvalid_rev_re = re.compile(r'(\d+|0\d+\.\d+)') |
