py-simplejson does not delete its own entry from ${PYTHON_SITELIBDIR}/easy-install.pth, when you remove/unistall the package/port. Further, it does not register it when you use pkg_add. Port maintainer (python@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 How-To-Repeat: [neither py-setuptools nor py-simplejson installed] root # cd /usr/ports/devel/py-simplejson root # make package [...] Registering depends: py24-setuptools-0.6c3_1 python24-2.4.3_3. Creating bzip'd tar ball in '/usr/ports/devel/py-simplejson/py24-simplejson-1.4.tbz' root # make deinstall ===> Deinstalling for devel/py-simplejson ===> Deinstalling py24-simplejson-1.4 root # cd ../py-setuptools root # make deinstall ===> Deinstalling for devel/py-setuptools ===> Deinstalling py24-setuptools-0.6c3_1 pkg_delete: '/usr/local/lib/python2.4/site-packages/easy-install.pth' fails original MD5 checksum - deleted anyway. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ root # make reinstall [...] ===> Registering installation for py24-setuptools-0.6c3_1 root # cd ../py-simplejson root # pkg_add py24-simplejson-1.4.tbz root # cat /usr/local/lib/python2.4/site-packages/easy-install.pth import sys; sys.__plen = len(sys.path) ./setuptools-0.6c3-py2.4.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) [there is not simplejson and the module is not available] root # python Python 2.4.3 (#2, Nov 27 2006, 19:13:07) [GCC 3.4.6 [FreeBSD] 20060305] on freebsd6 Type "help", "copyright", "credits" or "license" for more information.
Responsible Changed From-To: freebsd-ports-bugs->python Over to maintainer
Responsible Changed From-To: python->nivit I will take it.
nivit 2007-01-27 00:35:01 UTC FreeBSD ports repository Modified files: devel/py-simplejson Makefile pkg-plist Log: - Added easy_install commands to add/remove simplejson's entry to/from ${PYTHON_SITELIBDIR}/easy-install.pth (it failed original MD5 checksum) - Added variable PYSIMPLEJSON_EGG - Bumped PORTREVISION PR: ports/108353 Submitted by: Nicola Vitale <nivit at email.it> Approved by: alexbl (mentor, implicit) Revision Changes Path 1.5 +6 -0 ports/devel/py-simplejson/Makefile 1.3 +4 -1 ports/devel/py-simplejson/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!