From nobody Sun Oct 8 17:06:44 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3T905PwKz4wZhF; Sun, 8 Oct 2023 17:06:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3T904y7Xz3WGd; Sun, 8 Oct 2023 17:06:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696784804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nVuu9QcLJVpFV3cuMJCHA8eVjUJNOgqm7EYbDW7X6/o=; b=Q7fe7JWwz9B5xMZjuMeN5f3c+7eABCFjlhGq2IaIgVU937My1BlmQdvmcXcY2ZHN8RhtoO 9MNL0A85zoZoxCO06San26w1icx4TIf7ZlYW05nAhV2areJwT4m3nOYOX58i3f2Mb2akbt sc1hGm6nUo4zy9UKsJ13NpoEBVX+x+/o13NCbJ8ynMN738rRowtxpSbxTrbWhsYfdpnxRz z3BYYxMBE9AqJZWmAheyYLSFZwtFLW35DkqNwMdeN5LsXu/nNTyT/xoapSULr3107l7ARy T+IT+1luHTKFZMPdfktaHKGi9Jg1ovejAe8Ontk5E9ctynLpfJ58in/CEgXijw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696784804; a=rsa-sha256; cv=none; b=BNhwxTtcHwZVAlkbDnzB0sdJMULZQAiTDUyWfPvIODqQ7+dXnN5BrfhT2UvwgAT1ILBvOu B8CYBgBhgC0Qia5JmHgQuRgWy9CFLb/0nsmY6BZ8Y3RHUGh2T9I7/NYU5fcjSgMkbw859T 6AZEw96VsWENBfWuKcjifU1IY4++8qyz1cTtpMRA5wbkJoFsF3h4tJDcymVPDz4hO2dfcP 7J2KzlupPgQXhil4QAa4BKeTEWL2M39KzoRcR9LS6ua4Me3RmpezquatxSU2vvFB/pBYcL XrgBx81kyoVhBfX/hzgi5uKrixZPFPxojq0IbiKJwrKMNb5cH+rdnq7x7RdKew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696784804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nVuu9QcLJVpFV3cuMJCHA8eVjUJNOgqm7EYbDW7X6/o=; b=riJvgdJ6UIBZHPZ1gV+ooTrwr2oiyJfSv5rIPhKSAdTjFU9uBjiv9NUE+desle7138LoEi WdVCQ+mWHWStRtdDG/jPvq/IoCxYmC8C/LqOZQwdXyXftDah/0tHkf/w4VZOGwCSLntDeL aJ+nSJ7fKKMayP8jdFj3tVPvCjg4w9tKzBxmR+z0xJIlTNlaF7+xdPGzUJCqj9twLWwVCK WD0GX987gwQLbnJKauRYjrQhVXmQkOmUZkrhfqXkFPuzY3cYye+KCktTNL3kmM+HaT0b4B 7iYrQWeGRGIdKOKOVs5eYmyk0XCpb9kjwxDajLbimWqEtnedBFGLZDv4czZUhA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S3T903hyhz6JC; Sun, 8 Oct 2023 17:06:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 398H6iZM056835; Sun, 8 Oct 2023 17:06:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 398H6ip2056833; Sun, 8 Oct 2023 17:06:44 GMT (envelope-from git) Date: Sun, 8 Oct 2023 17:06:44 GMT Message-Id: <202310081706.398H6ip2056833@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: ccfa62824957 - main - www/py-css-html-js-minify: adding a StandAlone Async Minifier for the Web List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ccfa62824957a4b5693918afade576e7419958ef Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccfa62824957a4b5693918afade576e7419958ef commit ccfa62824957a4b5693918afade576e7419958ef Author: Thierry Thomas AuthorDate: 2023-10-08 12:33:01 +0000 Commit: Thierry Thomas 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 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