Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 10:52:41 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
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
Message-ID:  <201402091052.s19AqfoC068148@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>



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