tech-pkg archive

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

Package that needs cython to get compiled



Hi there!

I'm working on py-jswebkit package, that needs cython to transform some
python code in C.  Questions:

1. How is a Makefile of a package that needs cython to get built?
   math/py-pytables make:

    BUILDLINK_API_DEPENDS.pycython+= ${PYPKGPREFIX}-cython>=0.13
    .include "../../devel/py-cython/buildlink3.mk"

What about that?

2. The package looks for Makefile, to compile the module, but it should
   use setup.py instead, that calls cython and then gcc to compile the
   resulting C code.  How to make it use setup.py?  Is it looking for
   Makefile because url2pkg wrote "USE_LANGUAGES= c" in it?

Thank you very much.

-- 
Silas Silva


Home | Main Index | Thread Index | Old Index