aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-04-07 07:44:24 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-04-07 07:44:24 +0000
commited649ed30d40a14a619927644742068f18f080a0 (patch)
tree456a548a401658b38c98924b5cb3897c8d0d3a79 /graphics
parente1c55e389bf4987a3b7cfb1194eafa480f7304ce (diff)
downloadports-ed649ed30d40a14a619927644742068f18f080a0.tar.gz
ports-ed649ed30d40a14a619927644742068f18f080a0.zip
graphics/py-sorl-thumbnail: Update to 12.6.3
* Assign to Django 2.2 (current LTS release) as Django 1.11 is End-of-Life. * Make port concurrent safe as it installs files outside Python's site-lib directory. * Separate USES block from non-relevant variables and pet portlint (whitespace issues in pkg-plist) * Also remove an obsolete patch that was required to fix build issues with the documentation files. Changelog: https://github.com/jazzband/sorl-thumbnail/blob/12.6.3/CHANGES.rst PR: 245358 Approved by: Kevin Golding <ports@caomhin.org> (maintainer)
Notes
Notes: svn path=/head/; revision=530951
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-sorl-thumbnail/Makefile11
-rw-r--r--graphics/py-sorl-thumbnail/distinfo6
-rw-r--r--graphics/py-sorl-thumbnail/files/patch-docs_conf.py17
-rw-r--r--graphics/py-sorl-thumbnail/pkg-descr2
4 files changed, 10 insertions, 26 deletions
diff --git a/graphics/py-sorl-thumbnail/Makefile b/graphics/py-sorl-thumbnail/Makefile
index 5ef18524e982..50c154d05bd6 100644
--- a/graphics/py-sorl-thumbnail/Makefile
+++ b/graphics/py-sorl-thumbnail/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sorl-thumbnail
-PORTVERSION= 12.4.1
-PORTREVISION= 2
+PORTVERSION= 12.6.3
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +13,12 @@ COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR}
+
+USES= python:3.5+
+USE_PYTHON= autoplist concurrent distutils
-USES= python
-USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= *
diff --git a/graphics/py-sorl-thumbnail/distinfo b/graphics/py-sorl-thumbnail/distinfo
index 96e71fbecb1d..5377ac82725f 100644
--- a/graphics/py-sorl-thumbnail/distinfo
+++ b/graphics/py-sorl-thumbnail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526248144
-SHA256 (sorl-thumbnail-12.4.1.tar.gz) = 1cc6d913fe4f1224e479f25a23ec2ad3ca71c3154919a2c9463b07e7fbe11ac2
-SIZE (sorl-thumbnail-12.4.1.tar.gz) = 533008
+TIMESTAMP = 1586027494
+SHA256 (sorl-thumbnail-12.6.3.tar.gz) = 66771521f3c0ed771e1ce8e1aaf1639ebff18f7f5a40cfd3083da8f0fe6c7c99
+SIZE (sorl-thumbnail-12.6.3.tar.gz) = 536608
diff --git a/graphics/py-sorl-thumbnail/files/patch-docs_conf.py b/graphics/py-sorl-thumbnail/files/patch-docs_conf.py
deleted file mode 100644
index 737f09c375c8..000000000000
--- a/graphics/py-sorl-thumbnail/files/patch-docs_conf.py
+++ /dev/null
@@ -1,17 +0,0 @@
---- 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
diff --git a/graphics/py-sorl-thumbnail/pkg-descr b/graphics/py-sorl-thumbnail/pkg-descr
index ca0800f625d7..8ebfc1ddd39f 100644
--- a/graphics/py-sorl-thumbnail/pkg-descr
+++ b/graphics/py-sorl-thumbnail/pkg-descr
@@ -3,7 +3,7 @@ thumbnails.
Some of its features:
- Storage support
-- Pluggable Engine support for Pillow, GraphicsMagick, ImageMagick and Wand
+- 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