Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 19:51:01 +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: r304119 - head/devel/py-mock
Message-ID:  <201209111951.q8BJp1Bv019928@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Sep 11 19:51:00 2012
New Revision: 304119
URL: http://svn.freebsd.org/changeset/ports/304119

Log:
  - switch to setuptools
  - bump PORTREVISION because of dependency change
  
  while here:
  - strip Makefile header
  - add license (BSD)
  - move pkg-plist contents to PLIST_FILES
  - mark it python 3 ready
  - tab -> space in pkg-descr:WWW
  
  PR:		170127
  Reported by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
  Approved by:	maintainer timeout (>1 month)

Deleted:
  head/devel/py-mock/pkg-plist
Modified:
  head/devel/py-mock/Makefile
  head/devel/py-mock/pkg-descr

Modified: head/devel/py-mock/Makefile
==============================================================================
--- head/devel/py-mock/Makefile	Tue Sep 11 19:37:28 2012	(r304118)
+++ head/devel/py-mock/Makefile	Tue Sep 11 19:51:00 2012	(r304119)
@@ -1,11 +1,8 @@
-# New ports collection makefile for: mock
-# Date created: 7 Jul 2010
-# Whom:			jessekempf@gmail.com
 # $FreeBSD$
-#
 
 PORTNAME=	mock
 PORTVERSION=	0.8.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +10,12 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	jessekempf@gmail.com
 COMMENT=	Mock unit tests for Python
 
+LICENSE=	BSD
+
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+# Python3 ready
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
+USE_PYDISTUTILS=	easy_install
 
 .include <bsd.port.mk>

Modified: head/devel/py-mock/pkg-descr
==============================================================================
--- head/devel/py-mock/pkg-descr	Tue Sep 11 19:37:28 2012	(r304118)
+++ head/devel/py-mock/pkg-descr	Tue Sep 11 19:51:00 2012	(r304119)
@@ -6,4 +6,4 @@ After performing an action, you can make
 attributes were used and arguments they were called with. You can also specify
 return values and set needed attributes in the normal way.
 
-WWW:	http://pypi.python.org/pypi/mock
+WWW: http://pypi.python.org/pypi/mock



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