Summary: | Checking versions in Ebuilds | ||
---|---|---|---|
Product: | Portage Development | Reporter: | CJ Kucera <pez> |
Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
version
version v2 |
Description
CJ Kucera
2002-10-29 12:28:00 UTC
Created attachment 5180 [details]
version
The "version" script, to be placed (hopefully) in /usr/lib/portage/bin
I just noticed that I used #!/usr/bin/env python in the first line, instead of forcing the Python path. Force of habit, see? That should probably get changed if this does make it in. Created attachment 5183 [details]
version v2
Okay, so I noticed that it should also probably return False when you don't
supply an argument, so I changed that plus the path-to-Python thing.
we have `has_version` and `best_version` in ebuild.sh |