py-sqlite & py-sqlite2 - determining dependents
py-sqlite is at 2.3.1 py-sqlite2 is at 2.3.2 How do I determine the ports that depend on each? 'port dependents foo' seems not to display anything for either of them. Mark
On Dec 12, 2006, at 9:22 PM, Mark Duling wrote:
py-sqlite is at 2.3.1 py-sqlite2 is at 2.3.2
How do I determine the ports that depend on each?
grep? :)
'port dependents foo' seems not to display anything for either of them.
port dependents only works on installed ports on your system ... -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
"Daniel J. Luke" <dluke@geeklair.net> on Wednesday, December 13, 2006 at 6:20 AM -0800 wrote:
How do I determine the ports that depend on each?
grep? :)
I've grepped, but it seems ugly and difficult to interpret. I thought I've seen people do some svn magic for when they want to change dependencies on multilple ports at once so I thought maybe there was a better way with either port or svn.
'port dependents foo' seems not to display anything for either of them.
port dependents only works on installed ports on your system ...
Ah I see. Thanks. Mark
On Dec 13, 2006, at 10:28 AM, Mark Duling wrote:
I've grepped, but it seems ugly and difficult to interpret. I thought I've seen people do some svn magic for when they want to change dependencies on multilple ports at once so I thought maybe there was a better way with either port or svn.
If there is, I'm not aware of it (which doesn't mean there isn't some other better way to do it). That information is in the PortIndex though, so you can just grep PortIndex (which will be faster than doing a recursive grep though all of the portfiles). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
That can't be true. port dependents shows all the dependencies listed in the PortIndex for the given port. This means it doesn't show dependencies for variants, or any nested dependencies, but it does show the top level of them. It also only shows them by port, it doesn't show which ones are already matched (either by path, or by port being installed). For example, I have no idea what minicom, lrzsz, and keremit are, but I get the following kballard> port deps minicom minicom has runtime dependencies on: lrzsz kermit It works similarly for py-sqlite and py-sqlite2. On Dec 13, 2006, at 9:20 AM, Daniel J. Luke wrote:
'port dependents foo' seems not to display anything for either of them.
port dependents only works on installed ports on your system ...
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
participants (3)
-
Daniel J. Luke
-
Kevin Ballard
-
Mark Duling