devel/py-codespell: import py-codespell-1.16.0

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.
This commit is contained in:
wiz 2020-04-02 10:32:55 +00:00
parent 1ff44c8dc3
commit 624d5e4995
5 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1 @@
bin/codespell @PREFIX@/bin/codespell-@PYVERSSUFFIX@

3
devel/py-codespell/DESCR Normal file
View file

@ -0,0 +1,3 @@
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,20 @@
# $NetBSD: Makefile,v 1.1 2020/04/02 10:32:55 wiz Exp $
DISTNAME= codespell-1.16.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/codespell/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/codespell-project/codespell
COMMENT= Check code for common misspellings
LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/codespell \
${DESTDIR}${PREFIX}/bin/codespell-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

28
devel/py-codespell/PLIST Normal file
View file

@ -0,0 +1,28 @@
@comment $NetBSD: PLIST,v 1.1 2020/04/02 10:32:55 wiz Exp $
bin/codespell-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/codespell_lib/__init__.py
${PYSITELIB}/codespell_lib/__init__.pyc
${PYSITELIB}/codespell_lib/__init__.pyo
${PYSITELIB}/codespell_lib/_codespell.py
${PYSITELIB}/codespell_lib/_codespell.pyc
${PYSITELIB}/codespell_lib/_codespell.pyo
${PYSITELIB}/codespell_lib/data/__init__.py
${PYSITELIB}/codespell_lib/data/__init__.pyc
${PYSITELIB}/codespell_lib/data/__init__.pyo
${PYSITELIB}/codespell_lib/data/dictionary.txt
${PYSITELIB}/codespell_lib/data/linux-kernel.exclude
${PYSITELIB}/codespell_lib/tests/__init__.py
${PYSITELIB}/codespell_lib/tests/__init__.pyc
${PYSITELIB}/codespell_lib/tests/__init__.pyo
${PYSITELIB}/codespell_lib/tests/test_basic.py
${PYSITELIB}/codespell_lib/tests/test_basic.pyc
${PYSITELIB}/codespell_lib/tests/test_basic.pyo
${PYSITELIB}/codespell_lib/tests/test_dictionary.py
${PYSITELIB}/codespell_lib/tests/test_dictionary.pyc
${PYSITELIB}/codespell_lib/tests/test_dictionary.pyo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/04/02 10:32:55 wiz Exp $
SHA1 (codespell-1.16.0.tar.gz) = e56584251e63e36941f50d2a991705d90d553017
RMD160 (codespell-1.16.0.tar.gz) = 810f89d85707802873ebc93cca9f69e151966655
SHA512 (codespell-1.16.0.tar.gz) = 46930a4fa9c09e18bff877e54996758c85e71479b21373ddbef771e99c413c031ea97b0539098ebcfe7211288e76f95c2ff9eb2a464fd4e3b44f8a51df8d0c8c
Size (codespell-1.16.0.tar.gz) = 134239 bytes