Ravenports generated: 17 Aug 2018 10:30
[ravenports.git] / bucket_65 / python-rcssmin
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-rcssmin
4 VERSION=                1.0.6
5 KEYWORDS=               python devel textproc
6 VARIANTS=               py27 py36 py37
7 SDESC[py36]=            CSS Minifier (PY 36)
8 SDESC[py37]=            CSS Minifier (PY 37)
9 SDESC[py27]=            CSS Minifier (PY 27)
10 HOMEPAGE=               http://opensource.perlig.de/rcssmin/
11 CONTACT=                Python_Automaton[python@ironwolf.systems]
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            PYPI/r/rcssmin
15 DISTFILE[1]=            rcssmin-1.0.6.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[py36]=            single
18 SPKGS[py37]=            single
19 SPKGS[py27]=            single
20
21 OPTIONS_AVAILABLE=      PY27 PY36 PY37
22 OPTIONS_STANDARD=       none
23 VOPTS[py36]=            PY27=OFF PY36=ON PY37=OFF
24 VOPTS[py37]=            PY27=OFF PY36=OFF PY37=ON
25 VOPTS[py27]=            PY27=ON PY36=OFF PY37=OFF
26
27 DISTNAME=               rcssmin-1.0.6
28
29 GENERATED=              yes
30
31 [PY36].USES_ON=                         python:py36
32
33 [PY37].USES_ON=                         python:py37
34
35 [PY27].USES_ON=                         python:py27
36
37 [FILE:2908:descriptions/desc.single]
38 ==============
39  CSS Minifier
40 ==============
41
42 RCSSmin is a CSS minifier.
43
44 The minifier is based on the semantics of the `YUI compressor`_\, which
45 itself
46 is based on `the rule list by Isaac Schlueter`_\.
47
48 This module is a re-implementation aiming for speed instead of maximum
49 compression, so it can be used at runtime (rather than during a
50 preprocessing
51 step). RCSSmin does syntactical compression only (removing spaces, comments
52 and possibly semicolons). It does not provide semantic compression (like
53 removing empty blocks, collapsing redundant properties etc). It does,
54 however,
55 support various CSS hacks (by keeping them working as intended).
56
57 Here's a feature list:
58
59 - Strings are kept, except that escaped newlines are stripped
60 - Space/Comments before the very end or before various characters are
61   stripped: ``:{});=>],!`` (The colon (``:``) is a special case, a single
62   space is kept if it's outside a ruleset.)
63 - Space/Comments at the very beginning or after various characters are
64   stripped: ``{}(=:>[,!``
65 - Optional space after unicode escapes is kept, resp. replaced by a simple
66   space
67 - whitespaces inside ``url()`` definitions are stripped
68 - Comments starting with an exclamation mark (``!``) can be kept
69 optionally.
70 - All other comments and/or whitespace characters are replaced by a single
71   space.
72 - Multiple consecutive semicolons are reduced to one
73 - The last semicolon within a ruleset is stripped
74 - CSS Hacks supported:
75
76   - IE7 hack (``>/**/``)
77   - Mac-IE5 hack (``/*\*/.../**/``)
78   - The boxmodelhack is supported naturally because it relies on valid CSS2
79     strings
80   - Between ``:first-line`` and the following comma or curly brace a space
81 is
82     inserted. (apparently it's needed for IE6)
83   - Same for ``:first-letter``
84
85 rcssmin.c is a reimplementation of rcssmin.py in C and improves runtime up
86 to
87 factor 100 or so (depending on the input). docs/BENCHMARKS in the source
88 distribution contains the details.
89
90 Both python 2 (>= 2.4) and python 3 are supported.
91
92 .. _YUI compressor: https://github.com/yui/yuicompressor/
93
94 .. _the rule list by Isaac Schlueter: https://github.com/isaacs/cssmin/
95
96
97 Copyright and License
98 ~~~~~~~~~~~~~~~~~~~~~
99
100 Copyright 2011 - 2015
101 AndrĂ© Malo or his licensors, as applicable.
102
103 The whole package (except for the files in the bench/ directory) is
104 distributed under the Apache License Version 2.0. You'll find a copy in the
105 root directory of the distribution or online at:
106 <http://www.apache.org/licenses/LICENSE-2.0>.
107
108
109 Bugs
110 ~~~~
111
112 No bugs, of course. ;-)
113 But if you've found one or have an idea how to improve rcssmin, feel free
114 to send a pull request on `github <https://github.com/ndparker/rcssmin>`_
115 or send a mail to <rcssmin-bugs@perlig.de>.
116
117
118 Author Information
119 ~~~~~~~~~~~~~~~~~~
120
121 AndrĂ© "nd" Malo <nd perlig.de>
122 GPG: 0x8103A37E
123
124
125     If God intended people to be naked, they would be born that way.
126     -- Oscar Wilde
127
128 .. vim:tw=72 syntax=rest
129
130
131 [FILE:99:distinfo]
132 ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270       582894 rcssmin-1.0.6.tar.gz
133