Date: Sun, 2 Dec 2012 10:39:45 +0000 (UTC) From: Ruslan Mahmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308094 - in head/devel/py-mock: . files Message-ID: <201212021039.qB2Adjx9044785@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Sun Dec 2 10:39:45 2012 New Revision: 308094 URL: http://svnweb.freebsd.org/changeset/ports/308094 Log: - update to 1.0.1 - add OPTIONS for unit test support - patch setup.py to install the egg uncompressed - use a pkg-plist instead of PLIST_FILES - restore creator to Makefile header and use new convention - fix plist for python >= 3.2 PR: 172592 Submitted by: Kubilay Kocak <koobs.freebsd@gmail.com> Approved by: maintainer timeout (1 month+) Feature safe: yes Added: head/devel/py-mock/files/ head/devel/py-mock/files/patch-setup.py (contents, props changed) Modified: head/devel/py-mock/Makefile head/devel/py-mock/distinfo Modified: head/devel/py-mock/Makefile ============================================================================== --- head/devel/py-mock/Makefile Sun Dec 2 10:18:18 2012 (r308093) +++ head/devel/py-mock/Makefile Sun Dec 2 10:39:45 2012 (r308094) @@ -1,8 +1,8 @@ +# Created by: jessekempf@gmail.com # $FreeBSD$ PORTNAME= mock -PORTVERSION= 0.8.0 -PORTREVISION= 1 +PORTVERSION= 1.0.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +12,22 @@ COMMENT= Mock unit tests for Python LICENSE= BSD -PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install tox for running unit tests +OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options # Python3 ready -USE_PYTHON= yes +USE_PYTHON= yes USE_PYDISTUTILS= easy_install -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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> Modified: head/devel/py-mock/distinfo ============================================================================== --- head/devel/py-mock/distinfo Sun Dec 2 10:18:18 2012 (r308093) +++ head/devel/py-mock/distinfo Sun Dec 2 10:39:45 2012 (r308094) @@ -1,2 +1,2 @@ -SHA256 (mock-0.8.0.tar.gz) = 96fa4def4e80200be827c3f51147dd7b3fa8873b9207e3325d47ba45bf29a5c1 -SIZE (mock-0.8.0.tar.gz) = 749663 +SHA256 (mock-1.0.1.tar.gz) = b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f +SIZE (mock-1.0.1.tar.gz) = 818644 Added: head/devel/py-mock/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mock/files/patch-setup.py Sun Dec 2 10:39:45 2012 (r308094) @@ -0,0 +1,10 @@ +--- ./setup.py.orig 2012-10-09 20:11:41.000000000 +1100 ++++ ./setup.py 2012-10-09 20:11:26.000000000 +1100 +@@ -59,6 +59,7 @@ + keywords=KEYWORDS, + url=URL, + classifiers=CLASSIFIERS, ++ zip_safe=False, + ) + + try:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212021039.qB2Adjx9044785>