From 57c2360b5e40a3d6bda028e620b3b658b98be7a0 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 19 Feb 2025 19:54:51 +0800 Subject: [PATCH] textproc/py-typogrify: Update to 2.1.0 - Add GitHub to MASTER_SITES - Update WWW - Convert to USE_PYTHON=pep517 - Update pkg-descr - Take maintainership Changes: https://github.com/justinmayer/typogrify/releases --- textproc/py-typogrify/Makefile | 20 ++++++++++++-------- textproc/py-typogrify/distinfo | 6 +++--- textproc/py-typogrify/pkg-descr | 6 ++++-- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/textproc/py-typogrify/Makefile b/textproc/py-typogrify/Makefile index de8a05fdafc4..f7e842445d8d 100644 --- a/textproc/py-typogrify/Makefile +++ b/textproc/py-typogrify/Makefile @@ -1,21 +1,25 @@ PORTNAME= typogrify -DISTVERSION= 2.0.7 +PORTVERSION= 2.1.0 CATEGORIES= textproc -MASTER_SITES= PYPI +MASTER_SITES= PYPI \ + https://github.com/justinmayer/typogrify/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Filters to enhance web typography -WWW= https://github.com/mintchaos/typogrify/ +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Filters to enhance web typography, including support for Django and Jinja templates +WWW= https://github.com/justinmayer/typogrify LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}smartypants>0:textproc/py-smartypants@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}smartypants>=1.8.3:textproc/py-smartypants@${PY_FLAVOR} -USES= python -USE_PYTHON= autoplist concurrent distutils +USES= python:3.9+ shebangfix +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +SHEBANG_FILES= typogrify/packages/titlecase/__init__.py + .include diff --git a/textproc/py-typogrify/distinfo b/textproc/py-typogrify/distinfo index d1340356156a..8e206405fad4 100644 --- a/textproc/py-typogrify/distinfo +++ b/textproc/py-typogrify/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618607224 -SHA256 (typogrify-2.0.7.tar.gz) = 8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38 -SIZE (typogrify-2.0.7.tar.gz) = 12903 +TIMESTAMP = 1739930210 +SHA256 (typogrify-2.1.0.tar.gz) = f0aa004e98032a6e6be4c9da65e7eb7150e36ca3bf508adbcda82b4d003e61ee +SIZE (typogrify-2.1.0.tar.gz) = 28622 diff --git a/textproc/py-typogrify/pkg-descr b/textproc/py-typogrify/pkg-descr index e4d84bbad516..cf6165c83331 100644 --- a/textproc/py-typogrify/pkg-descr +++ b/textproc/py-typogrify/pkg-descr @@ -1,2 +1,4 @@ -Typogrify is set of Django template filters to make caring about typography -on the web a bit easier. +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.