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

Bug#808765: ITP: python-rcssmin -- CSS Minifier



Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <zigo@debian.org>

* Package name    : python-rcssmin
  Version         : 1.0.6
  Upstream Author : n.d. parker
* URL             : https://github.com/ndparker/rcssmin
* License         : Apache-2.0
  Programming Lang: Python
  Description     : CSS Minifier

 The minifier is based on the semantics of the YUI compressor, which itself is
 based on the rule list by Isaac Schlueter.
 .
 This module is a re-implementation aiming for speed instead of maximum
 compression, so it can be used at runtime (rather than during a preprocessing
 step). RCSSmin does syntactical compression only (removing spaces, comments
 and possibly semicolons). It does not provide semantic compression (like
 removing empty blocks, collapsing redundant properties etc). It does, however,
 support various CSS hacks (by keeping them working as intended).
 .
 rcssmin.c is a reimplementation of rcssmin.py in C and improves runtime up to
 factor 100 or so (depending on the input). docs/BENCHMARKS in the source
 distribution contains the details.

This is a new dependency for python-django-compressor, which is itself one
of the runtime dependencies for Horizon, the OpenStack dashboard. This new
dependency is needed by the latest commit on django-compressor, which is the
only version currently supporting Django 1.9.


Reply to: