tech-pkg archive

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

Re: Best practice of including python-based software?



On Fri, May 01, 2015 at 09:32:52AM +0200, Georg Schwarz wrote:
> I would like to include a package (in wip) which consists of python scripts and associated man pages only.
> Is there a sample/best practice script I could learn from how to best handle such a python-only package?

You should include lang/python/application.mk, set
PYTHON_VERSIONS_INCOMPATIBLE if not all python versions are supported,
and add a list of files that need their interpreter fixed in
REPLACE_PYTHON. Depend on other python packages you need using DEPENDS.

One example of such a package is sysutils/bup.
 Thomas


Home | Main Index | Thread Index | Old Index