Hi,

> [2009/8/6 Kenneth Dombrowski <kdombrow...@gmail.com>]
> An attempt to package py-dbutils looks like this:
>
> r...@db2 ports $ portupgrade -pf databases/py-dbutils
> Creating package /usr/ports/packages/All/py25-dbutils-1.0.tbz
> Registering depends: python25-2.5.4_2.
> Creating bzip'd tar ball in '/usr/ports/packages/All/py25-dbutils-1.0.tbz'
> tar: lib/python2.5/site-packages/DBUtils-1.0-py2.5.egg-info: Cannot
> stat: No such file or directory
>
> However, the DBUtils site-packages directory is actually installed
> into an egg dir:

IMO, that happens because the first lines of setup.py script are

try:
        from setuptools import setup
except ImportError:
        from distutils.core import setup

so if you have installed devel/py-setuptools, the port installs a Python egg.
We have to set USE_PYDISTUTILS=easy_install in the Makefile and fix
the pkg-plist.

Ciao.
-- 
Nicola Vitale
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to