67e1f1a6bf
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
28 lines
722 B
Makefile
28 lines
722 B
Makefile
# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:02 wiz Exp $
|
|
|
|
DISTNAME= codespell-2.1.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
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
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES+= test:test
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/codespell \
|
|
${DESTDIR}${PREFIX}/bin/codespell-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|