On 2009/10/05 15:04, Vijay Sankar wrote:
> I would like to have a py-odbc package that gets installed under
> site-packages for Python 2.4.
> 
> In $PORTSDIR/lang/python/python.port.mk, I changed MODPY_VERSION?  to
> 2.4 but not sure whether this is the right way to do it.

You'll have to manually edit the PLIST to remove that line,
Python 2.4 doesn't use the egg-info files.



> make package gives me the following error:
> 
> $ make package
> `/home/ports/obj/py-odbc-2.1.6/fake-i386/.fake_done' is up to date.
> ===>  Building package for py-odbc-2.1.6
> Create /home/ports/packages/i386/all/py-odbc-2.1.6.tgz
> Error in package: 
> /home/ports/obj/py-odbc-2.1.6/fake-i386/usr/local/lib/python2.4/site-packages/pyodbc-2.1.6-py2.4.egg-info
> does not exist
> ===>  Cleaning for py-odbc-2.1.6
> rm -f /home/ports/packages/i386/all/py-odbc-2.1.6.tgz
> /home/ports/packages/i386/ftp/py-odbc-2.1.6.tgz
> /home/ports/packages/i386/cdrom/py-odbc-2.1.6.tgz
> *** Error code 1
> 
> Stop in /home/ports/databases/py-odbc (line 1443 of
> /home/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /home/ports/databases/py-odbc (line 1983 of
> /home/ports/infrastructure/mk/bsd.port.mk).
> 
> Please let me know if you have any suggestions on this.
> 
> Thanks very much,
> 
> Vijay
> 
> -- 
> Vijay Sankar, M.Eng., P.Eng.
> ForeTell Technologies Limited
> 59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
> Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca
> 

Reply via email to