Questions on dependencies
Peter Danecek
Peter.Danecek at bo.ingv.it
Thu Oct 31 11:54:56 PDT 2013
Hi all,
I'm somewhat puzzled with the dependencies of some ports, and I realise the I lack some basic understanding.
(1) py-cython
From what I understand, build dependencies are required during the build, but can be removed later. Also they are not required for installation of prebuilt packages. But I have no clear idea if `py-cython` is a build dependency or a lib dependency. Looking through the existing ports, I find both.
Is `py??-cython` required after the build?
(2) python package dependencies
Intuitively, I would say that most python package dependencies were lib dependencies. But they actually may install without, right? So is it okay to declare them lib dependencies or might it be better to make them runtime dependencies?
(3) What exactly makes a lib a dependency in Macports?
I have the situation that some software depend on some library, its headers are included it is linked against it. Okay, here the situation is clear. But this lib may again depend on other libs, but my software does not directly reference/call these libraries. (It may need to link against it, not completely clear to me). Is this library a dependency for Macports or would I rely on the fact, that the library I am referencing directly, would have these other libraries as dependencies?
Thanks for clarification!
~petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1762 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20131031/f5edd350/attachment-0001.p7s>
More information about the macports-dev
mailing list