From owner-svn-ports-all@freebsd.org Mon Aug 31 06:09:06 2015 Return-Path: Delivered-To: svn-ports-all@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 8E4809C7534; Mon, 31 Aug 2015 06:09:06 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (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 5DC6D1837; Mon, 31 Aug 2015 06:09:06 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pabzx8 with SMTP id zx8so128223195pab.1; Sun, 30 Aug 2015 23:09:06 -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=cont5oklU+t+Olz7Y0iIYmYdkd0WrCm9Gi6tEZBse6I=; b=CVOxZXAnVyIhMNSsrRKHVyz6HlC/lm4fbZF7CRWxLTwTCZO8m5aUOi7cxpQ/0qxcYp KLS0e1WP4/JGz3LuCxmEZbjDEZTcMR1ebI5MsxDGQf/iV58hkicT2tUWd6yahO1AwUXT YkRm5WObYQL5N+/LfytX3bc86vTMjgelKTNqbsYZuJu+54VW1B1/vEswPo90g89FtZHc 9ajfFPwUfxGgCExatB5V6nru2KYCFmoAvfVGe+48M6Ah0KZeuj0A3l/G6WZdLUmxB0tH n4yR0LzzlArfdVQjdArjh0JLDihw2FDtySU4RZUVxqALfjpqLxIwRNXwbIxLkymp9Sd/ aF4Q== X-Received: by 10.68.142.200 with SMTP id ry8mr34373478pbb.136.1441001345981; Sun, 30 Aug 2015 23:09:05 -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 uk6sm13254036pac.27.2015.08.30.23.09.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 23:09:05 -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> <55E3E915.7060300@FreeBSD.org> <20150831055703.GA44646@FreeBSD.org> To: Alexey Dokuchaev Cc: Thomas Zander , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Kubilay Kocak Message-ID: <55E3EF7B.2010404@FreeBSD.org> Date: Mon, 31 Aug 2015 16:08:59 +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: <20150831055703.GA44646@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 06:09:06 -0000 On 31/08/2015 3:57 PM, Alexey Dokuchaev wrote: > On Mon, Aug 31, 2015 at 03:41:41PM +1000, Kubilay Kocak wrote: >> 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". > > If "port only supports 2.x" what's more declaratively clear than python:2? > > ./danfe > python:2 unfortunately implicitly means 'depend on the lang/python2' metaport, "not any version of 2.x" We have a little bit of work to do: 1) Easy way to declare only 'any version' of 2.x / 3.x 2) Support for a,b,c in USES:python: With (2), (1) may not be needed, depending on how upstream specifies their 'supported versions' ./koobs