fwknop: init script improvements
[feed/packages.git] / lang / python / python-rcssmin / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=python-rcssmin
9 PKG_VERSION:=1.0.6
10 PKG_RELEASE=1
11
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
15
16 PYPI_NAME:=rcssmin
17 PKG_HASH:=ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
18
19 include ../pypi.mk
20 include $(INCLUDE_DIR)/package.mk
21 include ../python-package.mk
22 include ../python3-package.mk
23
24 define Package/python-rcssmin/Default
25 SUBMENU:=Python
26 SECTION:=lang
27 CATEGORY:=Languages
28 TITLE:=Fast CSS minifier for Python
29 URL:=http://opensource.perlig.de/rcssmin/
30 endef
31
32 define Package/python-rcssmin
33 $(call Package/python-rcssmin/Default)
34 DEPENDS:= \
35 +PACKAGE_python-rcssmin:python-light \
36 +PACKAGE_python-rcssmin:python-codecs
37 VARIANT:=python
38 endef
39
40 define Package/python3-rcssmin
41 $(call Package/python-rcssmin/Default)
42 DEPENDS:= \
43 +PACKAGE_python3-rcssmin:python3-light
44 VARIANT:=python3
45 endef
46
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).
53 endef
54
55 define Package/python3-rcssmin/description
56 $(call Package/python-rcssmin/description)
57 .
58 (Variant for Python3)
59 endef
60
61 $(eval $(call PyPackage,python-rcssmin))
62 $(eval $(call BuildPackage,python-rcssmin))
63 $(eval $(call BuildPackage,python-rcssmin-src))
64
65 $(eval $(call Py3Package,python3-rcssmin))
66 $(eval $(call BuildPackage,python3-rcssmin))
67 $(eval $(call BuildPackage,python3-rcssmin-src))