Package: sorl-thumbnail / 12.5.0-2

Metadata

Package Version Patches format
sorl-thumbnail 12.5.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
relax test.patch | (download)

tests/thumbnail_tests/test_engines.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 relax test result check by one, seems appropriate
use range not xrange.patch | (download)

docs/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 python 3 has range, not xrange
workaround pgmagick exception.patch | (download)

sorl/thumbnail/engines/pgmagick_engine.py | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 workaround an exception with newer pgmagick version
disable_http_tests.patch | (download)

tests/thumbnail_tests/test_engines.py | 13 7 + 6 - 0 !
tests/thumbnail_tests/test_filters.py | 6 6 + 0 - 0 !
tests/thumbnail_tests/test_templatetags.py | 3 3 + 0 - 0 !
3 files changed, 16 insertions(+), 6 deletions(-)

 disable http requests during build

 Remote resources such as images fetched over HTTP are not allowed at build
 time so this patch skips these tests if the environment variable
 LOCAL_BUILD is present.