pkgsrc/devel/py-editorconfig-core/Makefile
wiz 67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
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.
2022-01-05 15:40:56 +00:00

23 lines
637 B
Makefile

# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:03 wiz Exp $
DISTNAME= EditorConfig-0.12.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/EditorConfig/editorconfig-core/}
PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=E/EditorConfig/}
MAINTAINER= nros@users.sourceforge.net
HOMEPAGE= https://editorconfig.org/
COMMENT= Editorconfig python library
LICENSE= python-software-foundation AND modified-bsd
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} editorconfig editorconfig-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"