File django3.patch of Package python-django-pyscss
Index: django-pyscss-2.0.2/django_pyscss/compiler.py
===================================================================
--- django-pyscss-2.0.2.orig/django_pyscss/compiler.py
+++ django-pyscss-2.0.2/django_pyscss/compiler.py
@@ -3,7 +3,7 @@ from __future__ import absolute_import
import os
from pathlib import PurePath
-from django.utils.six.moves import StringIO
+from six.moves import StringIO
from django.conf import settings
from django.contrib.staticfiles.storage import staticfiles_storage
Index: django-pyscss-2.0.2/setup.py
===================================================================
--- django-pyscss-2.0.2.orig/setup.py
+++ django-pyscss-2.0.2/setup.py
@@ -13,6 +13,7 @@ def read(fname):
install_requires = [
'Django>=1.4',
'pyScss>=1.3.4',
+ 'six',
]
try:
Index: django-pyscss-2.0.2/tests/test_compressor.py
===================================================================
--- django-pyscss-2.0.2.orig/tests/test_compressor.py
+++ django-pyscss-2.0.2/tests/test_compressor.py
@@ -4,14 +4,14 @@ from tests.utils import CollectStaticTes
APP2_LINK_TAG = """
-{% load staticfiles compress %}
+{% load static compress %}
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/app2.scss' %}">
{% endcompress %}
"""
IMPORT_APP2_STYLE_TAG = """
-{% load staticfiles compress %}
+{% load static compress %}
{% compress css %}
<style type="text/x-scss">
@import "css/app2.scss";