From owner-freebsd-python@FreeBSD.ORG  Tue Dec 23 01:06:43 2014
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8988FAE9;
 Tue, 23 Dec 2014 01:06:43 +0000 (UTC)
Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com
 [IPv6:2607:f8b0:4002:c01::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 440F2623;
 Tue, 23 Dec 2014 01:06:43 +0000 (UTC)
Received: by mail-yh0-f47.google.com with SMTP id f73so2783107yha.34;
 Mon, 22 Dec 2014 17:06:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=djhUhI7qRrpL5UehgeegTMidJXf4ChUaVzOBmf2amWc=;
 b=nThqeool89pcHf8Kwu+GILIdr/dBd1AYXOvAXFsAICuZ4dz5x5AItKX5Q3WthdEJg0
 L4uYQQx8owLiEblEyKX963CB8V+1Ld5TKZj/xqd037uaMC8dxozoLyhP3SHp7MGccoMQ
 Nv4pqBvUK4stClUMddZmUauhhMxl9/cW0lJu92qUdeOegkpLJlhPkVGHGC0I87LKOBcf
 mjKGyt9YNyfVUHymL2oTBI5ig4UW4j9ZleyTPKoIBKPlM1ZaGwOSKmDJTXbFy+2cZqMj
 QXSuwf4rENljFibCHxzkmmonF+ssryoCAUgIhd9CHiUW21FNRVsgZFlVeBS/BdScMg8b
 R9bw==
MIME-Version: 1.0
X-Received: by 10.236.30.168 with SMTP id k28mr3512846yha.163.1419296802502;
 Mon, 22 Dec 2014 17:06:42 -0800 (PST)
Sender: antoine.brodin.freebsd@gmail.com
Received: by 10.170.142.198 with HTTP; Mon, 22 Dec 2014 17:06:42 -0800 (PST)
In-Reply-To: <20141125080248.GA1026@medusa.sysfault.org>
References: <20140916124035.2217ba67f72bce56e56eb677@3dresearch.com>
 <546F767B.4070702@missouri.edu>
 <CAALwa8=Oee7CUB+ojme3MVEzzhWjGF1Ru_pEOMHQyzfb68SOww@mail.gmail.com>
 <CAHNYxxM8ooo7+XNUNROoivBx1kg_8sAaGZmN3tsbG5tw+qjCug@mail.gmail.com>
 <CAALwa8kHs4g2WbRqo-mWFbWiHZoczu3RzzAgE1AFk1h3w2LKpg@mail.gmail.com>
 <20141125080248.GA1026@medusa.sysfault.org>
Date: Tue, 23 Dec 2014 02:06:42 +0100
X-Google-Sender-Auth: o-p_bKJmJcXubLxS9GmPBwuTMNY
Message-ID: <CAALwa8kQNPMArE21jnO1ffyLwMMaoJ+BbPnm-3=Qwk56y8tqdg@mail.gmail.com>
Subject: Re: /usr/ports/devel/py-gobject3: typo?
From: Antoine Brodin <antoine@FreeBSD.org>
To: Marcus von Appen <mva@freebsd.org>
Content-Type: text/plain; charset=UTF-8
Cc: python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Dec 2014 01:06:43 -0000

On Tue, Nov 25, 2014 at 9:02 AM, Marcus von Appen <mva@freebsd.org> wrote:
> Yes, it looks like DEPENDS_ARGS is the culprit here. The conditionals
> within the configure script of pygobject3-common can run into
> situations, where they do not override PYTHON_VERSION properly.
>
> We have two ways around that:
>
> - override PYTHON_VERSION in the individual ports, which break that way
>   - quickly done
>   - has to be done on a port-per-port basis
>   - adds another "hack" to maintain per port
> - rename PYTHON_VERSION in the ports infrastructure to something else
>   - more clean approach(?)
>   - not done quickly
>   - may affect users using PYTHON_VERSION actively
>   - may need other ports to receive additional changes
>   - needs a full exp-run (without isolations, so poudriere is a no-op)
>
> As workaround, I'd go with the first option for now. Depending on how
> the gnome stuff evolves, we may need to look into option two as well.

Hi,

I think we have to rename the variable passed in DEPEND_ARGS to
something else, as PYTHON_VERSION affects negatively all ports using
autoconf to detect python.

Cheers,

Antoine