Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 16:54:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469669 - head/graphics/py-django-easy-thumbnails
Message-ID:  <201805111654.w4BGsS6A039283@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri May 11 16:54:28 2018
New Revision: 469669
URL: https://svnweb.freebsd.org/changeset/ports/469669

Log:
  Update to 2.5
  
  - Add LICENSE_FILE
  - Allow concurrent installation (USE_PYTHON=concurrent)
  - Add NO_ARCH
  - Add DOCS option
  - Remove pkg-message
  
  Changes:	https://github.com/SmileyChris/easy-thumbnails/blob/master/CHANGES.rst
  PR:		228125
  Submitted by:	Kai <freebsd_ports@k-worx.org>
  Approved by:	Matthew X. Economou <xenophon+fbsdports@irtnog.org> (maintainer)

Deleted:
  head/graphics/py-django-easy-thumbnails/pkg-message
Modified:
  head/graphics/py-django-easy-thumbnails/Makefile
  head/graphics/py-django-easy-thumbnails/distinfo

Modified: head/graphics/py-django-easy-thumbnails/Makefile
==============================================================================
--- head/graphics/py-django-easy-thumbnails/Makefile	Fri May 11 16:54:22 2018	(r469668)
+++ head/graphics/py-django-easy-thumbnails/Makefile	Fri May 11 16:54:28 2018	(r469669)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	easy-thumbnails
-PORTVERSION=	2.3
+PORTVERSION=	2.5
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}django-
@@ -11,10 +11,27 @@ MAINTAINER=	xenophon+fbsdports@irtnog.org
 COMMENT=	Easy thumbnails for Django
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist concurrent distutils
+NO_ARCH=	yes
+
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
+DOCS_VARS=		PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+
+post-patch-DOCS-on:
+	@${REINPLACE_CMD} -e 's|^\(release = \)\(easy_thumbnails.get_version()\)|\1version|' ${WRKSRC}/docs/conf.py
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv")
 
 .include <bsd.port.mk>

Modified: head/graphics/py-django-easy-thumbnails/distinfo
==============================================================================
--- head/graphics/py-django-easy-thumbnails/distinfo	Fri May 11 16:54:22 2018	(r469668)
+++ head/graphics/py-django-easy-thumbnails/distinfo	Fri May 11 16:54:28 2018	(r469669)
@@ -1,2 +1,3 @@
-SHA256 (easy-thumbnails-2.3.tar.gz) = 5ae57f086026dbfe4aa59e9bc80bcae1ae6daca63dec02a2d510c3ab098f0de2
-SIZE (easy-thumbnails-2.3.tar.gz) = 76840
+TIMESTAMP = 1525982227
+SHA256 (easy-thumbnails-2.5.tar.gz) = e244d1f26027fc32c6ca60ffb0169a39099446f614b0433e907a2588ae7d9b95
+SIZE (easy-thumbnails-2.5.tar.gz) = 67369



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805111654.w4BGsS6A039283>