git: c46abe9f71f4 - main - textproc/py-sphinxcontrib-spelling: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Nov 2024 10:31:32 UTC
The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c46abe9f71f42cfe5013e90fcdbf2fbf8a5c3a5a commit c46abe9f71f42cfe5013e90fcdbf2fbf8a5c3a5a Author: Matthew Wener <matthew@wener.org> AuthorDate: 2024-11-20 10:24:21 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2024-11-20 10:31:00 +0000 textproc/py-sphinxcontrib-spelling: add new port Sphinx spelling extension. PR: 282842 --- textproc/Makefile | 1 + textproc/py-sphinxcontrib-spelling/Makefile | 33 ++++++++++++++++++++++++++++ textproc/py-sphinxcontrib-spelling/distinfo | 3 +++ textproc/py-sphinxcontrib-spelling/pkg-descr | 3 +++ 4 files changed, 40 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 77a23c9c86b3..e77a27370e62 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-sphinxcontrib-spelling/Makefile b/textproc/py-sphinxcontrib-spelling/Makefile new file mode 100644 index 000000000000..2c9e5cf4ed89 --- /dev/null +++ b/textproc/py-sphinxcontrib-spelling/Makefile @@ -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> diff --git a/textproc/py-sphinxcontrib-spelling/distinfo b/textproc/py-sphinxcontrib-spelling/distinfo new file mode 100644 index 000000000000..650b9c79d71b --- /dev/null +++ b/textproc/py-sphinxcontrib-spelling/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (sphinxcontrib-spelling-8.0.0.tar.gz) = 199d0a16902ad80c387c2966dc9eb10f565b1fb15ccce17210402db7c2443e5c +SIZE (sphinxcontrib-spelling-8.0.0.tar.gz) = 37610 diff --git a/textproc/py-sphinxcontrib-spelling/pkg-descr b/textproc/py-sphinxcontrib-spelling/pkg-descr new file mode 100644 index 000000000000..df240ef23f61 --- /dev/null +++ b/textproc/py-sphinxcontrib-spelling/pkg-descr @@ -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.