aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-25 16:01:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-25 16:10:48 +0000
commit38ed934b7e22704c63ea1f1668fd72c280c79c96 (patch)
tree6c220a0184184270483123a982f53bdda66adb2e
parentfec059b3ee1d157512de90af7bd8150c8583b387 (diff)
downloadports-38ed934b7e22704c63ea1f1668fd72c280c79c96.tar.gz
ports-38ed934b7e22704c63ea1f1668fd72c280c79c96.zip
textproc/py-htmlmin2: Add py-htmlmin2 0.1.13
htmlmin is a configurable HTML Minifier with safety features.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-htmlmin2/Makefile24
-rw-r--r--textproc/py-htmlmin2/distinfo3
-rw-r--r--textproc/py-htmlmin2/pkg-descr1
4 files changed, 29 insertions, 0 deletions
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.