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

2013-05-20 Thread Marcus von Appen
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)?

/usr/ports/math/py-numpy # make deinstall
[...]
pkg_delete: file 
'/usr/local/lib/python2.7/site-packages/numpy/random/__pycache__/__init__.cpython-33.pyc'
 doesn't exist
pkg_delete: file 
'/usr/local/lib/python2.7/site-packages/numpy/random/__pycache__/__init__.cpython-33.pyo'
 doesn't exist
[...]

We could solve that (temporarily) by adding %%PYVER3%% conditional for
the plist - rm@ started a discussion about that issue in January[0].

[0] http://lists.freebsd.org/pipermail/freebsd-python/2013-January/005050.html

Cheers
Marcus


pgpsd9WF6O_7O.pgp
Description: PGP signature


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

2013-05-20 Thread Ruslan Makhmatkhanov

John W. O'Brien wrote on 20.05.2013 23:40:


The attached patch should fix the bulk of the packing plist problems
between pre- and post-PEP-3147 caches. I've smoke tested these with py27
and py33. Improvements are welcome.

There is still one remaining problem, which is that the following are
only, it seems, installed under py27 but not under py33. If needed, I
should have some spare cycles later to track down the specific condition.


John, would you please common pattern for this that already used in the 
ports tree? Look at /usr/ports/databases/py-fdb/Makefile for example. 
It's as easy as adding this lines to port's Makefile:


.if ${PYTHON_REL} = 320
.include ${FILESDIR}/py3k-fix-pkg-plist.inc
.endif

--
Regards,
Ruslan

Tinderboxing kills... the drives.
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org


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

2013-05-20 Thread Dmitry Sivachenko

On 21.05.2013, at 9:10, Ruslan Makhmatkhanov cvs-...@yandex.ru wrote:

 John W. O'Brien wrote on 20.05.2013 23:40:
 
 The attached patch should fix the bulk of the packing plist problems
 between pre- and post-PEP-3147 caches. I've smoke tested these with py27
 and py33. Improvements are welcome.
 
 There is still one remaining problem, which is that the following are
 only, it seems, installed under py27 but not under py33. If needed, I
 should have some spare cycles later to track down the specific condition.
 
 John, would you please common pattern for this that already used in the ports 
 tree? Look at /usr/ports/databases/py-fdb/Makefile for example. It's as easy 
 as adding this lines to port's Makefile:
 
 .if ${PYTHON_REL} = 320
 .include ${FILESDIR}/py3k-fix-pkg-plist.inc
 .endif


Yes, that seems to be a proper solution.

As far as I remember it was an intention to add that into bsd.python.mk, so 
every single python-related port does not include this.
What is the status of this?

Thanks!

___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org


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

2013-05-20 Thread Ruslan Makhmatkhanov

Dmitry Sivachenko wrote on 21.05.2013 09:20:


On 21.05.2013, at 9:10, Ruslan Makhmatkhanov cvs-...@yandex.ru wrote:


John W. O'Brien wrote on 20.05.2013 23:40:


The attached patch should fix the bulk of the packing plist problems
between pre- and post-PEP-3147 caches. I've smoke tested these with py27
and py33. Improvements are welcome.

There is still one remaining problem, which is that the following are
only, it seems, installed under py27 but not under py33. If needed, I
should have some spare cycles later to track down the specific condition.


John, would you please common pattern for this that already used in the ports 
tree? Look at /usr/ports/databases/py-fdb/Makefile for example. It's as easy as 
adding this lines to port's Makefile:

.if ${PYTHON_REL} = 320
.include ${FILESDIR}/py3k-fix-pkg-plist.inc
.endif



Yes, that seems to be a proper solution.

As far as I remember it was an intention to add that into bsd.python.mk, so 
every single python-related port does not include this.
What is the status of this?

Thanks!


It was defined as a hack (by you in particular), so I put it aside for a 
while. Also, Marcus suggested more proper fix, but it's more complex 
(for me to understand). If there is consensus that we can you use this 
temporary, then I can prepare patch for yet another exp-run at the next 
week.


--
Regards,
Ruslan

Tinderboxing kills... the drives.
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org