1
0

30 Commits

Author SHA256 Message Date
b5704e2d13 Accepting request 1198904 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1198904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=14
2024-09-05 13:47:32 +00:00
cf57ed4b4c Accepting request 1132493 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1132493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=13
2023-12-11 20:51:37 +00:00
0e15513a01 Accepting request 1132478 from openSUSE:infrastructure:mailman3
- Adds patch python-django-compressor-rcssmin-and-rjsmin-versions.patch
  * Make sure newer versions of rcssmin and rjsmin can be used

OBS-URL: https://build.opensuse.org/request/show/1132478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=28
2023-12-11 13:26:37 +00:00
e1f9f1be39 Accepting request 1099493 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1099493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=12
2023-07-19 17:11:40 +00:00
631c0e854a Accepting request 1099201 from home:mcalabkova:branches:devel:languages:python:django
- Update to 4.4
  * Full list of changes from v4.3.1 <https://github.com/django-compressor/django-compressor/compare/4.3.1...4.4>
  * Officially support Django 4.2
- Add upstream patch lstrip.patch

OBS-URL: https://build.opensuse.org/request/show/1099201
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=26
2023-07-19 11:15:31 +00:00
e79031e126 Accepting request 1095246 from devel:languages:python:django
Forwarded request #1095188 from gladiac

- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1095246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=11
2023-06-26 16:15:51 +00:00
00c148ab14 Accepting request 1095188 from devel:languages:python:mailman:backports
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1095188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=24
2023-06-25 19:17:46 +00:00
c0bcd658a7 Accepting request 1060482 from devel:languages:python:django
- update to 4.3.1:
  * `Full list of changes from v4.3 <https://github.com/django-
    compressor/django-compressor/compare/4.3...4.3.1>`_
  * Documentation fixes only

OBS-URL: https://build.opensuse.org/request/show/1060482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=10
2023-01-24 18:42:53 +00:00
efbb1df68a - update to 4.3.1:
* `Full list of changes from v4.3 <https://github.com/django-
    compressor/django-compressor/compare/4.3...4.3.1>`_
  * Documentation fixes only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=22
2023-01-23 17:26:03 +00:00
7ccc897c0b Accepting request 1056746 from devel:languages:python:django
- update to 4.3:
  * `Full Changelog <https://github.com/django-compressor/django-
    compressor/compare/4.1...4.3>`_
  * Officially support Python 3.11
  * Drop Python 3.6 and 3.7 support
  * Drop Django 2.2 and 3.1 support
  * Drop SlimItFilter
  * Update the `CachedS3Boto3Storage` example storage subclass in "Remote
    Storages" to work properly after the v4.0 change to how duplicate file
    names are handled by `CompressorFileStorage` 
  * Update rsmin and jsmin versions

OBS-URL: https://build.opensuse.org/request/show/1056746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=9
2023-01-07 16:19:48 +00:00
64590c4090 - update to 4.3:
* `Full Changelog <https://github.com/django-compressor/django-
    compressor/compare/4.1...4.3>`_
  * Officially support Python 3.11
  * Drop Python 3.6 and 3.7 support
  * Drop Django 2.2 and 3.1 support
  * Drop SlimItFilter
  * Update the `CachedS3Boto3Storage` example storage subclass in "Remote
    Storages" to work properly after the v4.0 change to how duplicate file
    names are handled by `CompressorFileStorage` 
  * Update rsmin and jsmin versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=20
2023-01-07 08:49:57 +00:00
14b12c1918 Accepting request 1037971 from devel:languages:python:django
- Fix tests problem related to jinja2 version
  # gh#django-compressor/django-compressor#1139
  # gh#django-compressor/django-compressor@bcdd21956a84

OBS-URL: https://build.opensuse.org/request/show/1037971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=8
2022-11-25 12:12:18 +00:00
562690d388 - Fix tests problem related to jinja2 version
# gh#django-compressor/django-compressor#1139
  # gh#django-compressor/django-compressor@bcdd21956a84

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=18
2022-11-24 18:27:13 +00:00
fec5cf1638 Accepting request 993153 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/993153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=7
2022-08-05 17:51:10 +00:00
6724731a17 Accepting request 993123 from home:bnavigator:branches:devel:languages:python:mailman
- Update to 4.1
  * Add Django 4.1 compatibility
  * New setting ``COMPRESS_OFFLINE_MANIFEST_STORAGE`` to customize
    the offline manifest's file storage (#1112) With this change
    the function
    ``compressor.cache.get_offline_manifest_filename()`` has been
    removed. You can now use the new file storage
    ``compressor.storage.default_offline_manifest_storage`` to
    access the location of the manifest.
- Release 4.0
  * Fix intermittent No such file or directory errors by changing
    strategy to deal with duplicate filenames in
    CompressorFileStorage
  * Deprecate SlimItFilter, stop testing it with Python 3.7 or
    higher

OBS-URL: https://build.opensuse.org/request/show/993123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=16
2022-08-04 21:07:45 +00:00
d58aad6640 Accepting request 972988 from devel:languages:python:django
- Remove unneeded BuildRequires on mock.

OBS-URL: https://build.opensuse.org/request/show/972988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=6
2022-04-27 19:41:06 +00:00
cd30cc291c - Remove unneeded BuildRequires on mock.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=14
2022-04-27 01:58:50 +00:00
63bc553648 Accepting request 942814 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/942814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=5
2021-12-28 11:26:17 +00:00
589be6f2f3 Accepting request 942788 from home:jayvdb:branches:devel:languages:python:django
- Re-activate test suite
- Update to v3.1
  (includes Django 4 compatibility)

OBS-URL: https://build.opensuse.org/request/show/942788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=13
2021-12-27 16:48:40 +00:00
2c159f6102 Accepting request 895338 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/895338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=4
2021-06-01 08:35:39 +00:00
1eb6b8d612 Accepting request 895333 from home:mcalabkova:branches:devel:languages:python:django
- Update to 2.4.1
  * Raise proper DeprecationWarning for COMPRESS_JS_FILTERS and COMPRESS_CSS_FILTERS

OBS-URL: https://build.opensuse.org/request/show/895333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=11
2021-05-25 11:17:01 +00:00
1c3e35d8a1 Accepting request 810559 from devel:languages:python:django
- Disable tests until upstream makes them work with new python
  Beautifulsoup

OBS-URL: https://build.opensuse.org/request/show/810559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=3
2020-06-02 12:40:00 +00:00
Tomáš Chvátal
029cf60f4c - Disable tests until upstream makes them work with new python
Beautifulsoup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=9
2020-06-01 07:34:21 +00:00
dd679b036a Accepting request 791104 from devel:languages:python:django
- Bump the version requirement on django to be >= 2.2
- Enable verbose testing

OBS-URL: https://build.opensuse.org/request/show/791104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=2
2020-04-04 10:24:58 +00:00
Tomáš Chvátal
932c81c817 - Bump the version requirement on django to be >= 2.2
- Enable verbose testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=7
2020-04-03 06:58:32 +00:00
1a9bbc228b Accepting request 761549 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/761549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=1
2020-01-07 22:54:45 +00:00
Tomáš Chvátal
f125e5e526 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=5 2020-01-07 11:48:20 +00:00
Tomáš Chvátal
237a550d46 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=4 2020-01-06 15:39:26 +00:00
Tomáš Chvátal
03c29dde08 - Update to 2.4 release:
* support for newer django releases
- Drop merged patch:
  * pr_956.patch

- Rename to django-compressor to match up pypi name

- Add pr_956.patch to fix tests to use sys.executable

- Update to 2.3 release:
  - Drop support for Django 1.8, 1.9 and 1.10
  - Add support for Django 2.1 and 2.2, as well as Python 3.7
  - Update all dependencies. This required minor code changes, you might need to update some optional dependencies if you use any
  - Allow the mixed use of JS/CSS in Sekizai's templatetags `{% addtoblock "js" %}` and `{% addtoblock "css" %}` (#891)
  - Allow the implementation of new types other than css and js. (#900)
  - Update jinja2 extension to behave similar to the django tag (#899)
  - Fix crash in offline compression when child nodelist is None, again (#605)
  - Support STATIC_URL and COMPRESS_URL being string-like objects
  - Improve compress command memory usage (#870)
  - Ensure generated file always contains a base name (#775)
  - Add BrotliCompressorFileStorage (#867)
- Drop merged patch compressor-django2.patch

- Use noun phrase for summary.

- Add patch to build with django 2.0:
  * compressor-django2.patch

- Add missing dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=3
2020-01-06 14:40:20 +00:00
Tomáš Chvátal
fa35bb6ce8 osc copypac from project:devel:languages:python:django package:python-django_compressor revision:12, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=2
2020-01-06 14:25:11 +00:00
3 changed files with 0 additions and 44 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b0acc9cfba9f69bc38e7c41da9b0d70a20bc95587b643ffef9609cf46064f67
size 422254

View File

@@ -1,28 +0,0 @@
From 1afd937f6a49b10013c1df71b53d054170efdce4 Mon Sep 17 00:00:00 2001
From: bcail <bcail@crossway.org>
Date: Mon, 3 Jul 2023 17:24:39 +0000
Subject: [PATCH] Add `LazyScriptNamePrefixedUrl.lstrip` to fix tests (#1196)
Needed because of cpython PR
https://github.com/python/cpython/pull/104575
---
compressor/tests/test_offline.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/compressor/tests/test_offline.py b/compressor/tests/test_offline.py
index c208048e..c49d1277 100644
--- a/compressor/tests/test_offline.py
+++ b/compressor/tests/test_offline.py
@@ -58,6 +58,12 @@ def __unicode__(self):
def __hash__(self):
return str.__hash__(str(self))
+ def lstrip(self, *args, **kwargs):
+ """
+ Override ``.lstrip()`` method to make it work with ``{% static %}``.
+ """
+ return str(self).lstrip(*args, **kwargs)
+
def split(self, *args, **kwargs):
"""
Override ``.split()`` method to make it work with ``{% static %}``.

View File

@@ -1,13 +0,0 @@
diff -ruN a/setup.py b/setup.py
--- a/setup.py 2023-06-28 00:11:30.000000000 +0200
+++ b/setup.py 2023-12-11 13:19:34.154446612 +0100
@@ -164,7 +164,7 @@
zip_safe=False,
install_requires=[
"django-appconf >= 1.0.3",
- "rcssmin == 1.1.1",
- "rjsmin == 1.2.1",
+ "rcssmin >= 1.1.1",
+ "rjsmin >= 1.2.1",
],
)