aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-04-17 01:27:05 +0800
committerpi <pi@FreeBSD.org>2016-04-17 01:27:05 +0800
commita5bc378318996ba8b1efc008aab9ce5a192b7b5f (patch)
tree3df0ac9efaaffa242b22c0e42ad7203fd695c3b1 /archivers
parent88bda08e3e3cc80ae8d599ab45db71b7c4da1335 (diff)
downloadfreebsd-ports-gnome-a5bc378318996ba8b1efc008aab9ce5a192b7b5f.tar.gz
freebsd-ports-gnome-a5bc378318996ba8b1efc008aab9ce5a192b7b5f.tar.zst
freebsd-ports-gnome-a5bc378318996ba8b1efc008aab9ce5a192b7b5f.zip
New port: archivers/py-rcssmin
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). WWW: https://github.com/ndparker/rcssmin PR: 208833 Submitted by: Ultima1252@gmail.com
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/py-rcssmin/Makefile19
-rw-r--r--archivers/py-rcssmin/distinfo2
-rw-r--r--archivers/py-rcssmin/pkg-descr9
4 files changed, 31 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index cfd1837abe7d..a6f713c6d5ca 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -170,6 +170,7 @@
SUBDIR += py-pyliblzma
SUBDIR += py-python-snappy
SUBDIR += py-rarfile
+ SUBDIR += py-rcssmin
SUBDIR += py-warctools
SUBDIR += py3-libarchive-c
SUBDIR += qpress
diff --git a/archivers/py-rcssmin/Makefile b/archivers/py-rcssmin/Makefile
new file mode 100644
index 000000000000..dc4f6e6fc298
--- /dev/null
+++ b/archivers/py-rcssmin/Makefile
@@ -0,0 +1,19 @@
+# Created by: Ultima <ultima1252@gmail.com>
+# $FreeBSD$
+
+PORTNAME= rcssmin
+PORTVERSION= 1.0.6
+CATEGORIES= archivers python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ultima1252@gmail.com
+COMMENT= Fast CSS minifier for Python
+
+LICENSE= APACHE20
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/archivers/py-rcssmin/distinfo b/archivers/py-rcssmin/distinfo
new file mode 100644
index 000000000000..1815c9cc1857
--- /dev/null
+++ b/archivers/py-rcssmin/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rcssmin-1.0.6.tar.gz) = ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
+SIZE (rcssmin-1.0.6.tar.gz) = 582894
diff --git a/archivers/py-rcssmin/pkg-descr b/archivers/py-rcssmin/pkg-descr
new file mode 100644
index 000000000000..ffeafa243fa1
--- /dev/null
+++ b/archivers/py-rcssmin/pkg-descr
@@ -0,0 +1,9 @@
+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).
+
+WWW: https://github.com/ndparker/rcssmin