Import codespell, a source code spell checker.

OK kmos@ sthen@
This commit is contained in:
millert 2020-05-14 16:02:09 +00:00
parent 4daf4cb2da
commit 0515cd0e0f
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/05/14 16:02:09 millert Exp $
COMMENT = source code spelling checker
MODPY_EGG_VERSION = 1.16.0
DISTNAME = codespell-${MODPY_EGG_VERSION}
CATEGORIES = devel textproc
HOMEPAGE = https://github.com/codespell-project/codespell
# GPLv2
PERMIT_PACKAGE = Yes
MODPY_PI = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = codespell_lib
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = textproc/py-chardet${MODPY_FLAVOR}
TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH} \
devel/py-test-cov${MODPY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (codespell-1.16.0.tar.gz) = vzt8gzJ679Jv5xhSe6qb1hAW6G25GoEjwO+cFQ+gLek=
SIZE (codespell-1.16.0.tar.gz) = 134239

View File

@ -0,0 +1,5 @@
Source code spell checker.
Fix common misspellings in text files. It's designed primarily for
checking misspelled words in source code, but it can be used with
other files as well.

View File

@ -0,0 +1,29 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/05/14 16:02:09 millert Exp $
bin/codespell
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/codespell-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/codespell_lib/
lib/python${MODPY_VERSION}/site-packages/codespell_lib/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/codespell_lib/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/codespell_lib/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/codespell_lib/${MODPY_PYCACHE}_codespell.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/codespell_lib/_codespell.py
lib/python${MODPY_VERSION}/site-packages/codespell_lib/data/
lib/python${MODPY_VERSION}/site-packages/codespell_lib/data/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/codespell_lib/data/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/codespell_lib/data/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/codespell_lib/data/dictionary.txt
lib/python${MODPY_VERSION}/site-packages/codespell_lib/data/linux-kernel.exclude
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/${MODPY_PYCACHE}test_basic.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/${MODPY_PYCACHE}test_dictionary.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/test_basic.py
lib/python${MODPY_VERSION}/site-packages/codespell_lib/tests/test_dictionary.py