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
[-- Attachment #1 --]
On Mon, May 20, 2013 at 06:28:27PM +0200, Marcus von Appen wrote:
> On, Mon May 20, 2013, Dmitry Sivachenko wrote:
>
> >
> > 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 DISTFILES
> > > does not work anymore:
> > >
> > > /usr/ports/math/py-numpy # make fetch
> > > ===> License BSD accepted by the user
> > > ===> Found saved configuration for py27-numpy-1.7.0,1
> > > => numpy-ref.pdf is not in /usr/ports/math/py-numpy/distinfo.
> > > => Either /usr/ports/math/py-numpy/distinfo is out of date, or
> > > => numpy-ref.pdf is spelled incorrectly.
> > > *** [do-fetch] Error code 1
> > >
> >
> >
> > I already committed a fix, sorry.
>
> 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)?
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
For future reference, would this be OK in the Makefile:
.if ${PYTHON_MAJOR_VER} == 3
PLIST_SUB+= PYVER3=""
.else
PLIST_SUB+= PYVER3="@comment "
.endif
And then in the plist:
%%PYTHON_SITELIBDIR%%/numpy/__init__.py
%%PYVER3%%%%PYTHON_SITELIBDIR%%/numpy/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
Roland
--
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)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)
iEYEARECAAYFAlGabjIACgkQEnfvsMMhpyW/2ACfR6vpAtBafYY9asMSkIliiY4W
37YAn3hb479eGPJmvCmtcnR6x1tVQz3k
=bE+v
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130520184050.GB31335>
