node-lezer-macaulay2 0.3.1-1
Package Information
| Description | Lezer parser for the Macaulay2 language This package provides a Lezer grammar for Macaulay2, a software system for research in algebraic geometry and commutative algebra. Lezer is the incremental parser system behind CodeMirror 6, and the parser produces a full syntax tree of Macaulay2 source code, with highlighting tags for keywords, operators, strings, comments, and the names of Macaulay2's builtin types, functions, and constants. It can also parse the SimpleDoc documentation format and the Macaulay2 code embedded in it. The lists of builtin names and the operator precedence table are generated from Macaulay2 itself at build time. Node.js is an event-based server-side JavaScript engine. |
|---|---|
| Maintainer | Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> |
| Changed By | Doug Torrance <dtorrance@debian.org> |
| Sponsor | dtorrance@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/js-team/node-lezer-macaulay2.git (browse) |
| Closes | #1156427 |
| Tracker | https://tracker.debian.org/pkg/node-lezer-macaulay2 |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Version | 0.3.1-1 |
|---|---|
| Changed-By | Doug Torrance <dtorrance@debian.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Sat, 05 Dec 2026 06:47:52 -0500 |
| Source | node-lezer-macaulay2 |
Changelog
node-lezer-macaulay2 (0.3.1-1) unstable; urgency=medium . * Initial release (Closes: #1156427).
.dsc
| Section | javascript |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | node-lezer-macaulay2 deb javascript optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lezer-macaulay2 Upstream-Contact: https://github.com/d-torrance/lezer-macaulay2/issues Source: https://github.com/d-torrance/lezer-macaulay2 Files: * Copyright: 2026 Doug Torrance <dtorrance9@gatech.edu> License: Expat Files: debian/* Copyright: 2026 Doug Torrance <dtorrance@debian.org> License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for node-lezer-macaulay2 version 0.3.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The package is wholly MIT/Expat, held by Doug Torrance; the root LICENSE matches debian/copyright, which is DEP-5 and covers the tree with Files: * and debian/* and includes the complete Expat text. All runtime/helper dependencies used by the installed parser (including the bundled dist build) are by the same holder under the same terms; the generated files' inputs/generators are shipped, so no built file lacks its preferred form. The pre-scan's holder check reported every matched holder named.
Packaging
Packaging follows current practice: debhelper 13 with dh-nodejs, correct single arch:all package with Multi-Arch: foreign, runtime Depends on the three @lezer modules it imports (node-lezer-common provides the highlight/lr virtuals), valid DEP-5 copyright, Testsuite: autopkgtest-pkg-nodejs with debian/tests/pkg-js/test, source format 3.0 (quilt), and all named build dependencies exist. debian/rules regenerates the upstream-shipped generated files at build time (Macaulay2 is an unconditional build dependency) and restores them from a backup during clean; the generator inputs are all present. No patches, maintainer scripts, or policy violations found.
Issues
minor packaging 1. debian/watch is in the old version 4 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=4 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
- Pre-scan: the holder check listed no files; it found every holder it matched named in debian/copyright.
- Inventory: 36 upstream files besides debian/ and .pc/; no binaries, PDFs, archives, minified code, or dist/ in the tree; debian/clean removes dist/ and node_modules/.
- Tree-wide grep for Copyright, (C), ©, SPDX, MIT/Expat wording, GPL/LGPL/BSD/Apache/MPL/ISC/CC/public-domain/non-commercial/no-modification wording found no third-party notices or non-free terms; only the root LICENSE (MIT/Expat, 2026 Doug Torrance dtorrance9@gatech.edu) and package metadata "license": "MIT".
- debian/copyright read in full: Format 1.0, Upstream-Name/Source present, Files: * (Expat, 2026 Doug Torrance) and later debian/* (same holder, dtorrance@debian.org) cover the tree including dotfiles; the standalone License: Expat paragraph reproduces the full MIT permission and warranty text; no Files-Excluded.
- Upstream LICENSE, package.json, package-lock.json, README.md, CHANGELOG.md, all scripts/, all src/ files, and sampled test corpus files read; test/macaulay2/builtins.txt read in full and the other test files listed; all are author-written snippets with no separate notice.
- Generated files verified as such: src/builtins.js and src/operator-info.json from src/builtins.js.in and M2's Style package via scripts/update.m2; src/macaulay2.grammar and src/operator-data.js from src/macaulay2.grammar.template and src/operator-info.json via scripts/gen-grammar.js; both generators and inputs are shipped.
- Packaging files read: debian/control, rules, changelog, copyright, source/format, gbp.conf, clean, nodejs/build, nodejs/extlinks, tests/pkg-js/test, upstream/metadata; no debian/patches, install files, or maintainer scripts.
- Standards-Version 4.7.4 vs policy 4.7.4.1 (same first two components, not an issue); changelog 0.3.1-1 unstable initial release; section javascript; Multi-Arch: foreign with Architecture: all appropriate.
- Build dependencies checked with apt-cache: dh-nodejs (provides dh-sequence-nodejs and /usr/bin/dh_nodejs_autodocs), node-lezer-common (Provides node-lezer-highlight (= 1.2.3), node-lezer-lr (= 1.4.8)), node-lezer-generator, rollup, and macaulay2 all exist; debhelper sequence nodejs.pm read, and dh_nodejs_autodocs' single-package behaviour (installing README.md into /usr/share/doc/node-lezer-macaulay2/) matches the call in execute_after_dh_installdocs.
- debian/nodejs/extlinks marks the runtime @lezer modules as test-only (skipped only under nocheck, which also skips dh_auto_test); node-lezer-common is guaranteed at build/test time both through node-lezer-generator's dependency and the binary's Depends.
- uscan found the packaged version as the newest upstream release (upstream
0.3.1, packaged0.3.1).
Not confirmed ◂
- I did not build the package or run its autopkgtest, so the build-time M2 regeneration and the rollup 3.30.0 build (package.json asks for ^4.0.0) were judged statically; per the review instructions the package is assumed to build and its tests to pass.
- The .orig tarball was inspected only at its top level; the review used the unpacked tree, .pc/ excluded as instructed.
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Template: Github
Dist: https://github.com/d-torrance/lezer-macaulay2
Uploader's response to the LLM review
Re: the debian/watch comment: version 5 requires devscripts 2.25.16, but I do most of my package development in Ubuntu 24.04, which still has 2.23.7. I'd prefer to stay with v4 for the time being
— Doug Torrance (dtorrance), 0 hours ago
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.