1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
Source: django-sass-processor
Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Hans-Christoph Steiner <hans@eds.org>,
Dominik George <natureshadow@debian.org>
Build-Depends: debhelper-compat (= 13),
dh-sequence-python3,
pybuild-plugin-pyproject,
python3-all,
python3-django,
python3-django-compressor,
python3-jinja2,
python3-libsass,
python3-setuptools,
python3-pytest,
python3-pytest-django,
Standards-Version: 4.6.2
Homepage: https://github.com/jrief/django-sass-processor
Vcs-Browser: https://salsa.debian.org/python-team/packages/django-sass-processor
Vcs-Git: https://salsa.debian.org/python-team/packages/django-sass-processor.git
Rules-Requires-Root: no
Testsuite: autopkgtest-pkg-pybuild
Package: python3-django-sass-processor
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-django, python3-libsass
Recommends: python3-django-compressor
Suggests: python3-jinja2
Description: compile files from markup languages such as SASS/SCSS
django-sass-processor converts *.scss or *.sass files into *.css
while rendering templates. For performance reasons this is done only
once, since the preprocessor keeps track on the timestamps and only
recompiles when any of the imported SASS/SCSS files is younger than
the corresponding generated CSS file.
.
This Django app provides a templatetag "sass_src",
which can be used instead of the built-in templatetag static.
Since version 0.3.4 this also works for Jinja2 templates.
.
If SASS/SCSS files shall be referenced through the Media class or
media property, the SASS processor can be used directly.
.
Additionally, django-sass-processor is shipped with a management
command, which can convert the content of all occurrences inside the
templatetag sass_src as an offline operation. Hence, the libsass
compiler is not required in a production environment.
.
During development, a sourcemap is generated alongside the compiled *.css file.
This allows one to debug style sheet errors much easier.
.
With this tool, you can safely remove your Ruby installations
"Compass" and "SASS" from your Django projects. You neither need any
directory "watching" daemons based on node.js.
|