pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc py-smartypants: added version 2.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/7ef7f68bee05
branches: trunk
changeset: 394089:7ef7f68bee05
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 03 14:49:27 2019 +0000
description:
py-smartypants: added version 2.0.1
smartypants can perform the following transformations:
* Straight quotes (" and ') into "curly" quote HTML entities
* Backticks-style quotes (``like this'') into "curly" quote HTML entities
* Dashes (-- and ---) into en- and em-dash entities
* Three consecutive dots (... or . . .) into an ellipsis entity
This means you can write, edit, and save your posts using plain old ASCII
straight quotes, plain dashes, and plain dots, but your published posts (and
final HTML output) will appear with smart quotes, em-dashes, and proper
ellipses.
smartypants does not modify contents in some HTML element. Typically, these
tags are used to display text where smart quotes and other "smart punctuation"
would not be appropriate, such as source code or example markup.
diffstat:
textproc/Makefile | 3 ++-
textproc/py-smartypants/ALTERNATIVES | 1 +
textproc/py-smartypants/DESCR | 14 ++++++++++++++
textproc/py-smartypants/Makefile | 23 +++++++++++++++++++++++
textproc/py-smartypants/PLIST | 6 ++++++
textproc/py-smartypants/distinfo | 6 ++++++
6 files changed, 52 insertions(+), 1 deletions(-)
diffs (87 lines):
diff -r fda9806f38ac -r 7ef7f68bee05 textproc/Makefile
--- a/textproc/Makefile Wed Apr 03 14:41:24 2019 +0000
+++ b/textproc/Makefile Wed Apr 03 14:49:27 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1029 2019/03/19 10:56:39 jaapb Exp $
+# $NetBSD: Makefile,v 1.1030 2019/04/03 14:49:27 adam Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -843,6 +843,7 @@
SUBDIR+= py-regex
SUBDIR+= py-relatorio
SUBDIR+= py-rst2pdf
+SUBDIR+= py-smartypants
SUBDIR+= py-snowballstemmer
SUBDIR+= py-sphinx
SUBDIR+= py-sphinx-autodoc-typehints
diff -r fda9806f38ac -r 7ef7f68bee05 textproc/py-smartypants/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-smartypants/ALTERNATIVES Wed Apr 03 14:49:27 2019 +0000
@@ -0,0 +1,1 @@
+bin/smartypants @PREFIX@/bin/smartypants-@PYVERSSUFFIX@
diff -r fda9806f38ac -r 7ef7f68bee05 textproc/py-smartypants/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-smartypants/DESCR Wed Apr 03 14:49:27 2019 +0000
@@ -0,0 +1,14 @@
+smartypants can perform the following transformations:
+* Straight quotes (" and ') into "curly" quote HTML entities
+* Backticks-style quotes (``like this'') into "curly" quote HTML entities
+* Dashes (-- and ---) into en- and em-dash entities
+* Three consecutive dots (... or . . .) into an ellipsis entity
+
+This means you can write, edit, and save your posts using plain old ASCII
+straight quotes, plain dashes, and plain dots, but your published posts (and
+final HTML output) will appear with smart quotes, em-dashes, and proper
+ellipses.
+
+smartypants does not modify contents in some HTML element. Typically, these
+tags are used to display text where smart quotes and other "smart punctuation"
+would not be appropriate, such as source code or example markup.
diff -r fda9806f38ac -r 7ef7f68bee05 textproc/py-smartypants/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-smartypants/Makefile Wed Apr 03 14:49:27 2019 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/04/03 14:49:27 adam Exp $
+
+DISTNAME= smartypants-2.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+#MASTER_SITES= ${MASTER_SITE_PYPI:=s/smartypants/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=leohemsted/}
+GITHUB_PROJECT= smartypants.py
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/leohemsted/smartypants.py
+COMMENT= Python with the SmartyPants
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} smartypants smartypants-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fda9806f38ac -r 7ef7f68bee05 textproc/py-smartypants/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-smartypants/PLIST Wed Apr 03 14:49:27 2019 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2019/04/03 14:49:27 adam Exp $
+bin/smartypants-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/smartypants.py
+${PYSITELIB}/smartypants.pyc
+${PYSITELIB}/smartypants.pyo
diff -r fda9806f38ac -r 7ef7f68bee05 textproc/py-smartypants/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-smartypants/distinfo Wed Apr 03 14:49:27 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/04/03 14:49:27 adam Exp $
+
+SHA1 (smartypants-2.0.1.tar.gz) = 73f663d2370b33328a7c3490cb4c9fdf0146c5ee
+RMD160 (smartypants-2.0.1.tar.gz) = 2fbe33dcca0235f808c7937e3aa602c13972bfdc
+SHA512 (smartypants-2.0.1.tar.gz) = d47a866a5478c3520251f87a93a468a5eea10318b24b2e8d4bc918d533b5a5789aa56d3a8d5fb8ccff9572fb63e5b6f2eafc44f93fb57a19e6621ebef5d64d9d
+Size (smartypants-2.0.1.tar.gz) = 24152 bytes
Home |
Main Index |
Thread Index |
Old Index