graphics/py-sorl-thumbnail 13.1.0 FreeBSD
Sorl-thumbnail provides an easy way to generate image thumbnails
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
89a75356e6- License
- BSD3CLAUSE
- Categories
- graphics, python
- Package size
- 136.8 KiB, 748.8 KiB installed
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
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/py-sorl-thumbnail | 13.1.0 |
| DragonFly | graphics/py-sorl-thumbnail | 12.10.0_3 |
| HardenedBSD | graphics/py-sorl-thumbnail | 13.1.0 |
| GhostBSD | graphics/py-sorl-thumbnail | 13.1.0 |
Install
Binary package:
pkg install py312-sorl-thumbnail
From the ports tree:
cd /usr/ports/graphics/py-sorl-thumbnail/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-sorl-thumbnail>0:graphics/py-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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 13.1.0 | 13.1.0 | - | 12.10.0_3 | 13.1.0 |
| FreeBSD:14:quarterly | 13.1.0 | 13.1.0 | n/a | 12.10.0_3 | 13.1.0 |
| FreeBSD:15:latest | 13.1.0 | 13.1.0 | n/a | 12.10.0_3 | 12.10.0_3 |
| FreeBSD:15:quarterly | 13.1.0 | 13.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 13.1.0 | 13.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}django52>=5.2: www/py-django52
The full lists below include those, and their dependencies in turn.
Build dependencies 43
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-Jinja2
- devel/py-babel
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-typing-extensions
- devel/py-wheel
- devel/readline
- dns/py-idna
- graphics/py-imagesize
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/ca_root_nss
- security/py-certifi
- textproc/expat2
- textproc/py-alabaster
- textproc/py-charset-normalizer
- textproc/py-docutils
- textproc/py-markupsafe
- textproc/py-pygments
- textproc/py-pystemmer
- textproc/py-roman-numerals
- textproc/py-snowballstemmer
- textproc/py-sphinx
- textproc/py-sphinxcontrib-applehelp
- textproc/py-sphinxcontrib-devhelp
- textproc/py-sphinxcontrib-htmlhelp
- textproc/py-sphinxcontrib-jsmath
- textproc/py-sphinxcontrib-qthelp
- textproc/py-sphinxcontrib-serializinghtml
- textproc/snowballstemmer
- www/py-requests
Run dependencies 62
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- converters/fribidi
- converters/libiconv
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sqlite3
- devel/gettext-runtime
- devel/glib20
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-olefile
- devel/py-packaging
- devel/readline
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/py-pillow
- graphics/tiff
- graphics/webp
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- print/freetype2
- print/harfbuzz
- print/indexinfo
- print/libraqm
- textproc/expat2
- textproc/libxml2
- www/py-asgiref
- www/py-django52
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/py-tkinter
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
No port depends on this one.
Configuration
Options name: graphics_sorl-thumbnail
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| GRAPHICSMAGICK | off | Use GraphicsMagick for image processing (faster) |
| IMAGEMAGICK | off | Use ImageMagick for image processing |
| PILLOW | on | Use internal image processing |
| REDIS | off | Use REDIS as Key Value Store |
| WAND | off | Use Wand with ImageMagick |
- USES
- python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}*sorl-thumbnail
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sorl_thumbnail-13.1.0.tar.gz | 672147 | 4bf2d3e5c211f9d3d754273af067c7664df361bfcc4722f778acef054352eefa |
Master sites 1
- PYPI