#12224 closed enhancement (fixed)
RFE: provide ${os.major} instead of local regexps
Reported by: | afb@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.5 |
Component: | base | Version: | 1.5 |
Keywords: | Cc: | ||
Port: |
Description
Provide ${os.major} with the major ${os.version} to use for platform variants and for packaging. Having it in one place makes it easier to modify for different OSes, and less code when using...
Attachments (1)
Change History (9)
Changed 17 years ago by afb@…
Attachment: | macports-major.patch added |
---|
comment:1 Changed 17 years ago by afb@…
Component: | ports → base |
---|
comment:2 Changed 17 years ago by kballard (Lily Ballard)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Looks good, though there's no reason to use a regexp for this when we can just split on periods. Committed with that change in r26693. Thanks.
comment:3 Changed 17 years ago by afb@…
Thanks for applying the change, now we can include the ${os.major} when fetching remote packages and when setting up repositories - something like ${os.platform}/${os.major}/${os.arch}...
comment:4 Changed 17 years ago by afb@…
It should be noted that the patch only adds the variable, it doesn't actually change naming.
comment:5 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → Needs developer review |
---|
Go to the dev list archive to read my comments on this: http://lists.macosforge.org/pipermail/macports-dev/2007-July/002041.html
Setting milestone to "Needs dev review", hoping we get better traction there.
-jmpp
comment:6 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | Needs developer review → MacPorts base bugs |
---|
Milestone Needs developer review deleted
comment:7 Changed 17 years ago by nox@…
Milestone: | MacPorts base bugs → MacPorts base enhancements |
---|---|
Priority: | Expected → Normal |
Summary: | provide ${os.major} instead of local regexps → RFE: provide ${os.major} instead of local regexps |
comment:8 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.5 |
---|
macports-major.patch