pkgsrc/textproc/py-smartypants/Makefile
adam 6757841b06 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.
2019-04-03 14:49:27 +00:00

23 lines
668 B
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"