pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc
Module Name: pkgsrc
Committed By: adam
Date: Wed Apr 3 14:49:27 UTC 2019
Modified Files:
pkgsrc/textproc: Makefile
Added Files:
pkgsrc/textproc/py-smartypants: ALTERNATIVES DESCR Makefile PLIST
distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1029 -r1.1030 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-smartypants/ALTERNATIVES \
pkgsrc/textproc/py-smartypants/DESCR \
pkgsrc/textproc/py-smartypants/Makefile \
pkgsrc/textproc/py-smartypants/PLIST \
pkgsrc/textproc/py-smartypants/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1029 pkgsrc/textproc/Makefile:1.1030
--- pkgsrc/textproc/Makefile:1.1029 Tue Mar 19 10:56:39 2019
+++ pkgsrc/textproc/Makefile Wed Apr 3 14:49:27 2019
@@ -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-rebulk
SUBDIR+= py-regex
SUBDIR+= py-relatorio
SUBDIR+= py-rst2pdf
+SUBDIR+= py-smartypants
SUBDIR+= py-snowballstemmer
SUBDIR+= py-sphinx
SUBDIR+= py-sphinx-autodoc-typehints
Added files:
Index: pkgsrc/textproc/py-smartypants/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-smartypants/ALTERNATIVES:1.1
--- /dev/null Wed Apr 3 14:49:27 2019
+++ pkgsrc/textproc/py-smartypants/ALTERNATIVES Wed Apr 3 14:49:27 2019
@@ -0,0 +1 @@
+bin/smartypants @PREFIX@/bin/smartypants-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-smartypants/DESCR
diff -u /dev/null pkgsrc/textproc/py-smartypants/DESCR:1.1
--- /dev/null Wed Apr 3 14:49:27 2019
+++ pkgsrc/textproc/py-smartypants/DESCR Wed Apr 3 14:49:27 2019
@@ -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.
Index: pkgsrc/textproc/py-smartypants/Makefile
diff -u /dev/null pkgsrc/textproc/py-smartypants/Makefile:1.1
--- /dev/null Wed Apr 3 14:49:27 2019
+++ pkgsrc/textproc/py-smartypants/Makefile Wed Apr 3 14:49:27 2019
@@ -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"
Index: pkgsrc/textproc/py-smartypants/PLIST
diff -u /dev/null pkgsrc/textproc/py-smartypants/PLIST:1.1
--- /dev/null Wed Apr 3 14:49:27 2019
+++ pkgsrc/textproc/py-smartypants/PLIST Wed Apr 3 14:49:27 2019
@@ -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
Index: pkgsrc/textproc/py-smartypants/distinfo
diff -u /dev/null pkgsrc/textproc/py-smartypants/distinfo:1.1
--- /dev/null Wed Apr 3 14:49:27 2019
+++ pkgsrc/textproc/py-smartypants/distinfo Wed Apr 3 14:49:27 2019
@@ -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