FreeBSD Bugzilla – Attachment 193475 Details for
Bug 228309
graphics/py-sorl-thumbnail: update to 12.4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-sorl-thumbnail-12.4.1.patch
py-sorl-thumbnail-12.4.1.patch (text/plain), 5.09 KB, created by
Kai Knoblich
on 2018-05-17 06:42:37 UTC
(
hide
)
Description:
py-sorl-thumbnail-12.4.1.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2018-05-17 06:42:37 UTC
Size:
5.09 KB
patch
obsolete
>Index: py-sorl-thumbnail/Makefile >=================================================================== >--- py-sorl-thumbnail/Makefile (revision 470128) >+++ py-sorl-thumbnail/Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= sorl-thumbnail >-PORTVERSION= 3.2.5 >-PORTREVISION= 6 >+PORTVERSION= 12.4.1 > CATEGORIES= graphics python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -12,33 +11,42 @@ > COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails > > LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} > > USES= python > USE_PYTHON= autoplist distutils >+NO_ARCH= yes >+PORTDOCS= * > >-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}@${FLAVOR} >+OPTIONS_DEFINE= DOCS >+OPTIONS_DEFAULT= IMAGEMAGICK >+OPTIONS_SINGLE= IMAGELIB >+OPTIONS_GROUP= CACHING > >-OPTIONS_DEFINE= DJANGO PDF WORD >-DJANGO_DESC= Enable Django >-PDF_DESC= PDF Thumbnails >-WORD_DESC= Word Document thumbnail handling >+OPTIONS_SINGLE_IMAGELIB= GRAPHICSMAGICK IMAGEMAGICK PILLOW WAND >+OPTIONS_GROUP_CACHING= REDIS > >-OPTIONS_DEFAULT= DJANGO >+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} >+DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" > >-.include <bsd.port.options.mk> >+GRAPHICSMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/gm:graphics/GraphicsMagick >+IMAGEMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick >+PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} >+REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} >+WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR} > >-.if ${PORT_OPTIONS:MDJANGO} >-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django18@${FLAVOR} >-.endif >+GRAPHICSMAGICK_DESC= Use GraphicsMagick for image processing (faster) >+IMAGEMAGICK_DESC= Use ImageMagick for image processing >+PILLOW_DESC= Use internal image processing >+REDIS_DESC= Use REDIS as Key Value Store >+WAND_DESC= Use Wand with ImageMagick > >-.if ${PORT_OPTIONS:MPDF} >-RUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:graphics/ImageMagick >-.endif >+post-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC}/build/sphinx/html && \ >+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ >+ "! -name .buildinfo -and ! -name objects.inv") > >-.if ${PORT_OPTIONS:MWORD} >-RUN_DEPENDS+= wvVersion:textproc/wv >-.endif >- > .include <bsd.port.mk> >Index: py-sorl-thumbnail/distinfo >=================================================================== >--- py-sorl-thumbnail/distinfo (revision 470128) >+++ py-sorl-thumbnail/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (sorl-thumbnail-3.2.5.tar.gz) = 8f0378cc08bed75a7e86fc44847e652378d1951af452a47976d2eca8b8276968 >-SIZE (sorl-thumbnail-3.2.5.tar.gz) = 19622 >+TIMESTAMP = 1526248144 >+SHA256 (sorl-thumbnail-12.4.1.tar.gz) = 1cc6d913fe4f1224e479f25a23ec2ad3ca71c3154919a2c9463b07e7fbe11ac2 >+SIZE (sorl-thumbnail-12.4.1.tar.gz) = 533008 >Index: py-sorl-thumbnail/files/patch-docs_conf.py >=================================================================== >--- py-sorl-thumbnail/files/patch-docs_conf.py (nonexistent) >+++ py-sorl-thumbnail/files/patch-docs_conf.py (working copy) >@@ -0,0 +1,17 @@ >+--- docs/conf.py.orig 2017-11-21 00:08:00 UTC >++++ docs/conf.py >+@@ -15,10 +15,13 @@ import os >+ import sphinx >+ import sys >+ >++if sys.version_info < (3,): >++ range = xrange >++ >+ sys.path.insert(0, os.path.pardir) >+ import sorl >+ >+-for j in xrange(0, len(sphinx.__version__)): >++for j in range(0, len(sphinx.__version__)): >+ try: >+ version = float(sphinx.__version__[:-j]) >+ break > >Property changes on: py-sorl-thumbnail/files/patch-docs_conf.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: py-sorl-thumbnail/pkg-descr >=================================================================== >--- py-sorl-thumbnail/pkg-descr (revision 470128) >+++ py-sorl-thumbnail/pkg-descr (working copy) >@@ -1,6 +1,18 @@ > The sorl-thumbnail package provides an easy way to generate image > thumbnails. >-Although not required to use, sorl-thumbnail is heavily integrated with >-the Django framework. > >-WWW: http://code.google.com/p/sorl-thumbnail/ >+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 >+ >+WWW: https://github.com/jazzband/sorl-thumbnail
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228309
: 193475 |
193488