2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=python-rcssmin
12 PKG_MAINTAINER
:=Alexandru Ardelean
<ardeleanalex@gmail.com
>, Eneas U de Queiroz
<cote2004-github@yahoo.com
>
13 PKG_LICENSE
:=Apache-2.0
14 PKG_LICENSE_FILES
:=LICENSE
17 PKG_HASH
:=ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
20 include $(INCLUDE_DIR
)/package.mk
21 include ..
/python-package.mk
22 include ..
/python3-package.mk
24 define Package
/python-rcssmin
/Default
28 TITLE
:=Fast CSS minifier for Python
29 URL
:=http
://opensource.perlig.de
/rcssmin
/
32 define Package
/python-rcssmin
33 $(call Package
/python-rcssmin
/Default
)
35 +PACKAGE_python-rcssmin
:python-light \
36 +PACKAGE_python-rcssmin
:python-codecs
40 define Package
/python3-rcssmin
41 $(call Package
/python-rcssmin
/Default
)
43 +PACKAGE_python3-rcssmin
:python3-light
47 define Package
/python-rcssmin
/description
48 This module is a re-implementation aiming for speed instead of maximum compression
,
49 so it can be used at runtime
(rather than during a preprocessing step
).
50 RCSSmin does syntactical compression only
(removing spaces
, comments and possibly
51 semicolons
). It does not provide semantic compression
(like removing empty blocks
,
52 collapsing redundant properties etc
).
55 define Package
/python3-rcssmin
/description
56 $(call Package
/python-rcssmin
/description
)
61 $(eval
$(call PyPackage
,python-rcssmin
))
62 $(eval
$(call BuildPackage
,python-rcssmin
))
63 $(eval
$(call BuildPackage
,python-rcssmin-src
))
65 $(eval
$(call Py3Package
,python3-rcssmin
))
66 $(eval
$(call BuildPackage
,python3-rcssmin
))
67 $(eval
$(call BuildPackage
,python3-rcssmin-src
))