From owner-freebsd-python@FreeBSD.ORG  Mon May 20 18:40:57 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@FreeBSD.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 7D9A7B9C;
 Mon, 20 May 2013 18:40:57 +0000 (UTC)
 (envelope-from rsmith@xs4all.nl)
Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28])
 by mx1.freebsd.org (Postfix) with ESMTP id F1B04BE4;
 Mon, 20 May 2013 18:40:56 +0000 (UTC)
Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160])
 by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id r4KIeoqN025640;
 Mon, 20 May 2013 20:40:55 +0200 (CEST)
 (envelope-from rsmith@xs4all.nl)
Received: by slackbox.erewhon.net (Postfix, from userid 1001)
 id 7EB4912453; Mon, 20 May 2013 20:40:50 +0200 (CEST)
Date: Mon, 20 May 2013 20:40:50 +0200
From: Roland Smith <rsmith@xs4all.nl>
To: Marcus von Appen <mva@FreeBSD.org>,
 Dmitry Sivachenko <trtrmitya@gmail.com>, ports-committers@FreeBSD.org,
 svn-ports-all@FreeBSD.org, svn-ports-head@FreeBSD.org, python@FreeBSD.org
Subject: Re: svn commit: r318575 - in head/math/py-numpy: . files
Message-ID: <20130520184050.GB31335@slackbox.erewhon.net>
References: <201305200620.r4K6KTnO039444@svn.freebsd.org>
 <20130520072122.GA1287@medusa.sysfault.org>
 <6B980234-D2EA-4FEE-A7EF-829F5392E40B@FreeBSD.org>
 <20130520162827.GB1287@medusa.sysfault.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A"
Content-Disposition: inline
In-Reply-To: <20130520162827.GB1287@medusa.sysfault.org>
X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725
X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt
X-GPG-Notice: If this message is not signed, don't assume I sent it!
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Virus-Scanned: by XS4ALL Virus Scanner
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
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: Mon, 20 May 2013 18:40:57 -0000


--9zSXsLTf0vkW971A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 20, 2013 at 06:28:27PM +0200, Marcus von Appen wrote:
> On, Mon May 20, 2013, Dmitry Sivachenko wrote:
>=20
> >
> > On 20.05.2013, at 11:21, Marcus von Appen <mva@FreeBSD.org> wrote:
> >
> > > On, Mon May 20, 2013, Dmitry Sivachenko wrote:
> > >
> > > [...]
> > >
> > > Due to the changed distinfo entries for the PDFs, fetching the DISTFI=
LES
> > > does not work anymore:
> > >
> > > /usr/ports/math/py-numpy # make fetch
> > > =3D=3D=3D>  License BSD accepted by the user
> > > =3D=3D=3D>  Found saved configuration for py27-numpy-1.7.0,1
> > > =3D> numpy-ref.pdf is not in /usr/ports/math/py-numpy/distinfo.
> > > =3D> Either /usr/ports/math/py-numpy/distinfo is out of date, or
> > > =3D> numpy-ref.pdf is spelled incorrectly.
> > > *** [do-fetch] Error code 1
> > >
> >
> >
> > I already committed a fix, sorry.
>=20
> Thanks! While I'm here complaining, can you please fix up the
> __pycache__ stuff that breaks python 2.7 plists (which is the default
> python version we are using at the moment)?
=20
My apologies. By accident I included the plist from the Python3.3 build
instead of that from the Python2.7 when I submitted the PR.

> We could solve that (temporarily) by adding %%PYVER3%% conditional for
> the plist=20

For future reference, would this be OK in the Makefile:

=2Eif ${PYTHON_MAJOR_VER} =3D=3D 3
PLIST_SUB+=3D     PYVER3=3D""
=2Eelse
PLIST_SUB+=3D     PYVER3=3D"@comment "
=2Eendif

And then in the plist:

%%PYTHON_SITELIBDIR%%/numpy/__init__.py
%%PYVER3%%%%PYTHON_SITELIBDIR%%/numpy/__pycache__/__init__.cpython-%%PYTHON=
_SUFFIX%%.pyc


Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlGabjIACgkQEnfvsMMhpyW/2ACfR6vpAtBafYY9asMSkIliiY4W
37YAn3hb479eGPJmvCmtcnR6x1tVQz3k
=bE+v
-----END PGP SIGNATURE-----

--9zSXsLTf0vkW971A--