pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/py-lsp-server py-lsp-server: cleanups



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9a25242bd9e
branches:  trunk
changeset: 768971:e9a25242bd9e
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Nov 05 13:18:00 2021 +0000

description:
py-lsp-server: cleanups

diffstat:

 lang/py-lsp-server/Makefile |   8 ++++----
 lang/py-lsp-server/PLIST    |  14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (50 lines):

diff -r c3dbb0037fc7 -r e9a25242bd9e lang/py-lsp-server/Makefile
--- a/lang/py-lsp-server/Makefile       Fri Nov 05 13:13:07 2021 +0000
+++ b/lang/py-lsp-server/Makefile       Fri Nov 05 13:18:00 2021 +0000
@@ -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 @@
 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"
diff -r c3dbb0037fc7 -r e9a25242bd9e lang/py-lsp-server/PLIST
--- a/lang/py-lsp-server/PLIST  Fri Nov 05 13:13:07 2021 +0000
+++ b/lang/py-lsp-server/PLIST  Fri Nov 05 13:18:00 2021 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index