git: 38ed934b7e22 - main - textproc/py-htmlmin2: Add py-htmlmin2 0.1.13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 16:16:13 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=38ed934b7e22704c63ea1f1668fd72c280c79c96
commit 38ed934b7e22704c63ea1f1668fd72c280c79c96
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 16:01:41 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 16:10:48 +0000
textproc/py-htmlmin2: Add py-htmlmin2 0.1.13
htmlmin is a configurable HTML Minifier with safety features.
---
textproc/Makefile | 1 +
textproc/py-htmlmin2/Makefile | 24 ++++++++++++++++++++++++
textproc/py-htmlmin2/distinfo | 3 +++
textproc/py-htmlmin2/pkg-descr | 1 +
4 files changed, 29 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 5dc8c7591c00..83b1cd98ad1e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1385,6 +1385,7 @@
SUBDIR += py-html2json
SUBDIR += py-html2text
SUBDIR += py-html2text2018
+ SUBDIR += py-htmlmin2
SUBDIR += py-humanfriendly
SUBDIR += py-hunspell
SUBDIR += py-ini2toml
diff --git a/textproc/py-htmlmin2/Makefile b/textproc/py-htmlmin2/Makefile
new file mode 100644
index 000000000000..809dbd1bdaef
--- /dev/null
+++ b/textproc/py-htmlmin2/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= htmlmin2
+PORTVERSION= 0.1.13
+DISTVERSIONPREFIX= v
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= HTML Minifier
+WWW= https://htmlmin.readthedocs.io/en/latest/ \
+ https://github.com/wilhelmer/htmlmin
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= wilhelmer
+GH_PROJECT= htmlmin
+
+.include <bsd.port.mk>
diff --git a/textproc/py-htmlmin2/distinfo b/textproc/py-htmlmin2/distinfo
new file mode 100644
index 000000000000..5d6851fcbf94
--- /dev/null
+++ b/textproc/py-htmlmin2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703495777
+SHA256 (wilhelmer-htmlmin-v0.1.13_GH0.tar.gz) = a0cbbd6634166ea8dfc16d0744d06f3205d51b86d539d0114decfb3f8fd85b41
+SIZE (wilhelmer-htmlmin-v0.1.13_GH0.tar.gz) = 134136
diff --git a/textproc/py-htmlmin2/pkg-descr b/textproc/py-htmlmin2/pkg-descr
new file mode 100644
index 000000000000..be1dbe9633fd
--- /dev/null
+++ b/textproc/py-htmlmin2/pkg-descr
@@ -0,0 +1 @@
+htmlmin is a configurable HTML Minifier with safety features.