# $OpenBSD$

COMMENT =		source code spelling checker

MODPY_EGG_VERSION =	1.16.0

DISTNAME =		codespell-${MODPY_EGG_VERSION}
PKGNAME =		py-${DISTNAME}

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

FLAVORS =		python3
FLAVOR =		python3

.if ! ${FLAVOR:Mpython3}
TEST_DEPENDS +=         devel/py-mock${MODPY_FLAVOR}
.endif

.include <bsd.port.mk>
