From owner-svn-ports-head@freebsd.org Mon Aug 31 05:41:49 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 243D39C6A8B; Mon, 31 Aug 2015 05:41:49 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7596CAD; Mon, 31 Aug 2015 05:41:48 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pacrd3 with SMTP id rd3so11129286pac.3; Sun, 30 Aug 2015 22:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=vpU+1WL/1R7t6HaUMCYcirIQoaMQPw4LBaHaW2QYfdw=; b=NuDVLb+FbfwSnFEj5mm002WS7M3zeTHyuxp/h9o+Lr1yFnpxiK67WzpJBBU3fokW8A s+kDrr4sOUihqxNcO8vJyBurFx86ex1XjpkcdssvtC10ydwKdRU8QHK9gwpaI2zy/Z5s FLHAdISDaGqkEy1LbL1/WTxoNc5WtSk0ZwRCKM4FfpKvh7+wwck/RL6xlhR4NmPfwICg y5xqfibblRtVEpxpvGiu183QgHeT7HhNJdqGgAhbuzXy0pjRICObpoeDTPfm2U+Dxkvn v85EjaSQ/wxcIWFzvs+9TtB6IQtPX25ptPH7eLm1TCjOc/MQXZNjQa4fms7czxCSWZgs 4HCw== X-Received: by 10.66.142.166 with SMTP id rx6mr34168119pab.25.1440999708547; Sun, 30 Aug 2015 22:41:48 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01::2? (2001-44b8-31ae-7b01-0000-0000-0000-0002.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01::2]) by smtp.gmail.com with ESMTPSA id ri9sm13014636pbc.4.2015.08.30.22.41.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 22:41:48 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r395628 - in head/www: . py-pyocclient References: <201508301655.t7UGtEVx037588@repo.freebsd.org> <55E3CED6.3010703@FreeBSD.org> To: Thomas Zander Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Kubilay Kocak X-Enigmail-Draft-Status: N1110 Message-ID: <55E3E915.7060300@FreeBSD.org> Date: Mon, 31 Aug 2015 15:41:41 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Thunderbird/40.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 05:41:49 -0000 On 31/08/2015 3:26 PM, Thomas Zander wrote: > On 31 August 2015 at 05:49, Kubilay Kocak wrote: >> Given this port only supports 2.x, this should be set to python:-2.7, >> unless it doesn't support 2.6 in which case it should be set to python:2.7 > > True, but somehow it feels wrong to set python:-2.7 if you mean "pre-3.x". > Ports should be declarative rather than imperative in respect to describing what Python versions are supported. I'm not 100% sure whether USES=python supports the a.b,a.c format (I don't think it does), but if not, the closest thing we have to stipulating "< a.d" is "-a.c". See Mk/Uses/python.mk header for more detail. Either way the current BROKEN method is sub-optimal and doesn't provide a good user experience (breaks on attempt, rather than installing a valid Python version) -- Regards, ./koobs