aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-rcssmin
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-04-17 01:27:05 +0800
committerKurt Jaeger <pi@FreeBSD.org>2016-04-17 01:27:05 +0800
commit8250aa377a1e43964a547cc4461dc6bc445d9db9 (patch)
tree3df0ac9efaaffa242b22c0e42ad7203fd695c3b1 /archivers/py-rcssmin
parentc031e35484ead1765b3711975a1efed690bd174a (diff)
downloadfreebsd-ports-gnome-8250aa377a1e43964a547cc4461dc6bc445d9db9.tar.gz
freebsd-ports-gnome-8250aa377a1e43964a547cc4461dc6bc445d9db9.tar.zst
freebsd-ports-gnome-8250aa377a1e43964a547cc4461dc6bc445d9db9.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/py-rcssmin')
-rw-r--r--archivers/py-rcssmin/Makefile19
-rw-r--r--archivers/py-rcssmin/distinfo2
-rw-r--r--archivers/py-rcssmin/pkg-descr9
3 files changed, 30 insertions, 0 deletions
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