Date: Thu, 7 Jun 2012 16:20:17 GMT From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: freebsd-python@FreeBSD.org Subject: Re: ports/155526: [PATCH] devel/py-elementtree: ignore if python >= 2.5 Message-ID: <201206071620.q57GKHbn078908@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/155526; it has been noted by GNATS. From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: Marcus von Appen <mva@FreeBSD.org> Cc: bug-followup@FreeBSD.org Subject: Re: ports/155526: [PATCH] devel/py-elementtree: ignore if python >= 2.5 Date: Thu, 07 Jun 2012 20:13:42 +0400 Marcus von Appen wrote on 07.06.2012 19:39: > As long as www/py-Products.TinyMCE depends on it, there is no way to > delete it (without fixing www/py-Products.TinyMCE beforehand for python >> = 2.5). > > Also, as it does not do any harm (no package name confusion with > xml.etree.elementTree and _elementtree), it is not really necessary to > force the deletion of it. > > Cheers > Marcus Yes, but why do we need to hold the ports, that nobody using and will not be anyway? All the ports I saw, that uses elementTree, first checking if they can import xml.etree and if they not, then they will try to fallback to standalone _elementtree. And since python24/25 will be removed soon, there is no sense to hold them. The only difference between them is HTMLTreeBuilder class that is missing in xml.etree (and that py-Products.TinyMCE is using), so py-elementtree should stay until Products.TinyMCE will be ported to py-lxml, and py-celementtree is safe to remove (because nobody using it). This ports/155526 should be closed too, because it's now impossible to remove this port. PS. The same belongs to simplejson/json case. Most ports try to use bundled json module first, and try to import simplejson if they fail (python<2.6). But there is couple of ports that need exactly simplejson implementation. -- Regards, Ruslan Tinderboxing kills... the drives.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206071620.q57GKHbn078908>