aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-04-16 21:08:44 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-04-16 21:09:02 +0000
commit05c1c23d54360b32dfb70cbbe01102d583caa8e1 (patch)
treed780acd5c53e73049109bd1ce661a912de846cc0
parent2aa37d819d48330c1f0e97c95aeb92371ea06690 (diff)
New port: textproc/py-typogrify: Filters to enhance web typography
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-typogrify/Makefile20
-rw-r--r--textproc/py-typogrify/distinfo3
-rw-r--r--textproc/py-typogrify/pkg-descr4
4 files changed, 28 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1f4a628f07f3..b435942002d4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1450,6 +1450,7 @@
SUBDIR += py-translationstring
SUBDIR += py-transpopy
SUBDIR += py-ttp
+ SUBDIR += py-typogrify
SUBDIR += py-ucl
SUBDIR += py-ufal.udpipe
SUBDIR += py-wcmatch
diff --git a/textproc/py-typogrify/Makefile b/textproc/py-typogrify/Makefile
new file mode 100644
index 000000000000..041e1c5775ad
--- /dev/null
+++ b/textproc/py-typogrify/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= typogrify
+DISTVERSION= 2.0.7
+CATEGORIES= textproc
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nc@FreeBSD.org
+COMMENT= Filters to enhance web typography
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}smartypants>0:textproc/py-smartypants@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-typogrify/distinfo b/textproc/py-typogrify/distinfo
new file mode 100644
index 000000000000..d1340356156a
--- /dev/null
+++ b/textproc/py-typogrify/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618607224
+SHA256 (typogrify-2.0.7.tar.gz) = 8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38
+SIZE (typogrify-2.0.7.tar.gz) = 12903
diff --git a/textproc/py-typogrify/pkg-descr b/textproc/py-typogrify/pkg-descr
new file mode 100644
index 000000000000..73a593d6b41a
--- /dev/null
+++ b/textproc/py-typogrify/pkg-descr
@@ -0,0 +1,4 @@
+Typogrify is set of Django template filters to make caring about typography
+on the web a bit easier.
+
+WWW: https://github.com/mintchaos/typogrify/