git: 5dce9d0f2361 - main - New port: textproc/py-smartypants: Translate plain ASCII punctuation into smart typographic HTML

Neel Chauhan nc at FreeBSD.org
Fri Apr 16 21:03:02 UTC 2021


The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5dce9d0f2361d20a5cbe8dc2ad1fd2a321989ded

commit 5dce9d0f2361d20a5cbe8dc2ad1fd2a321989ded
Author:     Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-04-16 21:01:43 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-04-16 21:02:52 +0000

    New port: textproc/py-smartypants: Translate plain ASCII punctuation into smart typographic HTML
---
 textproc/Makefile                 |  1 +
 textproc/py-smartypants/Makefile  | 21 +++++++++++++++++++++
 textproc/py-smartypants/distinfo  |  3 +++
 textproc/py-smartypants/pkg-descr |  4 ++++
 4 files changed, 29 insertions(+)

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 at 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


More information about the dev-commits-ports-main mailing list