From owner-freebsd-python@freebsd.org  Wed Feb  3 21:27:58 2016
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@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 80406A99144
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Wed,  3 Feb 2016 21:27:58 +0000 (UTC)
 (envelope-from sunpoet@sunpoet.net)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id 5F3C888E
 for <freebsd-python@freebsd.org>; Wed,  3 Feb 2016 21:27:58 +0000 (UTC)
 (envelope-from sunpoet@sunpoet.net)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 5F757A9913F; Wed,  3 Feb 2016 21:27:58 +0000 (UTC)
Delivered-To: python@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 5F0A4A9913D
 for <python@mailman.ysv.freebsd.org>; Wed,  3 Feb 2016 21:27:58 +0000 (UTC)
 (envelope-from sunpoet@sunpoet.net)
Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com
 [IPv6:2607:f8b0:400c:c05::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 1807E88B
 for <python@freebsd.org>; Wed,  3 Feb 2016 21:27:58 +0000 (UTC)
 (envelope-from sunpoet@sunpoet.net)
Received: by mail-vk0-x234.google.com with SMTP id e6so24179478vkh.2
 for <python@freebsd.org>; Wed, 03 Feb 2016 13:27:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=sunpoet-net.20150623.gappssmtp.com; s=20150623;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc:content-type;
 bh=T4V+cQ5fQIXT3r6JpdhTyTO7c677FjSY7H8AKXQKfZk=;
 b=evcEO6E32x/WCZgoPBLSaceJ2jn6du3lLl/6ELO7hfRdDvwmlk/bdINJZsGaxq/pz6
 QGnK0zUvI1IBhpcY8TW30XaP6uw5qYdo+hmQBa2kHB4wE6CqfrYYMzT65iPI+nbL/3Ad
 S+VC4xTGIkdOb8ajS0YuwH3ZeZozAmf52agkf1a6JKUvUIKF4SfSOuUMejfLYbKBuzNS
 ShM0rEsHlEYImV+i3SCgzSTSnNbbEeDT0ADz/2cM+89bI2XzMmY6Vt7NwssT6z1yLzVB
 9bQlM2vnJRPc/Mlja4tNEmWp6/gHd4tm2dBlpXciOV2zLr4drrG+NEFSpyAOSdKgFIgA
 A8cQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc:content-type;
 bh=T4V+cQ5fQIXT3r6JpdhTyTO7c677FjSY7H8AKXQKfZk=;
 b=mEcGiCdBNCbjv4II9VI5yDRzFecOQz5/6cuDZPMRE00I6F4n4bAbquOzXTG5aq8qQ3
 9+MTScmXGhkx3XpFYz0JbsukBXrUhey+Sh4EjRa6+kELhTPtbuPnbyh2j+7/jqMigkmh
 u+S/nX4FEecQPgUg64A8+yY8BDbOHL9bN49rhH60SxqKuQbEyeqaQjXyyZhWxEc2wYdc
 sYYIdGWdA2FX2twrM9xBYljFGtk6R0UkwErPh96X7obgewwUuygtuv7fnyGrmVKXOx57
 pMsVJsCu2de/8aVZOi3FLsU+UIOiLwozX4rN8u0hZRaUHofenSEll4cRhoOHCVw2zmcA
 U+Ag==
X-Gm-Message-State: AG10YOREf83n8Vjt/nmvWYoEjHJLcWfWLLrO8MdgdFIxHRg8xEdSAuOVOOBpE7VSZGtl5gHSI88QiW3OX4RyLg==
X-Received: by 10.31.58.193 with SMTP id h184mr2885992vka.111.1454534877182;
 Wed, 03 Feb 2016 13:27:57 -0800 (PST)
MIME-Version: 1.0
Sender: sunpoet@sunpoet.net
Received: by 10.31.189.4 with HTTP; Wed, 3 Feb 2016 13:27:17 -0800 (PST)
In-Reply-To: <56B03CF4.4070200@FreeBSD.org>
References: <201602011948.u11JmPqj003525@repo.freebsd.org>
 <56B03CF4.4070200@FreeBSD.org>
From: Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
Date: Thu, 4 Feb 2016 05:27:17 +0800
X-Google-Sender-Auth: DEFEY4jip7wQZotVyG_AjW-81gM
Message-ID: <CAMHz58Qb86pADyZgCEjeEabW5SBS4Ku2o4jJQaTc852UP6qh4A@mail.gmail.com>
Subject: Re: svn commit: r407751 - head/security/py-m2crypto
To: Kubilay Kocak <koobs@freebsd.org>
Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, 
 svn-ports-head@freebsd.org, python <python@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.20
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://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: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Feb 2016 21:27:58 -0000

On Tue, Feb 2, 2016 at 1:21 PM, Kubilay Kocak <koobs@freebsd.org> wrote:

> On 2/02/2016 6:48 AM, Sunpoet Po-Chuan Hsieh wrote:
> > +
>  %%PYTHON_SITELIBDIR%%/M2Crypto/${PYCACHE_DIR}${PYCACHE_FILE}.pyc \
> > +
>  %%PYTHON_SITELIBDIR%%/M2Crypto/${PYCACHE_DIR}${PYCACHE_FILE}.${PYOEXTENSION}
>
> Hi Sunpoet,
>
> This change wasn't mentioned in the commit log. Could you summarise the
> rationale?
>
> Was it to fix a bug?
> Might/Do other ports need to do this too?
> Might there be value in having the framework bits take care of this?
>
> Reason I ask is, as we move toward reproducible builds and simplifying
> Python packaging, having the framework take care of compilation
> post-install (rather than in packaging) is a desirable target for
> various reasons.
>
> We also have an open task not to package pyc/pyo files:
>
> https://wiki.freebsd.org/Python
>
> [ ] Don't package (plist) or install .pyc and .pyo files. Details:
>
> https://wiki.freebsd.org/Python/CompiledPackages
>
>
Hello,

This change was already mentioned in the commit log.
Since USES=python was relaxed form python 2.x only to both python 2.x and
3.x, PLIST_FILES should be updated as well.

Regards,
sunpoet