pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python packages

On Fri, Jan 06, 2012 at 05:35:19PM +0000, Patrick Welche wrote:
> If I have a package which depends on py-xdg, presumably I should just
> .include "../../devel/py-xdg/"
> in the same way as other dependencies, or is it different for python?
> (There is no buildlink file in py-xdg) is only needed if you need to compile or link against DSOs as part
of the build process. That's quite rare.

Normally you just want to depend on it directly:

DEPENDS+=       ${PYPKGPREFIX}-xdg-[0=9]*:../../devel/py-xdg

> If I have an (unrelated) python "package" which really is just a single
> python script, is all the lang/python/{extension,application} machinery
> necessary, if only to get REPLACE_PYTHON to work?

You should normally follow the Python naming system. To get that and
REPLACE_PYTHON, you want lang/python/


Home | Main Index | Thread Index | Old Index