From owner-svn-ports-head@freebsd.org Thu Nov 19 22:18: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 B9B37A33AD2; Thu, 19 Nov 2015 22:18:19 +0000 (UTC) (envelope-from 5u623l20@gmail.com) Received: from mail-qg0-f65.google.com (mail-qg0-f65.google.com [209.85.192.65]) (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 736441A2A; Thu, 19 Nov 2015 22:18:19 +0000 (UTC) (envelope-from 5u623l20@gmail.com) Received: by qgeb1 with SMTP id b1so6283533qge.1; Thu, 19 Nov 2015 14:18:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iUv88M6ZaUAViSM03c5jKHs1KtjuiEK+dazi0CYXk9k=; b=drsDx9IUZytSukLiI8GcWWHWa1UXWixuw9bqiYc8cjh/BlNjO5bZst6Tr2r9gYRvbE kluPVyHglsisOQ3P2I5MNmIQ2oGuK/glsuUoboK2/7aR/eK6RAy96AhyVEX2NnjehTvh 3vSxAYWJ4zAoiq/2wWWInBjIpLGTJdnCPdq9bVwiXjpCojFPCLKxrasybrfYMjGpkXN1 zzdFm4bmFqWQs2xTQL871FZ2b/VVUxl7q4SdKd70obaKV4C/nanH7Jg83fQ2NUcc5wmR 8zHbwnqIk1FWbqT5Fs2KrZvBEsY255Ox5w85Oc1jz/vE0JqTlBxc/d5w4Ks5f2KdYrAC Iubw== X-Received: by 10.140.104.167 with SMTP id a36mr9356761qgf.19.1447971498020; Thu, 19 Nov 2015 14:18:18 -0800 (PST) Received: from mail-qg0-f51.google.com (mail-qg0-f51.google.com. [209.85.192.51]) by smtp.gmail.com with ESMTPSA id d185sm2858871qkb.28.2015.11.19.14.18.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Nov 2015 14:18:17 -0800 (PST) Received: by qgea14 with SMTP id a14so61389629qge.0; Thu, 19 Nov 2015 14:18:17 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.140.171.197 with SMTP id r188mr10327318qhr.93.1447971497267; Thu, 19 Nov 2015 14:18:17 -0800 (PST) Received: by 10.140.20.45 with HTTP; Thu, 19 Nov 2015 14:18:17 -0800 (PST) In-Reply-To: <564E4A29.1080200@FreeBSD.org> References: <201511190954.tAJ9seJB090415@repo.freebsd.org> <564D9D9C.6080703@FreeBSD.org> <564DA3A4.60106@FreeBSD.org> <564E4A29.1080200@FreeBSD.org> Date: Fri, 20 Nov 2015 04:18:17 +0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r401923 - in head/devel: . py-pytz py-pytz3 From: Muhammad Moinur Rahman To: Kubilay Kocak Cc: Jan Beich , Muhammad Moinur Rahman , "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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:18:19 -0000 Only if there was an away to build the python specific version of any py-* ports, from which it was requested. :) On Fri, Nov 20, 2015 at 4:16 AM, Kubilay Kocak wrote: > 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 > > > >