textproc/py-typogrify: import py-typogrify-2.0.7

Typogrify provides a set of custom filters that automatically apply
various transformations to plain text in order to yield
typographically-improved HTML. While often used in conjunction with
Jinja and Django template systems, the filters can be used in any
environment.
This commit is contained in:
wiz 2022-04-06 06:00:11 +00:00
parent d17eb509b3
commit 19ed941d10
4 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,5 @@
Typogrify provides a set of custom filters that automatically apply
various transformations to plain text in order to yield
typographically-improved HTML. While often used in conjunction with
Jinja and Django template systems, the filters can be used in any
environment.

View file

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2022/04/06 06:00:11 wiz Exp $
DISTNAME= typogrify-2.0.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/typogrify/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/mintchaos/typogrify
COMMENT= Filters to enhance web typography
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants
# tests don't run because of django setup errors, or warnings about the missing two module
TEST_DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
# django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
TEST_DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,30 @@
@comment $NetBSD: PLIST,v 1.1 2022/04/06 06:00:11 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/typogrify/__init__.py
${PYSITELIB}/typogrify/__init__.pyc
${PYSITELIB}/typogrify/__init__.pyo
${PYSITELIB}/typogrify/filters.py
${PYSITELIB}/typogrify/filters.pyc
${PYSITELIB}/typogrify/filters.pyo
${PYSITELIB}/typogrify/packages/__init__.py
${PYSITELIB}/typogrify/packages/__init__.pyc
${PYSITELIB}/typogrify/packages/__init__.pyo
${PYSITELIB}/typogrify/packages/titlecase/__init__.py
${PYSITELIB}/typogrify/packages/titlecase/__init__.pyc
${PYSITELIB}/typogrify/packages/titlecase/__init__.pyo
${PYSITELIB}/typogrify/packages/titlecase/tests.py
${PYSITELIB}/typogrify/packages/titlecase/tests.pyc
${PYSITELIB}/typogrify/packages/titlecase/tests.pyo
${PYSITELIB}/typogrify/templatetags/__init__.py
${PYSITELIB}/typogrify/templatetags/__init__.pyc
${PYSITELIB}/typogrify/templatetags/__init__.pyo
${PYSITELIB}/typogrify/templatetags/jinja_filters.py
${PYSITELIB}/typogrify/templatetags/jinja_filters.pyc
${PYSITELIB}/typogrify/templatetags/jinja_filters.pyo
${PYSITELIB}/typogrify/templatetags/typogrify_tags.py
${PYSITELIB}/typogrify/templatetags/typogrify_tags.pyc
${PYSITELIB}/typogrify/templatetags/typogrify_tags.pyo

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/04/06 06:00:11 wiz Exp $
BLAKE2s (typogrify-2.0.7.tar.gz) = 0c0096a3cff73c4a923da251d007bbb4617386211694d2536edc5bf71273dba7
SHA512 (typogrify-2.0.7.tar.gz) = 6212024a88372f1b14e5932c0541ec4d5a2ada7514c1327dc8f3775cd7adf3372cae0037c4310ed4a03fd0657a91eb4c0d114b74172190f7f84d82908441ddd0
Size (typogrify-2.0.7.tar.gz) = 12903 bytes