From owner-svn-ports-head@freebsd.org Thu Nov 19 22:16:19 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 1DC86A33A9B; Thu, 19 Nov 2015 22:16:19 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (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 DF3111925; Thu, 19 Nov 2015 22:16:18 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pabfh17 with SMTP id fh17so97035297pab.0; Thu, 19 Nov 2015 14:16:18 -0800 (PST) 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=9ma2MOtt5KPiFdmyqbg69QvVMnexj05YIr9wRL2oPBM=; b=J0JzHmsLhjZgf5Y2y/mcvVcklQNHHizBtFOnlvuZn00ieNDtR8NRFVG6D0YdVGfQAL sW9iNk/RW+hjXorBRG3lgpf0oY7gysRHyunReQ0Pfu6ta19rZrJpKXledSTaJ+fmXwBZ kDxtLk/rTksS12jhI9svapcuYXlOkyI2S8IQAix3fTLBztihHqZkAEMxCkM+Mh36Br6X 4XkkPWJtDTtxo5E4Snv3+YXW/9ElqNKH1EM/JHyFy8fJFk2CI+kGFieUoDs6wICrqCS7 sPEOtxuvikV2UOSmvx8uy921vcQPR2p1Sxa6VDrazOXcGaRi/05pHxcBD0q7WmEy5PWT hLKw== X-Received: by 10.68.69.38 with SMTP id b6mr13928327pbu.46.1447971378591; Thu, 19 Nov 2015 14:16:18 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01:99ca:e835:e6d:60e2? (2001-44b8-31ae-7b01-99ca-e835-0e6d-60e2.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:99ca:e835:e6d:60e2]) by smtp.gmail.com with ESMTPSA id g73sm32032pfd.81.2015.11.19.14.16.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Nov 2015 14:16:18 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r401923 - in head/devel: . py-pytz py-pytz3 References: <201511190954.tAJ9seJB090415@repo.freebsd.org> <564D9D9C.6080703@FreeBSD.org> <564DA3A4.60106@FreeBSD.org> To: Jan Beich , Muhammad Moinur Rahman Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" From: Kubilay Kocak Message-ID: <564E4A29.1080200@FreeBSD.org> Date: Fri, 20 Nov 2015 09:16:09 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Thunderbird/42.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: Thu, 19 Nov 2015 22:16:19 -0000 On 20/11/2015 4:13 AM, Jan Beich wrote: > Muhammad Moinur Rahman writes: > >> On Thu, Nov 19, 2015 at 4:25 PM, Kubilay Kocak wrote: >> >>> On 19/11/2015 9:08 PM, Muhammad Moinur Rahman wrote: >>>> In bsd.default-versions.mk >>>> PYTHON_DEFAULT=2.7 Whereas I need one from version 3 hence I have used >>>> PYTHON3_DEFAULT=3.4. Advice please ? >>>> >>>> On Thu, Nov 19, 2015 at 3:59 PM, Kubilay Kocak >>> > wrote: >>>> >>>> On 19/11/2015 8:54 PM, Muhammad Moinur Rahman wrote: >>>> > +PYTHON_VERSION= python${PYTHON3_DEFAULT} >>>> >>>> This should probably be a different PYTHON_* variable too. >>>> >>>> The mechanism in bsd.default-versions.mk >>>> ends up setting the correct >>>> "PYTHON_VERSION" variable (I believe, please check), which should be >>>> used instead. >>>> >>>> >>> >>> I believe USES=python:3 is the way it's already being done: >>> >>> >>> https://svnweb.freebsd.org/ports/head/audio/py3-pylast/Makefile?revision=376731&view=markup#l17 >>> >>> https://svnweb.freebsd.org/ports/head/accessibility/py3-atspi/Makefile?revision=401900&view=markup#l20 >>> >>> https://svnweb.freebsd.org/ports/head/multimedia/py3-gstreamer1/Makefile?revision=397984&view=markup#l20 >>> >>> https://svnweb.freebsd.org/ports/head/textproc/py3-libxml2/Makefile?revision=391332&view=markup#l19 >>> >>> Don't forget to rename :) >> >> I believe in that case I cannot use SLAVE port anymore and I should move to >> an individual port. > > koobs' examples aren't very convincing. For py2 vs. py3 it could be: In a better world, we won't need py3-* versions of ports. > # py-foo, master > USES?= python > USES+= tar:bzip2 > USE_PYTHON= py3kplist > > # py3-foo, slave > USES= python:3 > > # py2-foo, slave (when python3 by default) > USES= python:2 >