svn commit: r318575 - in head/math/py-numpy: . files

Roland Smith rsmith at xs4all.nl
Mon May 20 18:40:57 UTC 2013


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 at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20130520/8e28bcb8/attachment.sig>


More information about the freebsd-python mailing list