Date: Thu, 6 Aug 2009 22:39:42 +0200 From: Nicola Vitale <nicovit@gmail.com> To: Kenneth Dombrowski <kdombrowski@gmail.com> Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: py25-dbutils will not package Message-ID: <25ef68cb0908061339g617985afm1b4c91eb789c22e6@mail.gmail.com> In-Reply-To: <d7ba2730908060812s561bb265s4a50c7f1243b4960@mail.gmail.com> References: <d7ba2730908060812s561bb265s4a50c7f1243b4960@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > [2009/8/6 Kenneth Dombrowski <kdombrowski@gmail.com>] > An attempt to package py-dbutils looks like this: > > root@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25ef68cb0908061339g617985afm1b4c91eb789c22e6>