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