DFSG NEW Queue

DFSG, Licensing & New Packages Team

node-prismjs-macaulay2 0.1.0-1

Package Information

DescriptionMacaulay2 language support for Prism

This package provides a Prism grammar for Macaulay2, a software system for research in algebraic geometry and commutative algebra. It enables client-side syntax highlighting of Macaulay2 source code in environments that use Prism, such as web pages, documentation systems, and static site generators. It also includes a stylesheet with the token colors used in the Macaulay2 documentation.

Node.js is an event-based server-side JavaScript engine.

MaintainerDebian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed ByDoug Torrance <dtorrance@debian.org>
Sponsordtorrance@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/js-team/node-prismjs-macaulay2.git (browse)
Closes#1156030
Trackerhttps://tracker.debian.org/pkg/node-prismjs-macaulay2
Uploaded6 hours ago

New Package Report

.changes◂
DateTue, 01 Dec 2026 09:29:22 -0500
Sourcenode-prismjs-macaulay2
Version0.1.0-1
Changed-ByDoug Torrance <dtorrance@debian.org>
Architecturesource all
Distributionunstable
Changelog◂
node-prismjs-macaulay2 (0.1.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1156030).
.dsc◂
Package-Listnode-prismjs-macaulay2 deb javascript optional arch=all
Sectionjavascript
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: prismjs-macaulay2
Upstream-Contact: https://github.com/d-torrance/prismjs-macaulay2/issues
Source: https://github.com/d-torrance/prismjs-macaulay2

Files: *
Copyright: 2018 Paul Zinn-Justin <pzinn@unimelb.edu.au>
           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 4 hours ago.

Proposes a replacement debian/watch: debian/watch in version 5 format

Report◂

DFSG NEW review for node-prismjs-macaulay2 version 0.1.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is 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: 1 found

Licensing

debian/copyright is DEP-5 with the correct Format line and covers the whole tree. The only upstream license is Expat/MIT: the stand-alone Expat text is included and matches LICENSE verbatim, and the Files: * stanza names both holders from LICENSE (Paul Zinn-Justin, 2018; Doug Torrance, 2026); debian/* is attributed to Doug Torrance. No non-free terms, no unlicensed file and no conflicting license was found.

Packaging

The packaging is clean and conventional: compat 13 with a plain dh sequence, dh-sequence-nodejs, correct <!nocheck> markers on test-only build dependencies, a DEP-3 patch with a valid reason, autopkgtest-pkg-nodejs with a test script, a current Standards-Version, and complete Vcs/Homepage/upstream metadata. The build regenerates the grammar from files present in the source package, so the generated/minified src/macaulay2.js is not a DFSG or build problem.

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 ◂
  • Read debian/copyright in full: DEP-5, correct Format URL, Files: * (2018 Paul Zinn-Justin, 2026 Doug Torrance, Expat) and Files: debian/* (2026 Doug Torrance, Expat); the Expat text is complete.
  • The stand-alone Expat text in debian/copyright matches LICENSE (MIT/Expat) verbatim; package.json also declares MIT.
  • Grepped the whole tree (except .pc/) for Copyright, (C), ©, SPDX-License-Identifier, all-rights-reserved and licence phrases: the only notices are LICENSE and the header of themes/prism-macaulay2.css ('2018 P. Zinn-Justin'), both covered by the Files: * stanza; the prescan's author check also found every holder named.
  • src/macaulay2.js, the file the scan called minified, is generated code, not an opaque blob: it begins 'Auto-generated for Macaulay2-1.26.11' and is produced from generate-grammar/macaulay2.js.in by generate-grammar/generate-grammar.m2 (Macaulay2 Style package). Both generator inputs are in the source package, and debian/rules regenerates the file before the build and restores it in execute_after_dh_auto_clean, so its preferred form for modification is present.
  • The rest of the tree is small text files (README, CHANGELOG, ESLint/TypeScript/prettier configs, test fixtures, package-lock.json); no binaries, fonts, images, PDFs or vendored third-party code.
  • debian/patches/no-refractor.patch has DEP-3 headers and excludes test/types/refractor.ts because refractor is absent; apt-cache found no node-refractor package. The patch touches only a test config file.
  • Read debian/control, rules, changelog, source/format, clean, gbp.conf, nodejs/build, nodejs/extlinks, tests/pkg-js/test and upstream/metadata: compat 13 with 'dh $@', Testsuite autopkgtest-pkg-nodejs, Standards-Version 4.7.4 against Policy 4.7.4.1, Build-Depends use <!nocheck> only for node-prismjs and node-typescript (test-only), macaulay2 is a real build-time dependency of the regeneration step, and ${misc:Depends} is present.
  • apt-cache confirms the named dependencies exist: debhelper-compat, dh-nodejs (Provides dh-sequence-nodejs and dh-nodejs-autodocs), macaulay2 1.26.11+ds-3, node-prismjs 1.30.0, node-rollup-plugin-terser 7.0.2+~cs8.6.7 (satisfies >= 7.0.2+~cs8), node-typescript 6.0.3, rollup 3.30.0.
  • dh_nodejs_autodocs is shipped by dh-nodejs (installed at /usr/bin/dh_nodejs_autodocs), so the execute_after_dh_installdocs call is available from Build-Depends.
  • The autopkgtest script (tsc --project test/types; node --test test/test.js) matches the tsconfig patch and skips both refractor and dist-dependent tests when unavailable.
  • uscan found the packaged version as the newest upstream release (upstream 0.1.0, packaged 0.1.0).
Not confirmed ◂
  • rollup.config.js imports @rollup/plugin-terser and debian/nodejs/extlinks lists it unconditionally, while Build-Depends names node-rollup-plugin-terser, whose 7.0.2 upstream is the older unscoped rollup-plugin-terser module. I could not inspect the archive package's file list, so I could not confirm the scoped module is actually installed; if it is not, dh-nodejs's nodepath lookup for debian/nodejs/extlinks fails in dh_auto_configure and the build stops.
  • I did not build the package or run its tests/autopkgtests; the binary package contents and exact install locations produced by dh-nodejs were not inspected.
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/prismjs-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), 4 hours ago

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package