Wed Apr 3 14:49:27 2019 UTC ()
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.


(adam)
diff -r1.1029 -r1.1030 pkgsrc/textproc/Makefile
diff -r0 -r1.1 pkgsrc/textproc/py-smartypants/ALTERNATIVES
diff -r0 -r1.1 pkgsrc/textproc/py-smartypants/DESCR
diff -r0 -r1.1 pkgsrc/textproc/py-smartypants/Makefile
diff -r0 -r1.1 pkgsrc/textproc/py-smartypants/PLIST
diff -r0 -r1.1 pkgsrc/textproc/py-smartypants/distinfo

cvs diff -r1.1029 -r1.1030 pkgsrc/textproc/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/Makefile 2019/03/19 10:56:39 1.1029
+++ pkgsrc/textproc/Makefile 2019/04/03 14:49:27 1.1030
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.1029 2019/03/19 10:56:39 jaapb Exp $ 1# $NetBSD: Makefile,v 1.1030 2019/04/03 14:49:27 adam Exp $
2# 2#
3 3
4COMMENT= Text processing utilities (does not include desktop publishing) 4COMMENT= Text processing utilities (does not include desktop publishing)
5 5
6SUBDIR+= CRF++ 6SUBDIR+= CRF++
7SUBDIR+= DWB 7SUBDIR+= DWB
8SUBDIR+= FlightCrew 8SUBDIR+= FlightCrew
9SUBDIR+= GutenMark 9SUBDIR+= GutenMark
10SUBDIR+= GutenMark-words 10SUBDIR+= GutenMark-words
11SUBDIR+= LDoc 11SUBDIR+= LDoc
12SUBDIR+= Markdown 12SUBDIR+= Markdown
13SUBDIR+= OdfConverter 13SUBDIR+= OdfConverter
14SUBDIR+= R-formatR 14SUBDIR+= R-formatR
@@ -833,26 +833,27 @@ SUBDIR+= py-pybtex @@ -833,26 +833,27 @@ SUBDIR+= py-pybtex
833SUBDIR+= py-pybtex-docutils 833SUBDIR+= py-pybtex-docutils
834SUBDIR+= py-pygments 834SUBDIR+= py-pygments
835SUBDIR+= py-pyphen 835SUBDIR+= py-pyphen
836SUBDIR+= py-pyquery 836SUBDIR+= py-pyquery
837SUBDIR+= py-pysrt 837SUBDIR+= py-pysrt
838SUBDIR+= py-pytoml 838SUBDIR+= py-pytoml
839SUBDIR+= py-ramlfications 839SUBDIR+= py-ramlfications
840SUBDIR+= py-rdflib 840SUBDIR+= py-rdflib
841SUBDIR+= py-readme_renderer 841SUBDIR+= py-readme_renderer
842SUBDIR+= py-rebulk 842SUBDIR+= py-rebulk
843SUBDIR+= py-regex 843SUBDIR+= py-regex
844SUBDIR+= py-relatorio 844SUBDIR+= py-relatorio
845SUBDIR+= py-rst2pdf 845SUBDIR+= py-rst2pdf
 846SUBDIR+= py-smartypants
846SUBDIR+= py-snowballstemmer 847SUBDIR+= py-snowballstemmer
847SUBDIR+= py-sphinx 848SUBDIR+= py-sphinx
848SUBDIR+= py-sphinx-autodoc-typehints 849SUBDIR+= py-sphinx-autodoc-typehints
849SUBDIR+= py-sphinx-rtd-theme 850SUBDIR+= py-sphinx-rtd-theme
850SUBDIR+= py-sphinx-theme-cloud 851SUBDIR+= py-sphinx-theme-cloud
851SUBDIR+= py-sphinxcontrib-bibtex 852SUBDIR+= py-sphinxcontrib-bibtex
852SUBDIR+= py-sphinxcontrib-newsfeed 853SUBDIR+= py-sphinxcontrib-newsfeed
853SUBDIR+= py-sphinxcontrib-websupport 854SUBDIR+= py-sphinxcontrib-websupport
854SUBDIR+= py-tablib 855SUBDIR+= py-tablib
855SUBDIR+= py-tabulate 856SUBDIR+= py-tabulate
856SUBDIR+= py-text-unidecode 857SUBDIR+= py-text-unidecode
857SUBDIR+= py-textile 858SUBDIR+= py-textile
858SUBDIR+= py-tinycss 859SUBDIR+= py-tinycss

File Added: pkgsrc/textproc/py-smartypants/ALTERNATIVES
bin/smartypants @PREFIX@/bin/smartypants-@PYVERSSUFFIX@

File Added: pkgsrc/textproc/py-smartypants/DESCR
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.

File Added: pkgsrc/textproc/py-smartypants/Makefile
# $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
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"

File Added: pkgsrc/textproc/py-smartypants/PLIST
@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

File Added: pkgsrc/textproc/py-smartypants/distinfo
$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