textproc/py-sphinxcontrib-spelling: add new port

Sphinx spelling extension.

PR:	282842
This commit is contained in:
Matthew Wener 2024-11-20 11:24:21 +01:00 committed by Dries Michiels
parent 5fbc91bb8e
commit c46abe9f71
4 changed files with 40 additions and 0 deletions

View file

@ -1647,6 +1647,7 @@
SUBDIR += py-sphinxcontrib-qthelp
SUBDIR += py-sphinxcontrib-seqdiag
SUBDIR += py-sphinxcontrib-serializinghtml
SUBDIR += py-sphinxcontrib-spelling
SUBDIR += py-sphinxcontrib-svg2pdfconverter
SUBDIR += py-sphinxcontrib-towncrier
SUBDIR += py-sphinxcontrib-websupport

View file

@ -0,0 +1,33 @@
PORTNAME= sphinxcontrib-spelling
DISTVERSION= 8.0.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@wener.org
COMMENT= Sphinx spelling extension
WWW= https://github.com/sphinx-contrib/spelling
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:textproc/py-enchant@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
PORTDOCS= AUTHORS PKG-INFO README
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1724809518
SHA256 (sphinxcontrib-spelling-8.0.0.tar.gz) = 199d0a16902ad80c387c2966dc9eb10f565b1fb15ccce17210402db7c2443e5c
SIZE (sphinxcontrib-spelling-8.0.0.tar.gz) = 37610

View file

@ -0,0 +1,3 @@
This package contains sphinxcontrib.spelling, a spelling
checker for Sphinx-based documentation. It uses PyEnchant
to produce a report showing misspelled words.