BSD Ports

graphics/py-dj61-sorl-thumbnail 13.4.0 FreeBSD

Sorl-thumbnail provides an easy way to generate image thumbnails

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
df107d9199
License
BSD3CLAUSE
Categories
graphics, python

Description

The sorl-thumbnail package provides an easy way to generate image thumbnails.

Some of its features:

  • Storage support
  • Pluggable Engine support for Pillow, GraphicsMagick, ImageMagick and Wand
  • Pluggable Key Value Store support (cached db and redis)
  • Pluggable Backend support
  • Admin integration with possibility to delete
  • Dummy generation (placeholders)
  • Flexible, simple syntax, generates no html
  • ImageField for model that deletes thumbnails
  • CSS style cropping options
  • Back smart cropping, and remove borders from the images when cropping
  • Margin calculation for vertical positioning
  • Alternative resolutions versions of a thumbnail

Version history 1

  1. 13.4.0 df107d9199

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-dj61-sorl-thumbnail

From the ports tree:

cd /usr/ports/graphics/py-dj61-sorl-thumbnail/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-dj61-sorl-thumbnail>0:graphics/py-dj61-sorl-thumbnail

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest----13.4.0
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 43
Run dependencies 61

Configuration

Options name: graphics_sorl-thumbnail

OptionDefaultDescription
DOCSoffBuild and/or install documentation
GRAPHICSMAGICKoffUse GraphicsMagick for image processing (faster)
IMAGEMAGICKoffUse ImageMagick for image processing
PILLOWonUse internal image processing
REDISoffUse REDIS as Key Value Store
VIPSoffUse libvips for image processing
WANDoffUse Wand with ImageMagick
USES
python:3.12+
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}*sorl-thumbnail

Files

distinfo 1
FileSizeSHA256
sorl_thumbnail-13.4.0.tar.gz7914179eafa7be3c6785b06750633a36b20111005b7e3efda735f770e0ee101908ed3b
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
df107d9199 Kai Knoblich net-mgmt/netbox: Add Django 6.1 consumers
* Django 5.2 is currently the "default" version in the ports tree due its long term support until April 2028. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 4.7 release possible because it requires Django 6.1. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj61-django-rq - devel/py-dj61-strawberry-graphql - graphics/py-dj61-sorl-thumbnail - www/py-dj61-channels - www/py-dj61-django-auth-ldap - www/py-dj61-django-choices-field - www/py-dj61-django-cors-headers - www/py-dj61-django-filter - www/py-dj61-django-htmx - www/py-dj61-django-js-asset - www/py-dj61-django-mptt …