From owner-freebsd-python@FreeBSD.ORG Thu Jun 7 16:20:18 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 099271065679 for ; Thu, 7 Jun 2012 16:20:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E81C98FC1B for ; Thu, 7 Jun 2012 16:20:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q57GKHtC078909 for ; Thu, 7 Jun 2012 16:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q57GKHbn078908; Thu, 7 Jun 2012 16:20:17 GMT (envelope-from gnats) Date: Thu, 7 Jun 2012 16:20:17 GMT Message-Id: <201206071620.q57GKHbn078908@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Ruslan Mahmatkhanov Cc: Subject: Re: ports/155526: [PATCH] devel/py-elementtree: ignore if python >= 2.5 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruslan Mahmatkhanov List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2012 16:20:18 -0000 The following reply was made to PR ports/155526; it has been noted by GNATS. From: Ruslan Mahmatkhanov To: Marcus von Appen 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.