[Pkg-javascript-devel] Bug#750720: python-livereload is not compatible with uglifyjs 2.x series
Leo Iannacone
l3on at ubuntu.com
Fri Jun 6 08:29:41 UTC 2014
Source: python-livereload
Severity: important
Dear Maintainer,
uglifyjs 2.x series is now in experimental and will be soon migrated
to unstable.
Your package depends on uglifyjs, but from seeems be not compatible.
It uses '-nc' option which is deprecated in 2.x. A simple patch like
this could be enough, however more tests are needed:
---
livereload/compiler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/livereload/compiler.py
+++ b/livereload/compiler.py
@@ -129,7 +129,7 @@
def uglifyjs(path, output, mode='w'):
_compile = CommandCompiler(path)
- _compile.init_command('uglifyjs --nc')
+ _compile.init_command('uglifyjs')
return functools.partial(_compile, output, mode)
Leo.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-27-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-javascript-devel
mailing list