From nobody Mon Dec 25 16:16:16 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 4SzNLm39Zxz54x0t; Mon, 25 Dec 2023 16:16:16 +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 4SzNLm22jmz4KS1; Mon, 25 Dec 2023 16:16:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703520976; 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=sOQrw8g+Xnb4N7A1V+1m8k5dfSmPII9mdg0R1rJZARM=; b=L+EHLWb93beg61AgWYvCOjdCTA1kCPKvtBLAjRdiKb/vZmbqKhr2ST+OaFBDYgDlr0jzCP OCtepVsZG3ZuMuaX+N8K+6Wl+SkPUlODQuXmy8TpJpX0tgHSHOPbrhYQavBDpTgIKOBPMB UyEEe3ckVeWj0OxUkAq4dgTqdqpNRbYh/mr3dxEKaXBxW5YzdyN1Um04g5qQ7trxP0Qvsq 4Xa+oR7EnP8Ed94uBeLXzoOtjpx/otrbaI0YT1ROEXHnBwb1JFrCxPQSd8OBB/gWS9SY/Z izTv2EaZoAHIKWL46Prp8InVO3iNEQ4tU6fngZI25+MTPep/fhqJEvDvRYyBSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703520976; a=rsa-sha256; cv=none; b=iiWQAbw9I6i4qPb1UzW7m6WWIIVFHRKzMuFwfVZHY1c2lUkG8TvDCa7mFFYCyw6LC4dAs/ EJP5U0uiDh5w7PMaSw1JKmsYOIul5Y9zNyjKP+wu1T1fxMwiDzpSFc84x2ivyv9+r0Wb4I V7Nf4gi82guwZ/rIhkyiMMKhyYXEe++WxiHgAP8FKpLmKhadEdI7hkR8edL/vn31MzOOSk LTkItc/o/S9fberBGnDifICHyfe80i6H2nE0zXO5HKSjgOioz6jaZ68nXRnw1k4T5niqIX gyJFW986t+gY+mNJhjMbd8tBleDEnLH2KymLMYf+kUyJyou1ll9wgZg7lkbZSQ== 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=1703520976; 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=sOQrw8g+Xnb4N7A1V+1m8k5dfSmPII9mdg0R1rJZARM=; b=LXjR2w3pl8ceUUNxlGgIy6nMBy2w0Kx0yT/r2Gbawkq7zV7Fv0PpqrO/BXMnbl7qoqMxOI lDkUdvkdoHd9iEXBxm8o9hpdprwEF6YgDkcExemEL9lmHCp4OIVpJI84z4QfSRgY/+EMo2 JhibQZK84aAZntXaBkbZ4ECCei5y72d91RWcrPQ1qQfdpXvKcBW4EMW+7xUv5z4HJ8Da4O IIFpsoSenKdtwRMV/5MyTHMSGzBrdGscAUvG2jxqePahRoazSbE1ljJ0BLbottaocmTuzm ranVhpWv1u+ztLj2MrEGJ48ri9aAwMgfXUfrbrM7vsAS9lOuGSOzHvtxxNYFgQ== 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 4SzNLm18lKz3Zs; Mon, 25 Dec 2023 16:16:16 +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 3BPGGGJ6009669; Mon, 25 Dec 2023 16:16:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BPGGG5P009666; Mon, 25 Dec 2023 16:16:16 GMT (envelope-from git) Date: Mon, 25 Dec 2023 16:16:16 GMT Message-Id: <202312251616.3BPGGG5P009666@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7670362c37d1 - main - textproc/py-mkdocs-minify-plugin: Add py-mkdocs-minify-plugin 0.7.2 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7670362c37d1f2f083b89b7cef4b7a65ed22e804 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7670362c37d1f2f083b89b7cef4b7a65ed22e804 commit 7670362c37d1f2f083b89b7cef4b7a65ed22e804 Author: Po-Chuan Hsieh AuthorDate: 2023-12-25 16:01:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-12-25 16:10:49 +0000 textproc/py-mkdocs-minify-plugin: Add py-mkdocs-minify-plugin 0.7.2 mkdocs-minify-plugin is an MkDocs plugin to minify HTML, JS or CSS files prior to being written to disk. HTML minification is done using htmlmin2. JS minification is done using jsmin. CSS minification is done using csscompressor. --- textproc/Makefile | 1 + textproc/py-mkdocs-minify-plugin/Makefile | 24 ++++++++++++++++++++++++ textproc/py-mkdocs-minify-plugin/distinfo | 3 +++ textproc/py-mkdocs-minify-plugin/pkg-descr | 8 ++++++++ 4 files changed, 36 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index e77adcb4ef3b..4519241c9389 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1442,6 +1442,7 @@ SUBDIR += py-mkdocs-material SUBDIR += py-mkdocs-material-extensions SUBDIR += py-mkdocs-mermaid2-plugin + SUBDIR += py-mkdocs-minify-plugin SUBDIR += py-mkdocs-nature SUBDIR += py-mkdocs-redirects SUBDIR += py-mkdocs-simple-hooks diff --git a/textproc/py-mkdocs-minify-plugin/Makefile b/textproc/py-mkdocs-minify-plugin/Makefile new file mode 100644 index 000000000000..9f7ea2c194e1 --- /dev/null +++ b/textproc/py-mkdocs-minify-plugin/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mkdocs-minify-plugin +PORTVERSION= 0.7.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Minify HTML, JS or CSS files prior to being written to disk +WWW= https://github.com/byrnereese/mkdocs-minify-plugin + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}csscompressor>=0.9.5:www/py-csscompressor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}htmlmin2>=0.1.13:textproc/py-htmlmin2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsmin>=3.0.1:devel/py-jsmin@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.4.1:textproc/py-mkdocs@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-mkdocs-minify-plugin/distinfo b/textproc/py-mkdocs-minify-plugin/distinfo new file mode 100644 index 000000000000..a2200d120a99 --- /dev/null +++ b/textproc/py-mkdocs-minify-plugin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703495781 +SHA256 (mkdocs-minify-plugin-0.7.2.tar.gz) = 6a551e22d6517eaef9e1890afd60021dc1dcd1255de02d266f588d1ace040713 +SIZE (mkdocs-minify-plugin-0.7.2.tar.gz) = 8137 diff --git a/textproc/py-mkdocs-minify-plugin/pkg-descr b/textproc/py-mkdocs-minify-plugin/pkg-descr new file mode 100644 index 000000000000..04d6f557f787 --- /dev/null +++ b/textproc/py-mkdocs-minify-plugin/pkg-descr @@ -0,0 +1,8 @@ +mkdocs-minify-plugin is an MkDocs plugin to minify HTML, JS or CSS files prior +to being written to disk. + +HTML minification is done using htmlmin2. + +JS minification is done using jsmin. + +CSS minification is done using csscompressor.