Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-cmake-language-server lang/py-cmake-language-s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9a125e5a87d
branches:  trunk
changeset: 432083:a9a125e5a87d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 18 15:19:01 2020 +0000

description:
lang/py-cmake-language-server: import py-cmake-language-server-0.1.1

CMake Language Server Protocol implementation.

diffstat:

 lang/py-cmake-language-server/ALTERNATIVES           |   2 +
 lang/py-cmake-language-server/DESCR                  |   1 +
 lang/py-cmake-language-server/Makefile               |  21 +++++++++++++++++
 lang/py-cmake-language-server/PLIST                  |  24 ++++++++++++++++++++
 lang/py-cmake-language-server/distinfo               |   7 +++++
 lang/py-cmake-language-server/patches/patch-setup.py |  15 ++++++++++++
 6 files changed, 70 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r 6f0653168214 -r a9a125e5a87d lang/py-cmake-language-server/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-cmake-language-server/ALTERNATIVES        Mon May 18 15:19:01 2020 +0000
@@ -0,0 +1,2 @@
+bin/cmake-format @PREFIX@/bin/cmake-format-@PYVERSSUFFIX@
+bin/cmake-language-server @PREFIX@/bin/cmake-language-server-@PYVERSSUFFIX@
diff -r 6f0653168214 -r a9a125e5a87d lang/py-cmake-language-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-cmake-language-server/DESCR       Mon May 18 15:19:01 2020 +0000
@@ -0,0 +1,1 @@
+CMake Language Server Protocol implementation.
diff -r 6f0653168214 -r a9a125e5a87d lang/py-cmake-language-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-cmake-language-server/Makefile    Mon May 18 15:19:01 2020 +0000
@@ -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@localhost
+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 -r 6f0653168214 -r a9a125e5a87d lang/py-cmake-language-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-cmake-language-server/PLIST       Mon May 18 15:19:01 2020 +0000
@@ -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 -r 6f0653168214 -r a9a125e5a87d lang/py-cmake-language-server/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-cmake-language-server/distinfo    Mon May 18 15:19:01 2020 +0000
@@ -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 -r 6f0653168214 -r a9a125e5a87d lang/py-cmake-language-server/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-cmake-language-server/patches/patch-setup.py      Mon May 18 15:19:01 2020 +0000
@@ -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',



Home | Main Index | Thread Index | Old Index