Re: Best practice of including python-based software?
Thomas Klausner <[email protected]> Fri, 1 May 2015 09:42:46 +0200
| Newsgroups | gmane.os.netbsd.devel.packages,gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
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