components/openstack/horizon/patches/01-remove-nodejs.patch
changeset 1944 56ac2df1785b
parent 1943 1a27f000029f
child 1945 3dc1935a2189
equal deleted inserted replaced
1943:1a27f000029f 1944:56ac2df1785b
     1 Upstream Change I89ed102f: Drop NodeJS dependency in favor of
       
     2 pure-python lesscpy https://review.openstack.org/#/c/37473/
       
     3 
       
     4 Fixed in Havana 2013.2
       
     5 
       
     6 --- horizon-2013.1.4/openstack_dashboard/settings.py.orig  2013-12-03 09:39:07.042100957 -0700
       
     7 +++ horizon-2013.1.4/openstack_dashboard/settings.py 2013-12-03 09:39:34.835630769 -0700
       
     8 @@ -112,9 +112,8 @@
       
     9      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
       
    10  )
       
    11 
       
    12 -less_binary = os.path.join(BIN_DIR, 'less', 'lessc')
       
    13  COMPRESS_PRECOMPILERS = (
       
    14 -    ('text/less', (less_binary + ' {infile} {outfile}')),
       
    15 +    ('text/less', ('lesscpy {infile}')),
       
    16  )
       
    17 
       
    18  COMPRESS_CSS_FILTERS = (