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 <m...@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)
pgpF3YnlBuIW2.pgp
Description: PGP signature