Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 21:03:01 GMT
From:      Neel Chauhan <nc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5dce9d0f2361 - main - New port: textproc/py-smartypants: Translate plain ASCII punctuation into smart typographic HTML
Message-ID:  <202104162103.13GL31l2093712@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nc:

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

commit 5dce9d0f2361d20a5cbe8dc2ad1fd2a321989ded
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2021-04-16 21:01:43 +0000
Commit:     Neel Chauhan <nc@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104162103.13GL31l2093712>