Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2023 17:06:44 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ccfa62824957 - main - www/py-css-html-js-minify: adding a StandAlone Async Minifier for the Web
Message-ID:  <202310081706.398H6ip2056833@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccfa62824957a4b5693918afade576e7419958ef

commit ccfa62824957a4b5693918afade576e7419958ef
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-10-08 12:33:01 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-10-08 17:06:39 +0000

    www/py-css-html-js-minify: adding a StandAlone Async Minifier for the Web
---
 www/Makefile                        |  1 +
 www/py-css-html-js-minify/Makefile  | 20 ++++++++++++++++++++
 www/py-css-html-js-minify/distinfo  |  3 +++
 www/py-css-html-js-minify/pkg-descr | 16 ++++++++++++++++
 www/py-css-html-js-minify/pkg-plist | 13 +++++++++++++
 5 files changed, 53 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 9ce96e152c0f..7a51c384e649 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1481,6 +1481,7 @@
     SUBDIR += py-cinemagoer
     SUBDIR += py-cookies
     SUBDIR += py-crossplane
+    SUBDIR += py-css-html-js-minify
     SUBDIR += py-css-parser
     SUBDIR += py-csscompressor
     SUBDIR += py-cssmin
diff --git a/www/py-css-html-js-minify/Makefile b/www/py-css-html-js-minify/Makefile
new file mode 100644
index 000000000000..25cc0a37a06f
--- /dev/null
+++ b/www/py-css-html-js-minify/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	css-html-js-minify
+DISTVERSION=	2.5.5
+CATEGORIES=	www textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	StandAlone Async cross-platform Minifier for the Web
+WWW=		https://github.com/juancarlospaco/css-html-js-minify
+
+LICENSE=	GPLv3 LGPL3 MIT
+LICENSE_COMB=	dual
+
+#USE_GITHUB=	yes
+#GH_ACCOUNT=	juancarlospaco
+
+USES=		python zip
+USE_PYTHON=	distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-css-html-js-minify/distinfo b/www/py-css-html-js-minify/distinfo
new file mode 100644
index 000000000000..81aa2a4c6bda
--- /dev/null
+++ b/www/py-css-html-js-minify/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696767486
+SHA256 (css-html-js-minify-2.5.5.zip) = 4a9f11f7e0496f5284d12111f3ba4ff5ff2023d12f15d195c9c48bd97013746c
+SIZE (css-html-js-minify-2.5.5.zip) = 33156
diff --git a/www/py-css-html-js-minify/pkg-descr b/www/py-css-html-js-minify/pkg-descr
new file mode 100644
index 000000000000..ad0ea2fd542e
--- /dev/null
+++ b/www/py-css-html-js-minify/pkg-descr
@@ -0,0 +1,16 @@
+Async single-file cross-platform no-dependencies Minifier for the Web.
+
+- Takes a full path to anything, a file or a folder, then parse, optimize and
+  compress for Production.
+- If full path is a folder with multiple files it will use Async Multi-
+  processing.
+- Pretty-Printed colored Logging to Standard Output and Log File on OS Temporary
+  Folder.
+- Set its own Process name and show up on Process lists.
+- Can check for updates for itself.
+- Full Unicode/UTF-8 support.
+- Smooth CPU usage, Single Instance Checking.
+- Can Obfuscate, GZIP and Hash files, also Watch for changes on files.
+- Can execute arbitrary commands after and before running.
+- *.css files are saved as *.min.css, *.js are saved as *.min.js, *.htm are
+  saved as *.html.
diff --git a/www/py-css-html-js-minify/pkg-plist b/www/py-css-html-js-minify/pkg-plist
new file mode 100644
index 000000000000..e1669265ed86
--- /dev/null
+++ b/www/py-css-html-js-minify/pkg-plist
@@ -0,0 +1,13 @@
+bin/css-html-js-minify
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__init__.py
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__pycache__/css_minifier%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__pycache__/html_minifier%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__pycache__/js_minifier%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__pycache__/minify%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/__pycache__/variables%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/css_minifier.py
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/html_minifier.py
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/js_minifier.py
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/minify.py
+%%PYTHON_SITELIBDIR%%/css_html_js_minify/variables.py



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310081706.398H6ip2056833>