From owner-svn-ports-branches@freebsd.org Thu Oct 29 08:04:52 2015 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1ADF9A20F9C; Thu, 29 Oct 2015 08:04:52 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6C1A1F27; Thu, 29 Oct 2015 08:04:51 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9T84oOO009889; Thu, 29 Oct 2015 08:04:50 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9T84omj009888; Thu, 29 Oct 2015 08:04:50 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201510290804.t9T84omj009888@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Thu, 29 Oct 2015 08:04:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r400444 - in branches/2015Q4/www/py-django-mezzanine: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 08:04:52 -0000 Author: koobs Date: Thu Oct 29 08:04:50 2015 New Revision: 400444 URL: https://svnweb.freebsd.org/changeset/ports/400444 Log: MFH: r400443 www/py-django-mezzanine: Fix run dependency versions Loosen the dependencies listed in setup.py:install_requires so that port dependencies can satisfy them. This fixes run-time errors such as: pkg_resources.DistributionNotFound: The 'future==0.9.0' distribution was not found and is required by Mezzanine - Update and sort RUN_DEPENDS, remove chardet - Add TEST_DEPENDS - Rename test target now that framework supports TEST_DEPENDS et al. - Update test target to set some environment variables that if not set can cause test failures in particular environments. PR: 200994 Approved by: portmgr (delphij) Added: branches/2015Q4/www/py-django-mezzanine/files/ - copied from r400443, head/www/py-django-mezzanine/files/ Modified: branches/2015Q4/www/py-django-mezzanine/Makefile Directory Properties: branches/2015Q4/ (props changed) Modified: branches/2015Q4/www/py-django-mezzanine/Makefile ============================================================================== --- branches/2015Q4/www/py-django-mezzanine/Makefile Thu Oct 29 06:38:42 2015 (r400443) +++ branches/2015Q4/www/py-django-mezzanine/Makefile Thu Oct 29 08:04:50 2015 (r400444) @@ -3,7 +3,7 @@ PORTNAME= django-mezzanine PORTVERSION= 3.1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,24 +15,26 @@ COMMENT= Content management platform bui LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>1.6:${PORTSDIR}/www/py-django \ - ${PYTHON_PKGNAMEPREFIX}django-contrib-comments>0:${PORTSDIR}/www/py-django-contrib-comments \ +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django16 \ + ${PYTHON_PKGNAMEPREFIX}django-mezzanine-filebrowser>=0.3.4:${PORTSDIR}/www/py-django-mezzanine-filebrowser \ + ${PYTHON_PKGNAMEPREFIX}django-mezzanine-grappelli>=0.3.12:${PORTSDIR}/www/py-django-mezzanine-grappelli \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>=1.0:${PORTSDIR}/devel/py-tzlocal \ ${PYTHON_PKGNAMEPREFIX}bleach>=1.4:${PORTSDIR}/www/py-bleach \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.1.3:${PORTSDIR}/www/py-beautifulsoup \ - ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet \ - ${PYTHON_PKGNAMEPREFIX}future>=0.9.0:${PORTSDIR}/devel/py-future \ - ${PYTHON_PKGNAMEPREFIX}pillow>=1.3.1:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_PKGNAMEPREFIX}requests>=2.1.0:${PORTSDIR}/www/py-requests \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.4:${PORTSDIR}/www/py-requests-oauthlib \ + ${PYTHON_PKGNAMEPREFIX}future>=0.9.0:${PORTSDIR}/devel/py-future \ + ${PYTHON_PKGNAMEPREFIX}pillow>=1.3.1:${PORTSDIR}/graphics/py-pillow \ + ${PYTHON_PKGNAMEPREFIX}django-contrib-comments>0:${PORTSDIR}/www/py-django-contrib-comments \ ${PYTHON_PKGNAMEPREFIX}south>=0.7.3:${PORTSDIR}/databases/py-south \ - ${PYTHON_PKGNAMEPREFIX}tzlocal>=1.0:${PORTSDIR}/devel/py-tzlocal \ - ${PYTHON_PKGNAMEPREFIX}django-mezzanine-filebrowser>=0.3.4:${PORTSDIR}/www/py-django-mezzanine-filebrowser \ - ${PYTHON_PKGNAMEPREFIX}django-mezzanine-grappelli>=0.3.12:${PORTSDIR}/www/py-django-mezzanine-grappelli + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pep8>=1.4.1:${PORTSDIR}/devel/pep8 \ + ${PYTHON_PKGNAMEPREFIX}pyflakes>=0.6.1:${PORTSDIR}/devel/py-pyflakes USES= gettext python USE_PYTHON= autoplist distutils -regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test +do-test: + @cd ${WRKSRC} && ${SETENV} TZ=UTC LC_ALL=en_US.UTF-8 ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include