BSD Ports

textproc/py-smartypants 2.0.2 NetBSD

Python with the SmartyPants

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
textproc, python
Package size
16.4 KiB, 62.6 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDtextproc/py-smartypants2.0.2
FreeBSDtextproc/py-smartypants2.0.2
OpenBSDtextproc/py-smartypants2.0.2
DragonFlytextproc/py-smartypants2.0.1_1
MidnightBSDtextproc/py-smartypants2.0.1_1
HardenedBSDtextproc/py-smartypants2.0.2
GhostBSDtextproc/py-smartypants2.0.2

Install

Binary package:

pkgin install py311-smartypants

From pkgsrc:

cd /usr/pkgsrc/textproc/py-smartypants && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.0.2
NetBSD 10.1 aarch642.0.2
SmartOS / illumos x86_642.0.2
macOS 15 arm642.0.2

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-smartypants-2.0.2, py313-smartypants-2.0.2, py314-smartypants-2.0.2