aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-04-16 21:01:43 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-04-16 21:02:52 +0000
commit5dce9d0f2361d20a5cbe8dc2ad1fd2a321989ded (patch)
tree20a21372e4b04647f42f9b80949f6840f0dbb5b4
parent9ea94ea71dc37771cb792870d2e27a23e256658c (diff)
downloadports-5dce9d0f2361d20a5cbe8dc2ad1fd2a321989ded.tar.gz
ports-5dce9d0f2361d20a5cbe8dc2ad1fd2a321989ded.zip
New port: textproc/py-smartypants: Translate plain ASCII punctuation into smart typographic HTML
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-smartypants/Makefile21
-rw-r--r--textproc/py-smartypants/distinfo3
-rw-r--r--textproc/py-smartypants/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 507d7c86372c..1f4a628f07f3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1399,6 +1399,7 @@
SUBDIR += py-rst2html5
SUBDIR += py-scour
SUBDIR += py-simplebayes
+ SUBDIR += py-smartypants
SUBDIR += py-snowballstemmer
SUBDIR += py-sparqlwrapper
SUBDIR += py-sphinx
diff --git a/textproc/py-smartypants/Makefile b/textproc/py-smartypants/Makefile
new file mode 100644
index 000000000000..5848ff0c215e
--- /dev/null
+++ b/textproc/py-smartypants/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= smartypants
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.0.1
+CATEGORIES= textproc
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nc@FreeBSD.org
+COMMENT= Translate plain ASCII punctuation into smart typographic HTML
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= python:3.7+
+USE_GITHUB= yes
+GH_ACCOUNT= leohemsted
+GH_PROJECT= ${PORTNAME}.py
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-smartypants/distinfo b/textproc/py-smartypants/distinfo
new file mode 100644
index 000000000000..73abd03bbea2
--- /dev/null
+++ b/textproc/py-smartypants/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618606512
+SHA256 (leohemsted-smartypants.py-v2.0.1_GH0.tar.gz) = b98191911ff3b4144ef8ad53e776a2d0ad24bd508a905c6ce523597c40022773
+SIZE (leohemsted-smartypants.py-v2.0.1_GH0.tar.gz) = 24152
diff --git a/textproc/py-smartypants/pkg-descr b/textproc/py-smartypants/pkg-descr
new file mode 100644
index 000000000000..eed53c263026
--- /dev/null
+++ b/textproc/py-smartypants/pkg-descr
@@ -0,0 +1,4 @@
+Smartypants translates plain ASCII punctuation characters into smart
+typographic punctuation HTML entities.
+
+WWW: https://github.com/leohemsted/smartypants.py