diff options
author | wiz <wiz@pkgsrc.org> | 2020-05-18 15:19:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-05-18 15:19:01 +0000 |
commit | 8e239cf1ffff237107e56cecac272e891bfff191 (patch) | |
tree | 5956d816950304fada175a0eecf016b7287f75f6 /lang | |
parent | abbe4f3d5ffe063e5aaa074f22c3c613e5d4d7ea (diff) | |
download | pkgsrc-8e239cf1ffff237107e56cecac272e891bfff191.tar.gz |
lang/py-cmake-language-server: import py-cmake-language-server-0.1.1
CMake Language Server Protocol implementation.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/py-cmake-language-server/ALTERNATIVES | 2 | ||||
-rw-r--r-- | lang/py-cmake-language-server/DESCR | 1 | ||||
-rw-r--r-- | lang/py-cmake-language-server/Makefile | 21 | ||||
-rw-r--r-- | lang/py-cmake-language-server/PLIST | 24 | ||||
-rw-r--r-- | lang/py-cmake-language-server/distinfo | 7 | ||||
-rw-r--r-- | lang/py-cmake-language-server/patches/patch-setup.py | 15 |
6 files changed, 70 insertions, 0 deletions
diff --git a/lang/py-cmake-language-server/ALTERNATIVES b/lang/py-cmake-language-server/ALTERNATIVES new file mode 100644 index 00000000000..96a02a12201 --- /dev/null +++ b/lang/py-cmake-language-server/ALTERNATIVES @@ -0,0 +1,2 @@ +bin/cmake-format @PREFIX@/bin/cmake-format-@PYVERSSUFFIX@ +bin/cmake-language-server @PREFIX@/bin/cmake-language-server-@PYVERSSUFFIX@ diff --git a/lang/py-cmake-language-server/DESCR b/lang/py-cmake-language-server/DESCR new file mode 100644 index 00000000000..16d0a923158 --- /dev/null +++ b/lang/py-cmake-language-server/DESCR @@ -0,0 +1 @@ +CMake Language Server Protocol implementation. diff --git a/lang/py-cmake-language-server/Makefile b/lang/py-cmake-language-server/Makefile new file mode 100644 index 00000000000..27917f1d111 --- /dev/null +++ b/lang/py-cmake-language-server/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2020/05/18 15:19:01 wiz Exp $ + +DISTNAME= cmake-language-server-0.1.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +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 + +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" diff --git a/lang/py-cmake-language-server/PLIST b/lang/py-cmake-language-server/PLIST new file mode 100644 index 00000000000..ac59a827640 --- /dev/null +++ b/lang/py-cmake-language-server/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1 2020/05/18 15:19:01 wiz Exp $ +bin/cmake-format-${PYVERSSUFFIX} +bin/cmake-language-server-${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}/cmake_language_server/__init__.py +${PYSITELIB}/cmake_language_server/__init__.pyc +${PYSITELIB}/cmake_language_server/__init__.pyo +${PYSITELIB}/cmake_language_server/api.py +${PYSITELIB}/cmake_language_server/api.pyc +${PYSITELIB}/cmake_language_server/api.pyo +${PYSITELIB}/cmake_language_server/formatter.py +${PYSITELIB}/cmake_language_server/formatter.pyc +${PYSITELIB}/cmake_language_server/formatter.pyo +${PYSITELIB}/cmake_language_server/parser.py +${PYSITELIB}/cmake_language_server/parser.pyc +${PYSITELIB}/cmake_language_server/parser.pyo +${PYSITELIB}/cmake_language_server/server.py +${PYSITELIB}/cmake_language_server/server.pyc +${PYSITELIB}/cmake_language_server/server.pyo diff --git a/lang/py-cmake-language-server/distinfo b/lang/py-cmake-language-server/distinfo new file mode 100644 index 00000000000..bec44c7b8f4 --- /dev/null +++ b/lang/py-cmake-language-server/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2020/05/18 15:19:01 wiz Exp $ + +SHA1 (cmake-language-server-0.1.1.tar.gz) = 7ef96ef8495e2a175747dbdb6fc0bcdff5abdc3e +RMD160 (cmake-language-server-0.1.1.tar.gz) = 5f4d90ce71fb7777d552111fbeb1a27ed3867f6d +SHA512 (cmake-language-server-0.1.1.tar.gz) = 9439c4f07fa8fb50ccfdaadf0776f4286c6afbd599e569088ec63f8878ada09052c1b3b466d6387ace9299978daa6ca363e811ee08cbb0862d971fb13e529597 +Size (cmake-language-server-0.1.1.tar.gz) = 9864 bytes +SHA1 (patch-setup.py) = ddac0a36f315456fed69c8a4cfb9d3ac65c6b20c diff --git a/lang/py-cmake-language-server/patches/patch-setup.py b/lang/py-cmake-language-server/patches/patch-setup.py new file mode 100644 index 00000000000..b683a116bb5 --- /dev/null +++ b/lang/py-cmake-language-server/patches/patch-setup.py @@ -0,0 +1,15 @@ +$NetBSD: patch-setup.py,v 1.1 2020/05/18 15:19:01 wiz Exp $ + +Don't hardcode version numbers. + +--- setup.py.orig 2020-03-01 07:51:19.388557700 +0000 ++++ setup.py +@@ -11,7 +11,7 @@ package_data = \ + {'': ['*']} + + install_requires = \ +-['pygls>=0.8.1,<0.9.0', 'pyparsing>=2.4,<3.0'] ++['pygls', 'pyparsing'] + + entry_points = \ + {'console_scripts': ['cmake-format = cmake_language_server.formatter:main', |