From owner-svn-ports-all@FreeBSD.ORG Sun Feb 9 10:52:41 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9EBA3A8; Sun, 9 Feb 2014 10:52:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A30421A10; Sun, 9 Feb 2014 10:52:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s19AqfJf068149; Sun, 9 Feb 2014 10:52:41 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s19AqfoC068148; Sun, 9 Feb 2014 10:52:41 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201402091052.s19AqfoC068148@svn.freebsd.org> From: Kubilay Kocak Date: Sun, 9 Feb 2014 10:52:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343455 - in head/devel/py-mock: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 10:52:41 -0000 Author: koobs Date: Sun Feb 9 10:52:41 2014 New Revision: 343455 URL: http://svnweb.freebsd.org/changeset/ports/343455 QAT: https://qat.redports.org/buildarchive/r343455/ Log: devel/py-mock: Modernise: AUTOPLIST, STAGE, LICENSE & more - Enable STAGE support - Enable AUTOPLIST support, delete pkg-plist - Update LICENSE (BSD2CLAUSE) - Use OPTIONS helpers - Deprecate easy_install, delete setup.py patch - Deprecate OPTIONSFILE override - Remove py3k-fix-pkg-plist.inc Approved by: portmgr (blanket) Deleted: head/devel/py-mock/files/ head/devel/py-mock/pkg-plist Modified: head/devel/py-mock/Makefile Modified: head/devel/py-mock/Makefile ============================================================================== --- head/devel/py-mock/Makefile Sun Feb 9 10:48:30 2014 (r343454) +++ head/devel/py-mock/Makefile Sun Feb 9 10:52:41 2014 (r343455) @@ -10,25 +10,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jessekempf@gmail.com COMMENT= Mock unit tests for Python -LICENSE= BSD +LICENSE= BSD2CLAUSE OPTIONS_DEFINE= TESTS TESTS_DESC= Install tox for running unit tests -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options -# Python3 ready USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes -NO_STAGE= yes -.include +TESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:${PORTSDIR}/devel/py-tox -.if ${PORT_OPTIONS:MTESTS} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tox>0:${PORTSDIR}/devel/py-tox -.endif - -.if ${PYTHON_REL} >= 320 -.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" -.endif - -.include +.include