tech-pkg archive

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

Re: build depency on Python?



> From: D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
> Subject: Re: build depency on Python?
> To: "Emmanuel Dreyfus" <manu%netbsd.org@localhost>
> Cc: tech-pkg%netbsd.org@localhost
> Date: Sunday, March 1, 2009, 11:25 PM
> On Mon, 2 Mar 2009 06:02:08 +0100
> manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
> > Is there a nice way to add a build depency on Python?
> (I think about
> > USE_TOOLS+= python)? Or should I just have
> > BUILD_DEPENDS+= python:../../lang/python24
> 
> Look at the *.mk files in .../lang/python/ especially
> pyversion.mk and
> application.mk.  The following should get you started.
> 
> PYTHON_VERSIONS_ACCEPTED= 26 25 24 # or whatever works for
> your app
> ...
> .include "../../lang/python/application.mk"

Good ideas, I think that it would be more pleasant to write :

USE_TOOLS+=  py-ext or pyext remplace .include "../../lang/python/extensions"
py-app or pyapp remplace (.include "../../lang/python/application.mk"), 
py-verNumversion or pyver_NumVersion  remplace ( .include 
"../../lang/python/pyversion)

NetBSD is Very JIHBED, JIHEBD it is word arabic == TOP AND POWER INTELLIGENT

http://kamelderouiche.blogspot.com



      



Home | Main Index | Thread Index | Old Index