Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 16:54:39 +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: r469671 - head/www/py-django-reversion
Message-ID:  <201805111654.w4BGsdht039582@repo.freebsd.org>

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

Log:
  Update to 2.0.13
  
  - Add LICENSE_FILE
  - Update RUN_DEPENDS: use newer django
  - Relax USES=python
  - Use USE_PYTHON=autoplist instead of PLIST
  - Allow concurrent installation (USE_PYTHON=concurrent)
  - Add NO_ARCH
  - Add DOCS option
  - Remove pkg-message
  
  Changes:	https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst
  PR:		228128
  Submitted by:	Kai <freebsd_ports@k-worx.org>
  Approved by:	Matthew X. Economou <xenophon+fbsdports@irtnog.org> (maintainer)

Deleted:
  head/www/py-django-reversion/pkg-message
  head/www/py-django-reversion/pkg-plist
Modified:
  head/www/py-django-reversion/Makefile
  head/www/py-django-reversion/distinfo

Modified: head/www/py-django-reversion/Makefile
==============================================================================
--- head/www/py-django-reversion/Makefile	Fri May 11 16:54:33 2018	(r469670)
+++ head/www/py-django-reversion/Makefile	Fri May 11 16:54:38 2018	(r469671)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	django-reversion
-PORTVERSION=	1.6.1
-PORTREVISION=	1
+PORTVERSION=	2.0.13
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +11,22 @@ MAINTAINER=	xenophon+fbsdports@irtnog.org
 COMMENT=	Provides comprehensive version control facilities to Django apps
 
 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}
 
-USES=		python:2.7
-USE_PYTHON=	distutils
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+NO_ARCH=	yes
+
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
+DOCS_VARS=		PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+
+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/www/py-django-reversion/distinfo
==============================================================================
--- head/www/py-django-reversion/distinfo	Fri May 11 16:54:33 2018	(r469670)
+++ head/www/py-django-reversion/distinfo	Fri May 11 16:54:38 2018	(r469671)
@@ -1,2 +1,3 @@
-SHA256 (django-reversion-1.6.1.tar.gz) = f0a2db55336ab7a584c891b15d009656f4ca15559c03447a2bffd6b925fadabe
-SIZE (django-reversion-1.6.1.tar.gz) = 44034
+TIMESTAMP = 1525983348
+SHA256 (django-reversion-2.0.13.tar.gz) = 2e105a2c74462ce7de97afdcfb187f27b88a547dda1216a8aab964d32a882edf
+SIZE (django-reversion-2.0.13.tar.gz) = 65238



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