pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/graphics/py-blockdiag



On Wed, Dec 07, 2011 at 01:12:08PM +0000, OBATA Akio wrote:
 > Modified Files:
 >      pkgsrc/graphics/py-blockdiag: Makefile PLIST distinfo
 > 
 > Log Message:
 > Update py-blockdiag to 1.1.1.

This is not accepted by python24 or python25, as follows:

/home/pkgbulk/pkg/lib/python2.5/site-packages/blockdiag/tests/test_utils_fontmap.py:35:
 Warning: 'with' will become a reserved keyword in Python 2.6
  File 
"/home/pkgbulk/pkg/lib/python2.5/site-packages/blockdiag/tests/test_utils_fontmap.py",
 line 35
    with self.assertRaises(AttributeError):
            ^
SyntaxError: invalid syntax

/home/pkgbulk/pkg/lib/python2.5/site-packages/blockdiag/tests/test_rst_directives.py:154:
 Warning: 'with' will become a reserved keyword in Python 2.6
  File 
"/home/pkgbulk/pkg/lib/python2.5/site-packages/blockdiag/tests/test_rst_directives.py",
 line 154
    with self.assertRaises(RuntimeError):
            ^

Should we just mask it or is it worth patching? (And if so, someone
else will have to as I don't offhand know how.)

-- 
David A. Holland
dholland%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index