pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
digestif: add new unfinished package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Sat Jun 10 18:23:40 2023 +0200
Changeset: 6ea48c55747e522d96ecea9aae2790fdc9acaff9
Modified Files:
Makefile
Added Files:
digestif/DESCR
digestif/Makefile
digestif/PLIST
digestif/TODO
digestif/distinfo
Log Message:
digestif: add new unfinished package
See TODO for runtime problem.
Digestif is a code analyzer, and a language server, for LaTeX,
ConTeXt et cetera. It provides context-sensitive completion,
documentation, code navigation, and related functionality to any
text editor that speaks the LSP protocol.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6ea48c55747e522d96ecea9aae2790fdc9acaff9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
digestif/DESCR | 4 ++++
digestif/Makefile | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
digestif/PLIST | 43 +++++++++++++++++++++++++++++++++++++++++++
digestif/TODO | 7 +++++++
digestif/distinfo | 5 +++++
6 files changed, 113 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 634f1705fc..a35c171f47 100644
--- a/Makefile
+++ b/Makefile
@@ -646,6 +646,7 @@ SUBDIR+= diablo
SUBDIR+= dict-est-rus
SUBDIR+= dict-freedict-eng-ara
SUBDIR+= dict-freedict-eng-fra
+SUBDIR+= digestif
SUBDIR+= digitemp
SUBDIR+= dillo-devel
SUBDIR+= ding
diff --git a/digestif/DESCR b/digestif/DESCR
new file mode 100644
index 0000000000..73a10d064d
--- /dev/null
+++ b/digestif/DESCR
@@ -0,0 +1,4 @@
+Digestif is a code analyzer, and a language server, for LaTeX,
+ConTeXt et cetera. It provides context-sensitive completion,
+documentation, code navigation, and related functionality to any
+text editor that speaks the LSP protocol.
diff --git a/digestif/Makefile b/digestif/Makefile
new file mode 100644
index 0000000000..358452f83c
--- /dev/null
+++ b/digestif/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD$
+
+DISTNAME= digestif-0.5.1
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=astoff/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/astoff/digestif/
+COMMENT= Language server for TeX and friends
+#LICENSE= # TODO: (see mk/license.mk)
+
+TOOL_DEPENDS+= ${LUA_PKGPREFIX}-rocks-[0-9]*:../../devel/lua-rocks
+TOOL_DEPENDS+= git-base-[0-9]*:../../devel/git-base
+DEPENDS+= ${LUA_PKGPREFIX}-cjson-[0-9]*:../../textproc/lua-cjson
+DEPENDS+= ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
+DEPENDS+= ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
+
+USE_LANGUAGES= # none
+WRKSRC= ${WRKDIR}/${DISTNAME}
+REPLACE_LUA+= bin/*
+REPLACE_LUA+= scripts/*
+LUA_VERSIONS_INCOMPATIBLE= 51 52
+
+SUBST_CLASSES+= version
+SUBST_SED.version+= -e "s,dev-1,${PKGVERSION_NOREV}-1,"
+SUBST_FILES.version+= digestif-${PKGVERSION_NOREV}-1.rockspec
+SUBST_STAGE.version= pre-build
+SUBST_MESSAGE.version= Fixing version number.
+
+SUBST_CLASSES+= path
+SUBST_SED.path+= -e "s,${DESTDIR},,g"
+SUBST_SED.path+= -e "s,/usr/bin/env lua,${LUA_INTERPRETER},g"
+SUBST_FILES.path+= ${DESTDIR}${PREFIX}/bin/digestif
+SUBST_FILES.path+= ${DESTDIR}${PREFIX}/lib/luarocks/rocks-${_LUA_DOT_VERSION}/digestif/${PKGVERSION_NOREV}-1/bin/digestif
+SUBST_STAGE.path= post-install
+SUBST_MESSAGE.path= Fix path to binary.
+
+post-extract:
+ cd ${WRKSRC} && ${MV} digestif-dev-1.rockspec digestif-${PKGVERSION_NOREV}-1.rockspec
+
+do-build:
+
+do-install:
+ cd ${WRKSRC} && \
+ luarocks-${_LUA_DOT_VERSION} install --tree="${DESTDIR}${PREFIX}" --deps-mode=none digestif-${PKGVERSION_NOREV}-1.rockspec
+ # remove luarocks-created root manifest
+ ${RM} ${DESTDIR}${PREFIX}/lib/luarocks/rocks-5.4/manifest
+
+.include "../../lang/lua/application.mk"
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/digestif/PLIST b/digestif/PLIST
new file mode 100644
index 0000000000..98067f19f4
--- /dev/null
+++ b/digestif/PLIST
@@ -0,0 +1,43 @@
+@comment $NetBSD$
+bin/digestif
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/bin/digestif
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/amsrefs.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/amssymb.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/biblatex.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/cleveref.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/csquotes.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/etoolbox.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/hyperref.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/latex-prog.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/latex.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/natbib.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/pgf.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/pgf.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/plain.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/primitives.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/t-pgf.xml.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/t-tikz.xml.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/teximpatient.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/texinfo.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/tikz.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/tikz.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/unicode-math.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/data/xparse.sty.tags
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/digestif-${PKGVERSION}-1.rockspec
+lib/luarocks/rocks-5.4/digestif/${PKGVERSION}-1/rock_manifest
+${LUA_LDIR}/digestif/Cache.lua
+${LUA_LDIR}/digestif/Manuscript.lua
+${LUA_LDIR}/digestif/ManuscriptBibTeX.lua
+${LUA_LDIR}/digestif/ManuscriptConTeXt.lua
+${LUA_LDIR}/digestif/ManuscriptDoctex.lua
+${LUA_LDIR}/digestif/ManuscriptLaTeX.lua
+${LUA_LDIR}/digestif/ManuscriptLatexProg.lua
+${LUA_LDIR}/digestif/ManuscriptPlainTeX.lua
+${LUA_LDIR}/digestif/ManuscriptTexinfo.lua
+${LUA_LDIR}/digestif/Parser.lua
+${LUA_LDIR}/digestif/Schema.lua
+${LUA_LDIR}/digestif/bibtex.lua
+${LUA_LDIR}/digestif/config.lua
+${LUA_LDIR}/digestif/data.lua
+${LUA_LDIR}/digestif/langserver.lua
+${LUA_LDIR}/digestif/util.lua
diff --git a/digestif/TODO b/digestif/TODO
new file mode 100644
index 0000000000..d738a545d0
--- /dev/null
+++ b/digestif/TODO
@@ -0,0 +1,7 @@
+# digestif
+/usr/pkg/bin/lua5.4: /usr/pkg/share/lua/5.4/digestif/langserver.lua:15: attempt to call a nil value (field 'encode_empty_table_as_object')
+stack traceback:
+ /usr/pkg/share/lua/5.4/digestif/langserver.lua:15: in main chunk
+ [C]: in function 'require'
+ ...pkg/lib/luarocks/rocks-5.4/digestif/0.5.1-1/bin/digestif:5: in main chunk
+ [C]: in ?
diff --git a/digestif/distinfo b/digestif/distinfo
new file mode 100644
index 0000000000..b1dd59fda2
--- /dev/null
+++ b/digestif/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (digestif-0.5.1.tar.gz) = d6df5f7dd8ce894f5de664f19e8debb06363983f90938647ef885b6f7baf1593
+SHA512 (digestif-0.5.1.tar.gz) = cf20a0474dc9572fb4cfe415e9137f40d6ebf492dbaefca63f2c2cb257ff27400043e333acc2efc64590718e85c5996bb0e92b7fdc513a2b01794c928cd603c3
+Size (digestif-0.5.1.tar.gz) = 653570 bytes
Home |
Main Index |
Thread Index |
Old Index