Skip site navigation (1)Skip section navigation (2)
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>
In-Reply-To: <20130520162827.GB1287@medusa.sysfault.org>
References:  <201305200620.r4K6KTnO039444@svn.freebsd.org> <20130520072122.GA1287@medusa.sysfault.org> <6B980234-D2EA-4FEE-A7EF-829F5392E40B@FreeBSD.org> <20130520162827.GB1287@medusa.sysfault.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130520184050.GB31335>