Source: dart-sass
Section: web
Maintainer: Emfox Zhou <emfox@debian.org>
Build-Depends: debhelper-compat (= 14),
 dart-sdk (>= 3.13.4),
 python3,
 dart-args,
 dart-async,
 dart-charcode,
 dart-cli-pkg,
 dart-cli-repl,
 dart-collection,
 dart-ffi,
 dart-fixnum,
 dart-js,
 dart-meta,
 dart-native-synchronization,
 dart-node-interop,
 dart-node-preamble,
 dart-package-config,
 dart-path,
 dart-pool,
 dart-protobuf,
 dart-pub-semver,
 dart-source-maps,
 dart-source-span,
 dart-stack-trace,
 dart-stream-channel,
 dart-stream-transform,
 dart-string-scanner,
 dart-term-glyph,
 dart-watcher
Standards-Version: 4.7.4
Homepage: https://sass-lang.com/dart-sass
Vcs-Git: https://salsa.debian.org/dart-team/dart-sass.git
Vcs-Browser: https://salsa.debian.org/dart-team/dart-sass

Package: sass
Architecture: all
# Not Multi-Arch: foreign: the command behaves differently per architecture,
# since --embedded is only available where the native compiler is built.
Depends: dart-sass | node-sass
Breaks: dart-sass (<< 1.108.1-2~),
 ruby-sass (<< 3.7.4-7~)
Replaces: dart-sass (<< 1.108.1-2~),
 ruby-sass (<< 3.7.4-7~)
Description: command line Sass compiler
 Sass is a stylesheet language that is compiled to CSS.  It allows one to
 use variables, nested rules, mixins, functions and more, all with a fully
 CSS-compatible syntax.
 .
 This package provides the generic command name /usr/bin/sass and its manual
 page.  The compiler behind it is one of the two builds of Dart Sass, the
 reference implementation of the language: dart-sass, a self-contained native
 executable, or node-sass, the dart2js build that runs on Node.js.  The
 wrapper runs the native compiler when it is installed and the JavaScript
 build otherwise.
 .
 The native build exists only on the architectures the Dart SDK is ported to
 (amd64, arm64, armhf, riscv64).  On the others this package pulls in
 node-sass, so the command works everywhere at the cost of a Node.js
 dependency and some speed.  See README.Debian.

Package: dart-sass
Architecture: amd64 arm64 armhf riscv64
Recommends: sass
Built-Using: dart-sdk (= ${dart-sdk:Version})
Description: Dart implementation of Sass (native compiler)
 Sass is a stylesheet language that is compiled to CSS.  It allows one to
 use variables, nested rules, mixins, functions and more, all with a fully
 CSS-compatible syntax.
 .
 Dart Sass is the reference implementation of the language and the only one
 still maintained upstream.  This package contains it as a self-contained
 native executable, installed as /usr/bin/dart-sass.  It needs neither the
 Dart SDK nor Node.js at run time.
 .
 This package exists only on the architectures the Dart SDK is ported to
 (amd64, arm64, armhf, riscv64).  The arch:all package sass provides the
 generic command name /usr/bin/sass on top of it.

Package: node-sass
Section: javascript
Architecture: all
Multi-Arch: foreign
Depends: nodejs:any,
 node-chokidar,
 node-immutable
Description: Dart implementation of Sass (JavaScript build for Node.js)
 Sass is a stylesheet language that is compiled to CSS.  It allows one to
 use variables, nested rules, mixins, functions and more, all with a fully
 CSS-compatible syntax.
 .
 This package contains the dart2js build of Dart Sass: the Node.js module,
 installed as "sass" under /usr/share/nodejs for use by JavaScript tooling
 such as webpack's sass-loader, and the command line compiler,
 /usr/share/nodejs/sass/sass.js, which the arch:all package sass runs on the
 architectures where the native compiler cannot be built.
 .
 Both builds are compiled from the same Dart sources and accept the same
 options.  The one feature only the native build has is the --embedded
 protocol; sass --version also says which build it is.
