pkgsrc/lang/py-cmake-language-server/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

26 lines
849 B
Makefile

# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:12 wiz Exp $
DISTNAME= cmake-language-server-0.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cmake-language-server/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/regen100/cmake-language-server
COMMENT= CMake Language Server Protocol Implementation
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-pygls-[0-9]*:../../lang/py-pygls
DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygls
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} cmake-format cmake-format-${PYVERSSUFFIX}
cd ${DESTDIR}${PREFIX}/bin && ${MV} cmake-language-server cmake-language-server-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"