From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 26 18:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA5DBDB8 for ; Wed, 26 Feb 2014 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B589D1B05 for ; Wed, 26 Feb 2014 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1QIe0AJ042707 for ; Wed, 26 Feb 2014 18:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1QIe0nX042706; Wed, 26 Feb 2014 18:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 26 Feb 2014 18:40:00 GMT Resent-Message-Id: <201402261840.s1QIe0nX042706@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C228DA2 for ; Wed, 26 Feb 2014 18:39:13 +0000 (UTC) Received: from sunpoet.net (sunpoet.net [220.135.71.135]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 39FF61AFB for ; Wed, 26 Feb 2014 18:39:13 +0000 (UTC) Received: by sunpoet.net (Postfix, from userid 1000) id 31D894BA5; Thu, 27 Feb 2014 02:32:57 +0800 (CST) Message-Id: <20140226183257.31D894BA5@sunpoet.net> Date: Thu, 27 Feb 2014 02:32:57 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187091: [exp-run] allow coexistence of python ports with different python versions required (py33-foo and py27-bar) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Sunpoet Po-Chuan Hsieh List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 18:40:01 -0000 >Number: 187091 >Category: ports >Synopsis: [exp-run] allow coexistence of python ports with different python versions required (py33-foo and py27-bar) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 26 18:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 10.0-STABLE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r261402: Mon Feb 3 22:35:15 CST 2014 sunpoet@bonjour.sunpoet.net:/usr/obj/usr/src/sys/bonjour amd64 >Description: setuptools (devel/py-setuptools) is used for every python ports since r336553. Please consider the following case: - py-foo (USE_PYTHON=3) which depends on py33-setuptools - py-bar (USE_PYTHON=2) which depends on py27-setuptools We could have only 1 pyXX-setuptools installed, either py33-setuptools or py27-setuptools, due to limitation of ORIGIN. As a result, these two ports can't be installed together. This PR suggests the addition of devel/py-setuptools{27|31|32|33} for different python versions. This suggestion received no objection among several python@ committers. It also avoids packaging failure for python ports requires Python 3.x (non-default python version), e.g. [1][2]. [1] http://beefy2.isc.freebsd.org/bulk/83amd64-default/2014-02-26_04h39m00s/logs/py33-dns3-3.0.4.log [2] http://beefy2.isc.freebsd.org/bulk/83amd64-default/2014-02-26_04h39m00s/logs/py33-kyotocabinet-1.22.log >How-To-Repeat: >Fix: The patch is available at http://people.FreeBSD.org/~sunpoet/py-setuptools.patch >Release-Note: >Audit-Trail: >Unformatted: