Ticket #33144 (closed enhancement: wontfix)
Would be nice if py27-rbtools installed post-review instead of post-review-2.7
| Reported by: | mk@… | Owned by: | singingwolfboy@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Port: | py27-rbtools |
Description
Hi singingwolfboy,
I've got several parallel MacPorts installations on my machine and I tripped over the following problem:
On installation 1 I installed port py-rbtools. A necessary dep is py24-rbtools and python24 etc. then.
On installation 2 I installed port py27-rbtools, because I wanted to avoid having to install all the python24 stuff. So far so good.
But when I call post-review on my 2nd installation the executable can't be found since it is named post-review-2.7 in that case.
I'd actually prefer if py27-rbtools could not be installed with py24-rbtools in place.
I understood that py*-rbtools are all handled by the py-rbtools portfile, so I guess it is impossible to mark the versions from 24 to 27 as conflicting with each other.
But I'd prefer if the py27-rbtools port would also create a post-review executable.
That would ease things a bit, since then I would have only one entry for the post-review in my ~/.gitconfig like this:
[alias]
post-review = !post-review --guess-summary --guess-description --username=kaning --parent=master --tracking-branch=origin/master --target-groups=kmymoney
Anyway, this is just a thought for improvement of the portfile, since another workaround for me is to get rid of py24-rbtools completely and install py27-rbtools on all my MP installations. :-)
Greets, Marko

