py-lsp-server: cleanups

This commit is contained in:
adam 2021-11-05 13:18:00 +00:00
parent ac42422234
commit 37d5d51898
2 changed files with 11 additions and 11 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2021/11/05 12:36:15 wiz Exp $
# $NetBSD: Makefile,v 1.2 2021/11/05 13:18:00 adam Exp $
DISTNAME= python-lsp-server-1.2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
@ -35,11 +35,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pylint, py-parso via py-jedi
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} pylsp pylsp-${PYVERSSUFFIX}
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pylsp pylsp-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} py.test-${PYVERSSUFFIX}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,11 @@
@comment $NetBSD: PLIST,v 1.1 2021/11/05 12:36:15 wiz Exp $
@comment $NetBSD: PLIST,v 1.2 2021/11/05 13:18:00 adam Exp $
bin/pylsp-${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}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pylsp/__init__.py
${PYSITELIB}/pylsp/__init__.pyc
${PYSITELIB}/pylsp/__init__.pyo
@ -105,9 +111,3 @@ ${PYSITELIB}/pylsp/uris.pyo
${PYSITELIB}/pylsp/workspace.py
${PYSITELIB}/pylsp/workspace.pyc
${PYSITELIB}/pylsp/workspace.pyo
${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}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt