svn commit: r470558 - head/www/py-django-filer
Martin Wilke
miwi at FreeBSD.org
Mon May 21 16:02:11 UTC 2018
Author: miwi
Date: Mon May 21 16:02:09 2018
New Revision: 470558
URL: https://svnweb.freebsd.org/changeset/ports/470558
Log:
- Update to 1.3.2
PR: 228136
Submitted by: freebsd_ports at k-worx.org
Approved by: maintainer
Sponsored by: iXsystems Inc.
Modified:
head/www/py-django-filer/Makefile
head/www/py-django-filer/distinfo
head/www/py-django-filer/pkg-descr
head/www/py-django-filer/pkg-message
Modified: head/www/py-django-filer/Makefile
==============================================================================
--- head/www/py-django-filer/Makefile Mon May 21 15:52:35 2018 (r470557)
+++ head/www/py-django-filer/Makefile Mon May 21 16:02:09 2018 (r470558)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= django-filer
-PORTVERSION= 0.8.6
-PORTREVISION= 3
+PORTVERSION= 1.3.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +10,18 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= xenophon+fbsdports at irtnog.org
COMMENT= File and Image Management Application for django
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}django-easy-thumbnails>=0:graphics/py-django-easy-thumbnails@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${FLAVOR}
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-easy-thumbnails>=2:graphics/py-django-easy-thumbnails@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-mptt>=0.6:www/py-django-mptt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django_polymorphic>=0.7:www/py-django_polymorphic@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=2.3.0:graphics/py-pillow@${PY_FLAVOR}
+
USES= python
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
.include <bsd.port.mk>
Modified: head/www/py-django-filer/distinfo
==============================================================================
--- head/www/py-django-filer/distinfo Mon May 21 15:52:35 2018 (r470557)
+++ head/www/py-django-filer/distinfo Mon May 21 16:02:09 2018 (r470558)
@@ -1,2 +1,3 @@
-SHA256 (django-filer-0.8.6.tar.gz) = 8be32f3fd5530dbd5436ef4e46cb6da5a51f2b4fd6db3a7b880ef9246b55f103
-SIZE (django-filer-0.8.6.tar.gz) = 674775
+TIMESTAMP = 1525970787
+SHA256 (django-filer-1.3.2.tar.gz) = 192b8039d167d1fc71423f65dd0d9b67a296f4336a942dba95bcadc1fb734d81
+SIZE (django-filer-1.3.2.tar.gz) = 1267010
Modified: head/www/py-django-filer/pkg-descr
==============================================================================
--- head/www/py-django-filer/pkg-descr Mon May 21 15:52:35 2018 (r470557)
+++ head/www/py-django-filer/pkg-descr Mon May 21 16:02:09 2018 (r470558)
@@ -1,5 +1,4 @@
django-filer is a file management application for django. It handles
uploading and organizing files and images in contrib.admin.
-WWW: https://pypi.org/project/django-filer/
WWW: https://github.com/stefanfoulis/django-filer
Modified: head/www/py-django-filer/pkg-message
==============================================================================
--- head/www/py-django-filer/pkg-message Mon May 21 15:52:35 2018 (r470557)
+++ head/www/py-django-filer/pkg-message Mon May 21 16:02:09 2018 (r470558)
@@ -1,20 +1,25 @@
-**********************************************************************
+================================================================================
-Add "filer" to your project's INSTALLED_APPS setting and run syncdb
-(or migrate if you're using South).
+Add "filer" and related apps to your INSTALLED_APPS setting and run
+manage.py migrate:
-You might consider using django-filer with the django CMS plugin and
-its components instead of cms.plugins.file, cms.plugins.picture,
-cms.plugins.teaser and cms.plugins.video core plugins. In this case
-you should not add them to INSTALLED_APPS but add those instead:
+INSTALLED_APPS = [
+ ...
+ 'easy_thumbnails',
+ 'filer',
+ 'mptt',
+ ...
+]
- 'filer'
- 'cmsplugin_filer_file'
- 'cmsplugin_filer_folder'
- 'cmsplugin_filer_image'
- 'cmsplugin_filer_teaser'
- 'cmsplugin_filer_video'
+Note that easy_thumbnails also has database tables and needs a
+manage.py migrate.
-(Note that this also requires the installation of cmsplugin-filer.)
+For easy_thumbnails to support retina displays (recent MacBooks, iOS) add to
+settings.py:
-**********************************************************************
+THUMBNAIL_HIGH_RESOLUTION = True
+
+If you forget this, you may not see thumbnails for your uploaded files. Adding
+this line and refreshing the admin page will create the missing thumbnails.
+
+================================================================================
More information about the svn-ports-all
mailing list